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.
Can't add new themes without Bonk message appearing
I've successfully installed Vanilla 2 but cannot change to another theme (several installed and even the pre-installed Embed theme won't function).
Is this a permissions issue? (No instructions are available in the documentation...)
Or something else?
Thanks
Is this a permissions issue? (No instructions are available in the documentation...)
Or something else?
Thanks
Tagged:
1
Comments
$Configuration['Garden']['Errors']['MasterView'] = 'deverror.master.php';
and then let us know what you get.
/cd
This time online I get the error message:
Fatal Error in PHP.trigger_error();
Smarty error: the $compile_dir '/home/*****/public_html/vanillaforums-Garden-8225188/cache/Smarty/compile' does not exist, or is not a directory.
The error occurred on or near: /home/*****/public_html/vanillaforums-Garden-8225188/library/vendors/Smarty-2.6.25/libs/Smarty.class.php
(where * is my change for anonymity)
However, I've made no change to the file structure or seen any instructions to make a file 'compile'...
Has some php instruction not taken place or do I need to just make a file or folder?
Thanks, Tim
http://vanillaforums.org/discussion/comment/128337/#Comment_128337
Vanilla Forums COO [GitHub, Twitter, About.me]
The cache/ folder is intended to be a place where the webserver is allowed to write temporary files. The reason you yourself cannot modify the cache/Smarty/ folder is because the webserver created the folder. You'll not have permission.
The reason I suggested deleting your cache/ folder's .ini files is because it looks like the temporary unzip folder name "vanillaforums-Garden-8225188" is still being used in paths. I found it hard to believe that you are still using that in a URL, hence my assumption that your cache entries were out of date.
So, is "vanillaforums-Garden-8225188" in your URLs?
Vanilla Forums COO [GitHub, Twitter, About.me]
You do not explain - "I found it hard to believe that you are still using that in a URL" - it's not a question of belief. I just have done a standard install of Vanilla, the Embed plugin, and a few themes. The install seemed to go ahead fine and I have no reason to assume anything was wrong until I tired changing the theme.
Only the default theme works, and it does (when I place back that line in the config file, if ugly blue), and the error with that line removed is as described.
I managed to add a file to the Cache but not Smarty - it was the Dan above that suggested this (and I said it didn't seem logical).
I may need to change the permissions back for the cache file after several attempts but you don't explain yourself (and the Documentation is AWOL).
The base URL of the forum is /vanillaforums-Garden-8225188/ and I have no reason to think this is not the appropriate URL.
Please explain yourself.
Thanks.
Vanilla Forums COO [GitHub, Twitter, About.me]
... and eact same error message when line 31 removed from the config file when another theme is applied....
Vanilla Forums COO [GitHub, Twitter, About.me]
For others who find this, however, you can secure those directories, cache, conf & uploads with proper permissions of 755, as long as they're owned by the apache user, which they will be if PHP creates them. You can write a script so that PHP will create those directories for you, provided the root is set to 777. Once you've run your script, you can change the root back to 755.