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.
Forum fails to load on page reload
I have been testing embedding Vanilla in a WordPress blog and I have to say it looks great, with the exception of one problem. If I reload the page without interacting with the forum then everything is fine. However, if I reload the page while I'm using the embedded forum (e.g I'm at url site.com/forum/#/activity) then the resulting reload has the WordPress blog embedded in the WordPress blog where the forum should be and the forum does not load. Suggestions?
1
Comments
Vanilla Forums COO [GitHub, Twitter, About.me]
It looks like the plugin is trying to access the forum as if rewrite urls is turned on, but it is actually turned off. For example, if I go to the forum itself and then click on "activity", I am sent to this url:
http://www.domain.com/forum/index.php?p=/activity
When rewrite urls is turned on, it would instead send you to this url:
http://www.domain.com/forum/activity
The plugin is trying to send me to the second url when I refresh the page, so it is breaking and showing me a page-not-found page.
We will implement a fix so that the plugin respects non-rewritten urls, but an immediate fix is to set up rewrite urls for his forum. This should be a simple matter of making sure that the .htaccess file that comes with Vanilla is sitting in the forum folder (http://www.domain.com/forum/) and Apache is configured to allow it to be used.
https://github.com/vanillaforums/Garden/commit/3ea83e823c1a89db635453e0822da97f49eb71e8
If anyone else runs into this problem before the release goes out, just make the changes in the remote.js file shown on the link above.
url looks something like:
http://foo.example.com//vanilla/index.php?p=/index.php?p=/discussions
i remember i had also something with
http://*****&remote=http://foo.example.com/forum
Ubuntu 10.x
i deleted the patch and reverts to 2.0.15 from remote.js and everything works like a charm
I am having the same refresh problem. My forum's url is forum.policyworks.com. I am hosting a customer session in about 1 hour. I have viewed the remote.js file online and it appears to be okay. The php file appears to be blank (nothing shows when I view source).
I don't know much about what I'm doing, so any help would be much appreciated.
Steve