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.
404 Error when clicking "Sign Out" with categories/all as homepage target
drukargin
New
On a fresh vanilla 2.0.17 install, after changing the homepage target to categories/all, the "Sign Out" button in the top bar redirects the user to
which results in a 404. A comparable result occurs when the homepage target is set to categories/discussion. /discussions and /activity are not affected, and redirect correctly.
Is there a workaround or fix for this that I can apply quickly?
Thanks!
domain.tld/path/index.php?p=/vanilla2/index.php&p=/entry/signout/3SW88EDLT0GR&Target=categories/all
which results in a 404. A comparable result occurs when the homepage target is set to categories/discussion. /discussions and /activity are not affected, and redirect correctly.
Is there a workaround or fix for this that I can apply quickly?
Thanks!
Tagged:
0
Comments
https://github.com/vanillaforums/Garden/issues/issue/769
All problems regarding this possible bug can be found using the tag "404-error"
This link : http://www.vanillaforums.org/discussions/tagged/404-error
There was an error rendering this rich post.
domain.tld/webroot/
When the forum is installed in the root, as in:
domain.tld/
or
sub.domain.tld/
Sign Out works as expected.
domain/index.php?p=/index.php&p=/entry/signout/3AR1IUCZV6R7&Target=categories%2Fall
and it should be going here:
domain/index.php?p=/entry/signout/3AR1IUCZV6R7&Target=categories%2Fall
it seems to be that little bit: "index.php&p=/" that is throwing everything out...if I delete it then all is sweet, but our users wont want to or know to click back and forward everytime they log out...
domain.tld/webroot/
Clicking sign out redirects the user to:
domain.tld/webroot/webroot/entry/signout/{...}
Sorry, realised that it still show this page :-(
add to your config.php
$Configuration['Garden']['Authenticator']['SignOutUrl'] = '/entry/signout/{Session_TransientKey}?Target=discussions';
At least it show discussions list.
Bug can be related to "/" in Target or something else.
Error happens due to some wrong processing.
But i changed the line to:
$Configuration['Garden']['Authenticator']['SignOutUrl'] = '/entry/signout/{Session_TransientKey}';
To return to categories/discussions and it works :-D
Thanx and credits for my moderator joppie!
It is hard to understand why we have Target in this case.
Any official support or support from developers exist here?
As I see that problem remained unsolved for quite a time.
There was an error rendering this rich post.
Problem with forums is lack of proper documentation for developers.
And while we have some starter information, it becomes not so good deeper.
There was an error rendering this rich post.
Most probably that bug is also related to bug with deleted thread redirecting to 404 page.
Looking at it I can see that Mark and few other core developers are actively working on improving Vanilla, fixing bugs, etc.