Common Errors - marist-sga/documentation GitHub Wiki
Permissions issues
[2018-10-28 16:17:42] production.ERROR: file_put_contents(/data/sga_webapps/htdocs/sga-website/storage/framework/views/dc7783b7a80eff47b178015a4bf5093e9e2bf22f.php): failed to open stream: Permission denied {"exception":"[object] (ErrorException(code: 0): file_put_contents(/data/sga_webapps/htdocs/sga-website/storage/framework/views/dc7783b7a80eff47b178015a4bf5093e9e2bf22f.php): failed to open stream: Permission denied at /data/sga_webapps/htdocs/sga-website/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:122)
[stacktrace]
sudo chmod -R 777 .
from sga-website
or whatever root project folder. This will change the permissions so that everything within the folders can be written and read by every user.
composer dump-autoload
php artisan cache:clear
php artisan view:clear