Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
[SOLVED] Blank page with any non-default theme
Hi everyone.
I've set up a vanilla forum (latest version) using the new embed feature with my wordpress site. On the development server (my home machine) everything works fine.
On the fresh install I just did on my host, I get a blank screen if I change the default theme to the embed friendly version (or any other theme). Any ideas what could be causing this? Like I said, it displays fine with the default theme.
I've set up a vanilla forum (latest version) using the new embed feature with my wordpress site. On the development server (my home machine) everything works fine.
On the fresh install I just did on my host, I get a blank screen if I change the default theme to the embed friendly version (or any other theme). Any ideas what could be causing this? Like I said, it displays fine with the default theme.
0
Comments
- go to you /cache directory
- create a "Smarty" dir if it doesn't exist
- inside the "Smarty" dir, create a "compile" dir
- be sure to chmod 777 those new directories
If this doesn't work:
- what do you mean by "blank page"? An absolutely empty page? No *Bonk*?
- change
$Configuration['Garden']['Errors']['MasterView'] = 'error.master.php';
to$Configuration['Garden']['Errors']['MasterView'] = 'deverror.master.php';
in your conf/config.php, and tell us if you see anythingI get an "operation not permitted" when I attempt to chmod that directory (using FileZilla). Upon closer inspection it seems that the owner is not me...strange.
At any rate, those directories DO exist.
By blank page I mean totally blank. No output whatsoever (nothing hidden in the source). Nothing changes when I modify that configuration variable either.
Interestingly enough, I couldnt modify conf/config.php at first, because it too was owned by someone else. I had to rename it to accomplish what you suggested.
Do you think these problems are related?
Thank you again for your help.
Can anyone explain how or why the cache and config files had different ownership, which I could not change?
Thanks.
You should also try to activate the Debugger plugin, and see if the page is still blank.
Good luck!
I guess that those directories and files have been created by the application, which is run by Apache, so the owner may be Apache (that's why you couldn't change them), and if the permissions are not set properly, well, there's a problem.
Vanilla comes with a cache/ and conf/ folder internally, which should mean that those folders retain your ownership, but their contents maybe be owned by the server.
At any rate, it sounds like a simple permission problem and I'm glad you were able to fix it. In the future, if you have a totally blank screen you can try adding:
define('DEBUG',TRUE);
to somewhere near the top of your index.php file. This should turn on all errors and allow you to get more specific error information.Vanilla Forums COO [GitHub, Twitter, About.me]