Laravel-debugbar: Non working on laravel 5.5

Created on 28 Jan 2018  路  3Comments  路  Source: barryvdh/laravel-debugbar

I've installed according to instructions but not showing on browser.

APP_DEBUG=true in my .env file
Package has been added as both a Service Provider and a Facade
I have published the config file debugbar.php for the package
Run php artisan cache:clear

Any idea?
Thanks

stale

Most helpful comment

Check your logs at storage/logs/larave.log. I was getting the following with a fresh install of Laravel 5.6

local.ERROR: Debugbar exception: mkdir(): Permission denied

If that's your case...turns out that Degubbar needs to create a folder storage/debugbar but wasn't able because storage permission is 775 by default.
My solution was to change the permission to 777 so that the folder could be created and then change it back to 775.

sudo chmod 777 storage/

All 3 comments

Is this on a clean install of Laravel? It should work out of the box.

If it's not a clean install, then have you tried it on a simple page? How did you determine it isn't working?

Check your logs at storage/logs/larave.log. I was getting the following with a fresh install of Laravel 5.6

local.ERROR: Debugbar exception: mkdir(): Permission denied

If that's your case...turns out that Degubbar needs to create a folder storage/debugbar but wasn't able because storage permission is 775 by default.
My solution was to change the permission to 777 so that the folder could be created and then change it back to 775.

sudo chmod 777 storage/

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If this issue is still present on the latest version of this library on supported Laravel versions, please let us know by replying to this issue so we can investigate further.
Thank you for your contribution! Apologies for any delayed response on our side.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Megachill picture Megachill  路  3Comments

farshadff picture farshadff  路  4Comments

damienfern picture damienfern  路  4Comments

innerdev picture innerdev  路  5Comments

beneverard picture beneverard  路  6Comments