I was wondering if anyone can help me. I just setup my first vanilla forum. Whenever I try to use a different theme other than the default, which includes mobile, embed-friendly, and the ones I downloaded from vanilla I get the following error message.
Fatal Error in PHP.trigger_error(); Smarty error: the $compile_dir '/hermes/waloraweb008/b1127/moo.misfitvap3rscom/discussion/vanillaforums/cache/Smarty/compile' does not exist, or is not a directory. The error occurred on or near: /path/to/discussion/vanillaforums/library/vendors/Smarty-2.6.25/libs/Smarty.class.php
Variables in local scope:
[error_msg] 'the $compile_dir \'/hermes/waloraweb008/b1127/moo.misfitvap3rscom/discussion/vanillaforums/cache/Smarty/compile\' does not exist, or is not a directory.'
[error_type] 256
I've tried all the trouble-shooting steps and can't seem to figure out what I am doing wrong. Any help is appreciated. Thank you
[error_msg] 'the $compile_dir \'/hermes/waloraweb008/b1127/moo.misfitvap3rscom/discussion/vanillaforums/cache/Smarty/compile\' does not exist, or is not a directory.'
create
Smarty/compile
and
Smarty/cache
if they don't exist
I gave them 777 permissions.
factoid: Most questions have been previously answered, try the search box first, please provide your Vanilla version Number!
Peregrine's Addons - donations gladly accepted for "successful solutions" and addons - kind of like tipping a waiter at a restaurant
Answers
Is smarty writeable ?
I think theres a compile folder that needs to be 777 ,not sure
422 Real Estate Australia , now open Check it out
- Spam
- Abuse
1 · Insightful 1Awesome LOL ·yes it is @422 in this directory /discussion/vanillaforums/library/vendors
- Spam
- Abuse
0 · Insightful Awesome LOL ·I checked here discussion/vanillaforums/cache/Smarty/compile' does not exist, or is not a directory.
and I don't have a smarty/compile
could that be the problem?
- Spam
- Abuse
1 · Insightful 1Awesome LOL ·added Smarty/compile added Smarty/cache
gave all 777 permissions
Instead of error message I am getting "page not found"
is that progress? When I go to my dashboard and hit preview on the computer, the preview is showing up on the computer but not on my mobile.
- Spam
- Abuse
0 · Insightful Awesome LOL ·.
- Spam
- Abuse
0 · Insightful Awesome LOL ·whats that saying "progress makes perfect". keep practicing.
isn't there a mobile friendly theme?
factoid: Most questions have been previously answered, try the search box first, please provide your Vanilla version Number!
Peregrine's Addons - donations gladly accepted for "successful solutions" and addons - kind of like tipping a waiter at a restaurant
- Spam
- Abuse
2 · Insightful 2Awesome LOL ·the good news is I got mobile to work. thank you for your help. However it is the default theme and not the mobile theme.
I have my config.php setup as
$Configuration['Garden']['MobileTheme'] = 'True';
- Spam
- Abuse
0 · Insightful Awesome LOL ·May sound stupid, are you testing mobile theme on a mobile device or on computer.
Could be a cache issue
422 Real Estate Australia , now open Check it out
- Spam
- Abuse
2 · Insightful 2Awesome LOL ·testing it on my droid bionic while I'm sitting in front of the computer messing around with Vanilla
- Spam
- Abuse
0 · Insightful Awesome LOL ·Thank you for both your help. I appreciate it.
- Spam
- Abuse
2 · Insightful 2Awesome LOL ·Does that mean that you almost got it resolved, Will you let us know if you've resolved the problem? It might be something for the Vanilla Wiki.
What to do if I get a Bonk Error?
Vanilla Wiki : Join and help edit our Wiki! | View all Vanilla issues on GitHub | Report a new Vanilla issue on GitHub
Deploying a new Forum and adding a Theme | Give thanks to the Vanilla Developers!
- Spam
- Abuse
1 · Insightful 1Awesome LOL ·This is what I did to resolve my problem. For some reason the /cache directory didn't have Smarty/compile. I created that and changed the permissions to 777 permission and was still getting the bonked error. I then created the Smarty/cache with 777 permissions and it started working.
- Spam
- Abuse
1 · Insightful 1Awesome LOL ·I still can't seem to get the mobile theme on my phone. I have this in my config.php
$Configuration['Garden']['MobileTheme'] = 'True';
- Spam
- Abuse
0 · Insightful Awesome LOL ·Good that you got the first point resolved. Bonks are always a bit nasty.
The second point, let me see if I understand it right : Your own theme needs to be shown on your mobile phone (and other mobile devices), right?
What I would do is get the actual mobile theme and compare that to my own theme. The other thing I would do is ask @422 if he had his medicine yet ;-) (and see if he can help you resolve the problem)
What to do if I get a Bonk Error?
Vanilla Wiki : Join and help edit our Wiki! | View all Vanilla issues on GitHub | Report a new Vanilla issue on GitHub
Deploying a new Forum and adding a Theme | Give thanks to the Vanilla Developers!
- Spam
- Abuse
1 · Insightful 1Awesome LOL ·I'm using the Vanilla Defaultversion 1.0by Todd Burry Vanilla Grey Theme. When I go on my mobile it shows as the default theme by Vanilla. Was hoping for the mobile theme when I on my cell with the option to get the full site.
- Spam
- Abuse
0 · Insightful Awesome LOL ·I dont touch mobile them, or indeed have ever looked at them. Sounds like your mobile phone is not detecting the css file for your theme. Perhaps, try pointing your mobile device directly at yoursite.com/themes/mobilefriendly/ whatever the url is and see if it picks it up.
422 Real Estate Australia , now open Check it out
- Spam
- Abuse
0 · Insightful Awesome LOL ·just tried yoursite.com/themes/mobilefriendly/
got page not found.
=(
- Spam
- Abuse
0 · Insightful Awesome LOL ·Its not something i have tried, i will be in office soon and will try.
422 Real Estate Australia , now open Check it out
- Spam
- Abuse
0 · Insightful Awesome LOL ·thanks for the help @422 and everyone else
- Spam
- Abuse
0 · Insightful Awesome LOL ·makes it easy for this noob
- Spam
- Abuse
0 · Insightful Awesome LOL ·Whilst you wait, please goto vanillaskins.com/downloads/ and download the Display my configuration file.
Unzip and read the readme.
Post your results back here
422 Real Estate Australia , now open Check it out
- Spam
- Abuse
0 · Insightful Awesome LOL ·$Configuration['Garden']['MobileTheme'] = 'mobile';Which is on by default
$Configuration['Garden']['MobileTheme'] = TRUE;isn't a theme.
Don't PM about development, I'm not currently taking on clients.
grep is your friend.
- Spam
- Abuse
3 · Insightful 3Awesome LOL ·And now I feel like a total noob. @x00, thank you! That work!
- Spam
- Abuse
0 · Insightful Awesome LOL ·mate I feel like a NOOB every 6 minutes lol !
422 Real Estate Australia , now open Check it out
- Spam
- Abuse
2 · Insightful 2Awesome LOL ·