Support the ongoing development of Laravel.io →
Installation Configuration
Last updated 2 years ago.
0

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.

Last updated 2 years ago.
0

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.

Last updated 2 years ago.
0

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?

Last updated 2 years ago.
0

maybe url rewrite mode is unavaible on the host server, it can be a solution. i'll contact the compagny who host my website.

Last updated 2 years ago.
0

To test, try going to domain.com/public and see if you get any action.

Last updated 2 years ago.
0

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 ?

Last updated 2 years ago.
0

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

Last updated 2 years ago.
0

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]
Last updated 2 years ago.
0

Stupid question but have you uploaded the vendor folder too?

Last updated 2 years ago.
0

yes i do.

Last updated 2 years ago.
0

Have you relocated your public folder? At least is not in /test/laravel-master. See: http://barzull.olympe.in/test/laravel-master/.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

barzull barzull Joined 1 Oct 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.