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.
Vanilla on mobile phones?
Maybe I have missed something, but my iPhone cannot reach the vanilla forums on my site. It just gives me the "bonk" error. I have been looking around and see that some people have kind of brought it up, but never finished the discussion. Anyway, is there something I have to do to allow the forums on my mobile phones?
Tagged:
0
Answers
I'm sure more info will get you better help
But I did try to enable the 2 other themes supplied and they give me the "bonk" error message.
Not sure if it helps you or which if the 2 fixes actually helped me , but I'm all set now
I haven't done anything funky or else...
When I try to see my forum in my iPhone I only get a Bonk Message.
Any ideas?
$Configuration['Garden']['MobileTheme'] = 'Default';
That will stop it from using the special mobile theme, which must be where the issue is. Doesn't help resolve the underlying issue, though. If you want to help by debugging, put this in your config instead:
$Configuration['Garden']['Errors']['MasterView'] = 'deverror.master.php';
Then you'll see a technical error message rather than 'Bonk' and can paste the contents here for more help.
Themes work fine on the desktop, but produce 'Bonk' errors on mobile.
My forum is being served up using a subdomain (ie. not 'www.mysite.com') - could that be causing the problem somehow?
I'm guessing there's something strange happening at a system/config level, as you'd expect the 'web' to work (in some form) regardless of platform...?
In my case it turned out to be a permissions issue on the cache/Smarty/compile directory on the server. Once I gave that directory full read/write permissions (777) the mobile themes started working.
I'm not sure whether this permissions change poses any significant security risks... I'd appreciate any thoughts on this from those with more knowledge about this sort of thing!
Oh, and also Lincoln's other suggestion of adding:
$Configuration['Garden']['MobileTheme'] = 'Default';
to config.php also worked... even without altering the cache/Smarty/compile permissions.
Thanks Lincoln!
the risk to exposing cache isn't significant at all. even attempting to view the smarty cache entries directly results in a page not found, but you can also hide the folder from view.
grep is your friend.
works fine on iphones and others, just not the HTC ones...
I have made the same above adjustments to no avail...any possible ideas?
thank you in advance for any help...
I'm also having this problem and I'm not quite confident in using the 777 thing discussed in the forum.
I only just installed my first Vanilla forum (in Bluehost) a few days ago and most functionality is fine and as expected including plugins; apart from, viewing my forum on a mobile (Google Nexus in this case) I get the "bonk" and I also get the "bonk" when trying to change or preview a new theme via the dashboard. I need to go back to the default for the "bonk" to go.
Now, I'm obviously no IT genious but I can handle a bit of tech; however, I've been unable to solve this issue so far from reading anything online hence this post for HELP.
BTW, I really like the general format of Vanilla forums - funky.
Cheers
Ok, I tried 777 for the Smarty cache on my server and it made no difference.
Then, I tried Lincoln's temporary fix and now I can finally see the forum on my mobile (no bonk) but it is the desktop version, which isn't ideal for a phone screen but when you can't find a better solution - it's better than nothing.
I believe you have to use a theme that supports the mobile function. what theme are you using? and what mobile device are you testing on?
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
also did you try it with this
$Configuration['Garden']['MobileTheme'] = 'mobile';
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Right - I found the soultion over here: vanillaforums.org/discussion/comment/155906/#Comment_155906
My cache didn't create the "Smarty" folder on install so just create it manually.