-4

I upload my laravel 5.6 project on Linux Server but the website is not running in the browser and I am getting the given error. Please Help.

error

jww
  • 97,681
  • 90
  • 411
  • 885
Abhinav
  • 1
  • 1
  • 2
  • please a look on https://laravel.com/docs/5.6/installation#configuration. In addition this might also help: https://stackoverflow.com/questions/30639174/file-permissions-for-laravel-5-and-others – Tschitsch Aug 16 '18 at 13:46
  • 1
    Please state the errors. The text on the picture is too small to read. In addition, the text cannot be indexed by search engines for future visitors. – jww Aug 16 '18 at 13:47

1 Answers1

1

The framework is unable to create a cache of the views from the looks of the logs. You need to update the permissions on the storage folder.

If the storage folder is owned by a different user to your server software (i.e. user is not www-data), you need to set the permissions using:

chmod -R 777 storage

If the storage folder is owned by www-data (or the appropriate system user for your server software), you can use the less open:

chmod -R 755 storage

If you run into permission issues, you may need to prefix the above commands with sudo.

Niraj Shah
  • 15,087
  • 3
  • 41
  • 60