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

2.0.18b4: Vanilla silently Bonks and won't enter debug mode with missing Smarty cache #1108

Closed
Gillingham opened this issue Sep 17, 2011 · 10 comments

Comments

@Gillingham
Copy link

If the cache/Smarty/compile directory does not exist vanilla will always just give you a bonk page even if you add the Debug flag into the config file.

This gives you no indication whatsoever of what is causing the bonk. If I recall correctly at least previous version might have complained about the missing directory.

@linc
Copy link
Contributor

linc commented Sep 17, 2011

Are you sure it didn't only complain during initial install, not upgrade?

Good report, thanks for digging into this.

@Gillingham
Copy link
Author

It's possible it only complained during install, I don't clearly remember.

@Gillingham
Copy link
Author

Wrong button I guess

@linc
Copy link
Contributor

linc commented Sep 19, 2011

Hm, this is probably going to introduce a bunch of new code into Vanilla because this stuff is all in the Smarty library, and Vanilla is distributed with that folder already in place, so you'd have to specifically delete that folder to cause this error. Given all that I'm going to bump this to the 2.1 milestone not the latest release.

@Gillingham
Copy link
Author

Note that this issue can be triggered by the php process not having access to the folders or it not-existing at all. The former I think may be common during installation with people who use different users to run php or their webserver.

@linc
Copy link
Contributor

linc commented Sep 19, 2011

But because it's in the /cache folder they'll find that out during initial install - the install halts without write access to the cache, conf, and uploads folders.

@Gillingham
Copy link
Author

I should have said upgrade or installation.

@Gillingham
Copy link
Author

Perhaps just have the dashboard upgrade check for permissions just as install? The dashboard actually works fine for me when encountering this bug, you only get the Bonk page when viewing the actual forum.

@linc
Copy link
Contributor

linc commented Sep 19, 2011

Yes, I wasn't saying it wouldn't be fixed, just said it probably wasn't going to get into this point release is all.

@x00
Copy link
Contributor

x00 commented Sep 22, 2011

Smarty gets so little use, and the custom functions don't create themselves.

I'm to blame for suggesting it to mark in the first place. Back then I was obsessed with separation of concerns. Sorry.

@ghost ghost assigned linc Nov 15, 2011
@linc linc closed this as completed Aug 24, 2013
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

3 participants