-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debugbar is not displaying in Laravel 5 #313
Comments
What kind of error do you get on those assets? Do you have a catch all route? |
Both assets return a 404 not found error. There are no catch all routes. This is a fresh install of L5, the only customization was adding debugbar, everything else is in a default state. |
I'm dealing with the same issue on L5, set the debug to true and no debug is shown for example on a non-existing route... And gives me 404 no data to display. |
Same problem for me. Fresh install of Laravel, just one route for '/' but the debug bar doesn't load. |
Fuck, never mind. I solved my issue by doing |
Hi. |
Unfortunately php artisan config:clear didn't resolve my issue, and I've verified that rewrite is enabled. I've tested on two systems, both using https://github.com/bryannielsen/Laravel4-Vagrant - Ubuntu 12.04 with PHP 5.5.12 and Apache 2.4.6. Both load the welcome page, but fail to load the debugbar assets of a fresh Laravel 5 project. As far as I can recall, my vagrant VM hasn't changed. Laravel 5 projects created weeks ago still load the debugbar, only new projects fail. I've decided to migrate to Homestead. Testing with a fresh install of Laravel 5.0.16 displays the debugbar, and so do my previously created projects. |
It was most likely the L5 routing cache. I was having the same problem, |
I'm running Laravel 5.0.25 as a standalone (using
Refreshed and all was good. Since I had already tried |
I'm running Laravel 5 and I was having the same problems. It is working on Windows and when I transfer it on my Ubuntu laptop it is now stop working. I already tried the above solution but still it is not working. I checked on the /storage/debugbar/ and the generated file is in this permission: -rw-r--r--. |
It's now working, it is the apache2 setup/configuration. Need to enable the mod_rewrite and read the .htaccess file. |
Same issue exists. |
3 similar comments
Same issue exists. |
Same issue exists. |
Same issue exists. |
So all you guys aren't caching the routes/config, not catch-all routes? And you get a 404 error on the assets? |
I try this commands: php artisan cache:clear && php artisan clear-compiled && php artisan view:clear && php artisan route:clear && php artisan config:clear && php artisan debugbar:clear && composer dump && php artisan route:cache And I tried 2.1 and 2.2 with laravel 5.2 My route: |
Also with the latest dev version? |
|
You could better use |
thanks
That's the reason why I got 404 errors. I'll try 2.2.1 when it avaliable |
I was facing the same error, what I did on production is cleared cache:
I was on L5.2 and these commands save me after lot of googling. Hope this helps. |
Adding : |
@maxi032 thanks a lot |
this solves on mine
|
Same issue for me. L5.5 fresh install, no catch all. I forgot toenable mod_rewrite when setting the VPS up This comment reminded me: #313 (comment) Thank You |
tried everything mentioned above, still not working. |
@maxi032 thank You, this helped to me |
I thought this was a Laravel 5.0.16 issue, however I've tested with a fresh install of 5.0.1 with the same results as below. I have a few projects created I believe with 5.0.12, where the debugbar was working. They have been updated to 5.0.16 and still display the debugbar. However new projects are not showing the debugbar.
Testing with a fresh install of Laravel 5.0.16
composer create-project laravel/laravel --prefer-dist
composer require barryvdh/laravel-debugbar
Added to config/app.php
'Barryvdh\Debugbar\ServiceProvider',
'Debugbar' => 'Barryvdh\Debugbar\Facade',
php artisan vendor:publish successfully creates config/debugbar.php
stat -c %a storage/ returns 777
.env
APP_ENV=local
APP_DEBUG=true
The Laravel 5 welcome screen is displayed, however the debugbar is not. Checking view source shows that the debugbar code has been added to the page. The following assets return a 404.
/_debugbar/assets/stylesheets?1426726547
/_debugbar/assets/javascript?1426726547
The text was updated successfully, but these errors were encountered: