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.

Undefined index: host

edited December 2009 in Vanilla 2.0 - 2.8
Below is the error dump I get when I go to my vanilla page on my home machine (i.e. http://localhost/xcvanilla/). I am using SSO. The installation was without errors. My thought is that there is no assigned value for $Host. This isn't a terribly brilliant theory, since on the SSO configuration page there is no value assigned to the Vanilla Cookie Domain property. That form field does not allow input so I can't add it. When I installed Vanilla I used "localhost" as my domain, but it doesn't appear to have been saved.

Do you think this is really the problem and is there a way to insert "localhost" as the domain?

Mike

**************
Fatal Error in PHP.ErrorHandler();
Undefined index: host

The error occurred on or near: C:\webs\html\xcvanilla\library\core\class.handshakeauthenticator.php
88: if(is_array($this->_HandshakeData))
89: return $this->_HandshakeData;
90:
91: $UrlParts = parse_url($this->AuthenticateUrl);
92: $Host = $UrlParts['host']; *****highlighted*******
93: $Port = ArrayValue('port', $UrlParts, '80');
94: $Path = $UrlParts['path'];
95: $Referer = Gdn_Url::WebRoot(TRUE);
96: $Query = ArrayValue('query', $UrlParts, '');
Backtrace:
[C:\webs\html\xcvanilla\library\core\functions.error.php:124] PHP::include();
[C:\webs\html\xcvanilla\library\core\class.handshakeauthenticator.php:92] PHP::ErrorHandler();
[C:\webs\html\xcvanilla\library\core\class.handshakeauthenticator.php:172] Gdn_HandshakeAuthenticator->GetHandshakeData();
[C:\webs\html\xcvanilla\library\core\class.session.php:225] Gdn_HandshakeAuthenticator->GetIdentity();
[C:\webs\html\xcvanilla\index.php:30] Gdn_Session->Start();

Comments

  • I have the exact same problem! Has anyone come up with a solution?
  • I've been able to fix this by installing Wordpress 2.9.2 and reinstalling Vanilla + SSO.
Sign In or Register to comment.