have you got reportin errors/display errors turned on or off? turn them on.. check the logs to see if there is an error there..
Thanks for the nudge shez1983!
Checked the log files and found this:
[Tue Jul 28 12:14:30.489425 2015] [:error] [pid 19072] [client 84.92.213.183:57651] PHP Fatal error: Uncaught exception 'UnexpectedValueException' with message 'The stream or file "/var/www/laravel-with-admin-lte/storage/logs/laravel.log" could not be opened: failed to open stream: Permission denied' in /var/www/laravel-with-admin-lte/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:95\nStack trace:\n#0 /var/www/laravel-with-admin-lte/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(37): Monolog\\Handler\\StreamHandler->write(Array)\n#1 /var/www/laravel-with-admin-lte/vendor/monolog/monolog/src/Monolog/Logger.php(269): Monolog\\Handler\\AbstractProcessingHandler->handle(Array)\n#2 /var/www/laravel-with-admin-lte/vendor/monolog/monolog/src/Monolog/Logger.php(545): Monolog\\Logger->addRecord(400, Object(ErrorException), Array)\n#3 /var/www/laravel-with-admin-lte/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(49): Monolog\\Logger->error(Object(ErrorException))\n#4 /var/www/laravel-with-admin-lte/app/Exceptions/Handler.php(30): Illuminate\\Foundation\\Exceptions\\H in /var/www/laravel-with-admin-lte/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php on line 95 [Tue Jul 28 12:14:30.496787 2015] [:error] [pid 19072] [client 84.92.213.183:57651] PHP Fatal error: Uncaught exception 'UnexpectedValueException' with message 'The stream or file "/var/www/laravel-with-admin-lte/storage/logs/laravel.log" could not be opened: failed to open stream: Permission denied' in /var/www/laravel-with-admin-lte/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:95\nStack trace:\n#0 /var/www/laravel-with-admin-lte/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(37): Monolog\\Handler\\StreamHandler->write(Array)\n#1 /var/www/laravel-with-admin-lte/vendor/monolog/monolog/src/Monolog/Logger.php(269): Monolog\\Handler\\AbstractProcessingHandler->handle(Array)\n#2 /var/www/laravel-with-admin-lte/vendor/monolog/monolog/src/Monolog/Logger.php(545): Monolog\\Logger->addRecord(400, Object(Symfony\\Component\\Debug\\Exception\\FatalErrorException), Array)\n#3 /var/www/laravel-with-admin-lte/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(49): Monolog\\Logger->error(Object(Symfony\\Component\\Debug\\Exception\\FatalErrorException))\n#4 /var/www/laravel-wit in /var/www/laravel-with-admin-lte/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php on line 95
Changed the permissions of the dir to the web user and now it works!
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community