Question

Laravel 4.1 - blank page

Posted April 7, 2014 6.9k views
I made a new laravel app today (tested it locally and is working), then I pushed it to bitbucket and cloned it on my droplet. After that I did a sudo chmod 777 -R app/storage, but I'm still getting a blank page on the root. My droplet is running Cent OS 6 and other (older) laravel apps are working fine. Any ideas?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
3 answers
How are you serving your apps? Are you seeing anything in the web server's log files (e.g. /var/log/nginx/error.log or /var/log/apache2/error.log)?

After installing laravel in my server .the home page displaying as blank page without any error message.How can i solve it?

In my case there STILL IS a problem with paths:

W Apache error log I see this
[Tue Sep 01 08:20:02.915639 2015] [:error] [pid 18311] [client 101.12.127.169:37789] PHP Warning: require(/var/www/niepozwalam/bootstrap/vendor/autoload.php): failed to open stream: No such file or directory in /var/www/niepozwalam/bootstrap/autoload.php on line 17
[Tue Sep 01 08:20:02.915737 2015] [:error] [pid 18311] [client 101.12.127.169:37789] PHP Fatal error: require(): Failed opening required ’/var/www/niepozwalam/bootstrap/vendor/autoload.php’ (include_path=’.:/usr/share/php:/usr/share/pear’) in /var/www/niepozwalam/bootstrap/autoload.php on line 17

As you see, the path /var/www/niepozwalam/bootstrap/vendor/autoload.php should be related to website root and is not.

I don’t know how to solve this issue

Submit an Answer