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.

Fixed a bug in the core

edited March 2011 in Vanilla 2.0 - 2.8
I installed Vanilla 2 and integrated it with WordPress. I renamed the directory that holds Vanilla from 'vanilla' to 'forum.'

I could do most things, but after deleting a discussion I got forwarded to the Bonk page. I turned on verbose warnings and figured out that applications/vanilla/controllers/class.discussioncontroller.php has the directory hard coded.

Line 542 was:

$this->RedirectUrl = GetIncomingValue('Target', '/vanilla/discussions');

And it worked after changing it to:

$this->RedirectUrl = GetIncomingValue('Target', '/forum/');



Best,
Zinko
Tagged:

Comments

  • lucluc ✭✭
    That's not the directory, that's part of the url.
Sign In or Register to comment.