Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Sign out problem

edited December 2008 in Vanilla 1.0 Help
When I click sign out I get this error:

"Not Found

The requested URL /home/xxxx/public_html/vf/people.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."

the url is http://www.xxxx.com/home/yyyyy/public_html/vf/people.php?PostBackAction=SignOutNow&FormPostBackKey=241a62f69a42fe348a9e007514a830e4

I guess it should be http://www.xxxxx.com/vf/people.php?PostBackAction=SignOutNow&FormPostBackKey=241a62f69a42fe348a9e007514a830e4

Any ideas?

Comments

  • Options
    SunyanziSunyanzi New
    edited December 2008
    perhaps url_rewrite will help ..?
  • Options
    edited December 2008
    check /themes/{YOUR_CURRENT_THEME}/menu.php. Looke for something like: if ($this->Context->Session->UserID > 0) { echo str_replace('//1', $this->Context->Session->User->Name, $this->Context->GetDefinition('SignedInAsX')) . ' (<a href="' . FormatStringForDisplay(AppendUrlParameters( $this->Context->Configuration['SIGNOUT_URL'], 'FormPostBackKey=' . $this->Context->Session->GetCsrfValidationKey() )) . '">'.$this->Context->GetDefinition('SignOut').'</a>)'; } else { echo $this->Context->GetDefinition('NotSignedIn') . ' (<a href="' . FormatStringForDisplay(AppendUrlParameters( $this->Context->Configuration['SIGNIN_URL'], 'ReturnUrl='. urlencode(GetRequestUri(0)))) . '">'.$this->Context->GetDefinition('SignIn').'</a>)'; }

    Copy and paste what you've got.
  • Options
    I have a simlar type of issue. When I sign out it goes back to the sign in page. How do I make vanilla go back to my web home page ? By the way I am a complete novice so I will appreciate any help
  • Options
    which theme are you using?
  • Options
    I guess I am using the default theme as I have not changed any settings regarding themes.
  • Options
    What is the value of $Configuration['SIGNOUT_URL'] in conf/settings.php?
  • Options
    edited December 2008
    $Configuration['SIGNOUT_URL'] seems to be a relative to the page by default. It should be relative to domain; add to conf/settings.php:
    $Configuration['SIGNOUT_URL'] = '/vf/people.php?PostBackAction=SignOutNow' ;
  • Options
    Checked conf/settings.php and $Configuration['SIGNOUT_URL'] does not appear in it ? Can we just add it and what should it be ?
  • Options
    edited December 2008
    For a forum at http://example.com/forum/,
    it should be $Configuration['SIGNOUT_URL'] = '/forum/people.php?PostBackAction=SignOutNow' ; or $Configuration['SIGNOUT_URL'] = 'http://example.com/forum/people.php?PostBackAction=SignOutNow' ;

    For a forum at http://example.com/,
    it should be $Configuration['SIGNOUT_URL'] = '/people.php?PostBackAction=SignOutNow' ; or $Configuration['SIGNOUT_URL'] = 'http://example.com/people.php?PostBackAction=SignOutNow' ;
  • Options
    I tried adding the "$Configuration['SIGNOUT_URL']" as above but when a user signs out it goes back to the message where you may sign in again to the forum. WhaI want it to do is to go to a web page on my site and display that and not go back to the forum sign in. Is this posible and how could it be done?
This discussion has been closed.