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
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!
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
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
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.
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
Problem with forums is lack of proper documentation for developers.
And while we have some starter information, it becomes not so good deeper.
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
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.
Could anyone suggest a similar fix to add the config? I am not sure what the entry after ['Authenticator'] should be or the best target to redirect to - perhaps the 'categories/all'?
Any thoughts? The only way I'm able to get around the issue is to set the homepage to the discussions default. But I really would prefer all categories.