Page 1 of 1
Re: Upgrade to 1.5.3 not working
Posted: Thu Mar 12, 2009 8:44 am
by alby
neil40 wrote:
Current version is 1.2.3, uploaded 1.5.3 and ran http:///install/upgrade.php
I get this error:
Session not working, you have problem with some modules and functionality! Ask your provider, exiting.
SESSION not work in normal mode.
This can be for restriction of your provider.
Replace your backup and investigate in your phpinfo()
Alby
Re: Upgrade to 1.5.3 not working
Posted: Fri Mar 13, 2009 4:57 pm
by alby
neil40 wrote:
Result of phpinfo()
forum drop long text and ..... not formatted is very difficult to read ....
post a link to phpinfo() or PM or enter in #irc channel
Alby
Re: Upgrade to 1.5.3 not working
Posted: Tue Mar 17, 2009 11:54 am
by Tbone
Change the session parts in include.php to this:
$session_key = substr(md5($dirname), 0,

;
#Setup session with different id and start it
@session_name('CMSSESSID' . $session_key);
if(!@session_id()) @session_start();
if( isset($CMS_ADMIN_PAGE) && ( !isset($_SESSION[CMS_USER_KEY]) ))
{
// maybe change this algorithm.
$key = substr(str_shuffle(md5($dirname.time().session_id())),-8);
$_SESSION[CMS_USER_KEY] = $key;
}
and it should work.
Re: [Solved]Upgrade to 1.5.3 not working
Posted: Wed Mar 18, 2009 8:38 am
by Tbone
Yeah there are some heavy mistakes in the original source.