Jump to content

5.0.6 upgrade detecting wrong version


Guest Viola

Recommended Posts

Hi all,

I'm trying to upgrade a store from version 3.0.20 to 5.0.6. Problem is, the installer is detecting the version as 4.3.8 and as a result skips a large part of the upgrade process.

The only place in the remaining v3 files where I can see a version number is /includes/ini.inc.php which clearly has version 3 listed:

// version info

$ini['ver'] = '3.0.20';

Could the version number be wrong somewhere else, or would it be a problem with the installer?

Link to comment
Share on other sites

The upgrade script first queries the CubeCart_history table. CC3 should not have a history table. So, the query should return false. As such, the upgrader will read in CC3's /includes/ini.inc.php to get that version. If the file does not exist, the upgrader assumes CC3.0.20.

So, does your database have a history table?

I am working with another upgrader and it is obvious the upgrade scripts are running out-of-sequence. But the code sorts the versions so that the sequence cycles correctly.

I also recall working with one person whose PHP installation was compiled to not include any of the array functions. That one was weird.

Is this misidentification happening during the first "Systems Check" page, or later in the upgrade cycle?

Link to comment
Share on other sites

I thought the database looked odd - don't remember v3 having a reviews table. And yes, there was a history table. Deleted it and the upgrade worked. Thanks for the help.

I also recall working with one person whose PHP installation was compiled to not include any of the array functions.

:blink:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...