Upgrading from 3.9.1 ezwebin 1.1 to 3.10.0 ezwebin 1.2

Author Message

Xavier Serna

Monday 28 January 2008 7:06:02 am

Hi all,

we are trying to upgrade an eZ installation currently in 3.9.1 with ezwebin 1.1 to the latest 3x release (currently 3.10.0) but are having problems on the webin upgrade.
All the steps to upgrade ez3.9.1 to ez3.10.0 are done correctly, but whenever we try to execute the ezwebinupgrade.php that comes with the 3.10 installation, after download and install of the packages, when the system tries to update classes crash with a fatal error:

#!/usr/bin/env php
Notice: No siteaccess provided, will use default siteaccess
Warning: Processing in auto-mode:
- packages will be downloaded to './tmp';
- packages will be imported to 'var/storage/packages/ez_systems';
- installing of existing classes will be skipped;
- all files(extesion, design, downloaded and imported packages) will be overwritten;
Continue? [y/n]: y
Configuring...
Downloading...
ezwebin_classes
ezwebin_extension
ezwebin_design
ezwebin_site
Importing...
ezwebin_classes
ezwebin_extension
ezwebin_design
ezwebin_site
Installing...
Installing package 'ezwebin_classes'
Installing package 'ezwebin_extension'
Installing package 'ezwebin_design'
Installing package 'ezwebin_site'
Updateting content classes...

Fatal error: Call to undefined function:  addclassattributes() in /home/ezpublish/ezpublish-3.10.0/ezwebinupgrade.php on line 54

Fatal error: eZ Publish did not finish its request
The execution of eZ Publish was abruptly ended, the debug output is present below.

It seems that there is a problem with the packages downloaded for ezwebin 1.2, that have classes structures slightly different that in 3.10.0.

If we use the script ezwebinupgrade.php from a 3.9.2 installation to upgrade our webin in the 3.10.0 all is done correctly.

Anyone has encountered similar problems?

--
Xavier Serna
eZ Publish Certified Developer
Departament de Software
Microblau S.L. - http://www.microblau.net
+34 937 466 205

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.