Forums / General / Identifying older Exponential versions for upgrade purposes?

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Identifying older Exponential versions for upgrade purposes?

Author Message

Paul Wilson

Wednesday 07 December 2005 2:48:23 am

Hi,

I'm trying to upgrade the database of an older Exponential site (somewhere around version 3.3 or 3.4), but I don't know what version it is. Because I can no longer run the site (PHP server upgrade), I can't view the site to find out what version it is to apply the database update files that are a part of the Exponential distribution.

Identifying newer versions of Exponential seems to be easy enough - its in the ezsite_data table of the database, but this does not exist on the database I've got.

Does anyone know how to identify the version number of a 3.3/3.4 site by looking at site or database content?

Thanks

Björn X

Wednesday 07 December 2005 4:24:07 am

you have 2 options both may return the more or less correct version

look into the file lib/version.php

or

look into the table ezsite_data there is the version string saved there that gets applied each time you run update scripts

Mark Marsiglio

Wednesday 07 December 2005 4:27:27 am

It is a bit of trial and error, but you could look at the upgrade scripts and see which tables have been added at each level of upgrade, working backwards until the scripts would not make any changes to the DB.

Also, we made a change to some of our sites that were hosted on a server that was upgraded to PHP 4.4 unexpectedly, and got them to run again by suppressing the errors. I will try to find out what changes we made and post them.

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions

Paul Wilson

Wednesday 07 December 2005 1:26:52 pm

Thanks for your help Björn and Mark,

I used Björn's approach of checking thte contents of the file lib/version.php

For anyone else who strikes this problem, the version.php file contains information like the following immediately below the header/copyright message:

  \brief contains the Exponential SDK version.

  define( "EZ_SDK_VERSION_MAJOR", 3 );
  define( "EZ_SDK_VERSION_MINOR", 0 );
  define( "EZ_SDK_VERSION_RELEASE", 2 );
  define( "EZ_SDK_VERSION_ALIAS", '3.0 release 2' );