Skip to content
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

random whoops page even when debug is true #9824

Closed
astroanu opened this issue Aug 3, 2015 · 14 comments
Closed

random whoops page even when debug is true #9824

astroanu opened this issue Aug 3, 2015 · 14 comments

Comments

@astroanu
Copy link

astroanu commented Aug 3, 2015

I've been having this problem since L5. Sometimes i get directed to this screen even when the debug is true. I dont think it's suppose to do this. There's nothing on the error logs, not in the php error log or the apache error log. If there's any error shouldn't it always be showing up when in development mode? And the most irritating thing is this happens randomly. If i refresh the page it works but next time it does not.

Image of Yaktocat

@astroanu astroanu changed the title random whoops page when debug is true random whoops page even when debug is true Aug 3, 2015
@GrahamCampbell
Copy link
Member

You likely didn't clear the config cache.

@astroanu
Copy link
Author

astroanu commented Aug 3, 2015

but i'm not caching my config files.

@GrahamCampbell
Copy link
Member

Well, you must be.

@GrahamCampbell
Copy link
Member

Go and delete the cached config file.

@astroanu
Copy link
Author

astroanu commented Aug 3, 2015

no i'm not. i think the cache files are stored in \vendor ? i'm using file cache driver and there is no config.php there. will caching the config files get rid of this error ?

@GrahamCampbell
Copy link
Member

Cache files are not stored in vendor, they're stored in bootstrap/cache.

@GrahamCampbell
Copy link
Member

i'm using file cache driver

That's not the cache I mean...

@astroanu
Copy link
Author

astroanu commented Aug 3, 2015

hmm that's weird because if i run config:cache it does make a config.php on the vendor folder. it doesn't make anything on the bootstrap/cache. i don't even have a cache folder in bootstrap :O

so cache setting doesnt have anything to do with caching config files .. 🐙

@GrahamCampbell
Copy link
Member

Are you using L5.0 and not 5.1?

@GrahamCampbell
Copy link
Member

Likely your file permissions are wrong.

@astroanu
Copy link
Author

astroanu commented Aug 3, 2015

i cant update one of my projects to laravel to 5.1 because of the packages i'm using, but others are using 5.1. i even ran an update to make sure it is. the problem persists on both 5 and 5.1
yes file permissions are setup correctly.

@GrahamCampbell
Copy link
Member

We don't support 5.0, sorry.

@GrahamCampbell
Copy link
Member

This isn't a bug in the framework anyway I'm afraid. Please ask on the forums and I'm sure someone can help you out. :)

@astroanu
Copy link
Author

astroanu commented Aug 4, 2015

thanks. i think it HAS something to do with config files. there maybe a latency in reading the .env files and it's causing this.. i'm just guessing. for now i'll just cache the config files. caching did improve the loading time a little bit. let's see if that weird bug goes away.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants