Why can't you log into the back end after upgrading?
From Joomla! Documentation
Revision as of 23:59, 24 April 2010 by Dextercowley (talk | contribs) (add another option to fix session issue)
Revision as of 23:59, 24 April 2010 by Dextercowley (talk | contribs) (add another option to fix session issue)
In Global Configuration->System->Session Settings, if you have Session Handler set to None
you will be unable to log into the back end of your site with version 1.5.16.
There are two ways to correct this. You only need to do one of these. If you require that the Session Handler is set to None
, use option (2).
- Edit the
configuration.php
file and make sure the line starting withvar $session_handler
(at or near line 68) is as follows:This will change your Session Handler to use thevar $session_handler = 'database';
Database
option. - Edit the file
{joomla_root}/libraries/joomla/application/application.php
as follows. On line 533 is a line with this code:Just below that, insert a new line with this code:$session->fork();
After you have made this change, lines 532-537 should read as follows:$this->_createSession($session->getId());
// we fork the session to prevent session fixation issues
$session->fork();
$this->_createSession($session->getId());
// Import the user plugin group
JPluginHelper::importPlugin('user');