Are you using a database? Is it connected?
If you take a look in /app/storage/logs/laravel.log - Do you have any output in there? Should give you a clue as to what is happening.
yes database is connected,
i have no logs .... i'have tried too with a clean copy of laravel who works in local, but i have the same problem with this clean install.
Is the root of the domain pointing to the public directory?
By the sounds of it, Laravel isn't booting at all. So I would take a look at you server config.
A lot of hosts server the website from public_html. You can't just dump Laravel in there and expect it to work as the primary file that boots the app is index.php in /public.
So you need to make sure that the domain you are using is pointing to /public and not the root of Laravel.
Can you show the structure of the live server? What folders are where?
Are you using Nginx or Apache?
maybe url rewrite mode is unavaible on the host server, it can be a solution. i'll contact the compagny who host my website.
To test, try going to domain.com/public and see if you get any action.
mydomain/public is allways white.
http://food-stash.com/webapp/public/
i found this script to know if rewrite module is on :
<?php if(!function_exists('apache_get_modules') ){ echo "not available"; phpinfo(); exit; } $res = 'Module Unavailable'; if(in_array('mod_rewrite',apache_get_modules())) $res = 'Module Available'; ?> <html> <head> <title>A mod_rewrite availability check !</title></head> <body> <p><?php echo apache_get_version(),"</p><p>mod_rewrite $res"; ?></p> </body> </html>the result of the script : http://food-stash.com/php/test.php
and on the server the answer is than rewrite module isnt working. i think that is my only problem, what do you think about ?
So you are using Apache then. OK, then there is an .htaccess file in the root of Laravel that should sort that for you.
In the .htaccess file you can modify certain server params.
So you need to check to see if that file is in the root of your site. As it starts with a '.', then generally you won't be able to see it on your computer. There are tools to make them visible.
Just make sure that the .htaccess file is in the root of the app and that should sort it out.
Hope that helps
Hi, i contact the host about rewrite , and they tell than to module is working.
but the laravel master still not working at this url : http://barzull.olympe.in/test/laravel-master/public/ and i realy dont know why ;( ????
here my .htaccess :
RewriteEngine On
# Redirect Trailing Slashes...
RewriteRule ^(.*)/$ /$1 [L,R=301]
# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
Stupid question but have you uploaded the vendor folder too?
Have you relocated your public folder? At least is not in /test/laravel-master. See: http://barzull.olympe.in/test/laravel-master/.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community