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.
Options

Vanilla 2 RC1 and Fatal Error in Session.Hash() after installation

edited May 2010 in Vanilla 2.0 - 2.8
The server's salt key has not been configured.
The error occurred on or near: D:\Zend\Apache2\htdocs\vanilla20rc1\library\core\class.cookieidentity.php
121: trigger_error(ErrorMessage("The server's salt key has not been configured.", 'Session', 'Hash'), E_USER_ERROR);


Backtrace:
D:\Zend\Apache2\htdocs\vanilla20rc1\library\core\class.cookieidentity.phpPHP::Gdn_ErrorHandler();
[D:\Zend\Apache2\htdocs\vanilla20rc1\library\core\class.cookieidentity.php:121] PHP::trigger_error();
[D:\Zend\Apache2\htdocs\vanilla20rc1\library\core\class.cookieidentity.php:73] Gdn_CookieIdentity->_Hash();
[D:\Zend\Apache2\htdocs\vanilla20rc1\library\core\class.passwordauthenticator.php:176] Gdn_CookieIdentity->GetIdentity();
[D:\Zend\Apache2\htdocs\vanilla20rc1\library\core\class.session.php:225] Gdn_PasswordAuthenticator->GetIdentity();
[D:\Zend\Apache2\htdocs\vanilla20rc1\index.php:30] Gdn_Session->Start();

Variables in local scope:
[Data] '11276462902'


Additional information for support personnel:

* Application: Vanilla
* Application Version: 2.0 rc1
* PHP Version: 5.2.13
* Operating System: WINNT
* Server Software: Apache/2.2.15 (Win32) mod_ssl/2.2.15 OpenSSL/0.9.8n
* Referer: http://localhost/vanilla20rc1/index.php/dashboard/setup
* User Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.3a4) Gecko/20100407 MozillaDeveloperPreview/3.7a4 (.NET CLR 3.5.30729)
* Request Uri: /vanilla20rc1/index.php/settings
* Controller: Session
* Method: Hash

Comments

  • Options
    lucluc ✭✭
    Well, configure a salt key in the config.php file.
    You should have something like that:
    $Configuration['Garden']['Cookie']['Salt'] = "ghsdygoze"
  • Options
    ah.. Thx for your reply and your hint :)
    I have realized, that after installation, none of configuration from the setup was placed into config.php

    I had only customized only two arrays
    ['Garden']['Installed'] and one of the ['Garden']['Errors']

    Ps. I shouldn't write about this issue here on forum (but on http://github.com/vanillaforums/Garden/issues) so I don't be offended if someone deletes this topic ;)
  • Options
    lucluc ✭✭
    Normally it's created during setup. If not, you should have had another error message, ie. can't write to config.php.
Sign In or Register to comment.