Latest

Sunday, July 9, 2017

Error 500 after Laravel 5.4 upload

Asked by: Kiyarash


I have a laravel 5.4 app and I did upload this on a shared hosting server and did change .env file...

But I still have error 500

When I use php error reporting, this report will come from server:

Warning: require(/home/axaanir/domains/photobooks.ir/public_html/vendor/composer/../guzzlehttp/psr7/src/functions_include.php): failed to open stream: No such file or directory in /home/axaanir/domains/photobooks.ir/public_html/vendor/composer/autoload_real.php on line 66

Fatal error: require(): Failed opening required '/home/axaanir/domains/photobooks.ir/public_html/vendor/composer/../guzzlehttp/psr7/src/functions_include.php' (include_path='.:/usr/local/php-5.6/lib/php') in /home/axaanir/domains/photobooks.ir/public_html/vendor/composer/autoload_real.php on line 66

But these folder exists on the returned path by server...!!! Does anyone know how should I fix this?

Thanks in advance...


Answers

Answered by: Leo_Kelmendi at 2017-07-09 06:21PM



  1. Make sure you run a composer install on the server.
  2. check you can storage write permission to storage folder
  3. You need to define path to public in your apache configuration to be able to open without public



Source

No comments:

Post a Comment

Adbox