I develop Laravel 5 app on localhost. When I upload app on shared hosting it give me blank white page. I am using PHP Version 5.5.20. mod_rewrite is active on shared hosting. Is there any way to work L5 on shared hosting. storage have the 777 permission and other folder have 755 and 644. Debug mode is set to true. Laravel is not generating any error log file. Apache log is also not showing any error. What may be the problem.
Asked
Active
Viewed 839 times
0
-
Enable debug mode to true from your application configuration and check what error exactly comes. – Alankar More Mar 12 '15 at 10:34
-
@AlankarMore debug mode is already true. Laravel is also not generating any error. – Joginder Sharma Mar 12 '15 at 10:40
-
And please give the reason for down-vote. – Joginder Sharma Mar 12 '15 at 10:43
-
I have not down voted your question. – Alankar More Mar 12 '15 at 10:44
-
Thank you, I have googled it a lot, after that i post it here and people down-vote it without giving any reason. How can I correct my mistake if I have done any. – Joginder Sharma Mar 12 '15 at 10:48
-
I know people came here to correct the errors. But I have not down voted your question. In fact I was trying to help you. – Alankar More Mar 12 '15 at 10:55
-
I don't know laravel, but mostly you get blank pages or http 500 when the error logging is not set in the php.ini. – Krisztián Dudás Mar 12 '15 at 10:56
-
You can check your server logs. – Alankar More Mar 12 '15 at 10:57
-
Mbstring, OpenSSL, Mcrypt PHP extension are enabled ? – Anand Patel Mar 12 '15 at 12:18
-
@AnandPatel Mbstring and Mcrypt PHP are enable but i do not find OpenSSL extention. – Joginder Sharma Mar 12 '15 at 12:22
-
@JoginderSharma read server configuration for laravel http://laravel.com/docs/master#server-requirements – Anand Patel Mar 12 '15 at 12:23
-
same issue this may help you http://stackoverflow.com/questions/20678360/laravel-blank-white-screen – Anand Patel Mar 12 '15 at 12:26
-
@AnandPatel I do not know the reason but delete all file from server. run composer dump-autoload on localhost and upload all files on server again then it work fine. – Joginder Sharma Mar 13 '15 at 05:45
-
ok thats good, i think problem with autoload.php, anyways your problem is solved – Anand Patel Mar 13 '15 at 06:26
1 Answers
0
I do not know the reason but delete all file from server, run
composer dump-autoload
on localhost and upload all files on server again then it work fine.

Joginder Sharma
- 97
- 1
- 8