[Solved]Upgrade to 1.5.3 not working

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
alby

Re: Upgrade to 1.5.3 not working

Post 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
alby

Re: Upgrade to 1.5.3 not working

Post 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
Tbone
New Member
New Member
Posts: 7
Joined: Tue Mar 17, 2009 11:47 am

Re: Upgrade to 1.5.3 not working

Post by Tbone »

Change the session parts in include.php to this:
$session_key = substr(md5($dirname), 0, 8);

#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.
Tbone
New Member
New Member
Posts: 7
Joined: Tue Mar 17, 2009 11:47 am

Re: [Solved]Upgrade to 1.5.3 not working

Post by Tbone »

Yeah there are some heavy mistakes in the original source.
Locked

Return to “[locked] Installation, Setup and Upgrade”