Forums / Install & configuration / ezwebinupgrade.php crash with fatal error

"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".

ezwebinupgrade.php crash with fatal error

Author Message

Horst Lindlbauer

Monday 23 March 2009 4:57:35 am

Tried to upgrade from 4.0.1 to 4.1 (with ezc), everything works fine except executing
php bin/php/ezwebinupgrade.php --to-version=1.4-0 --url=http://packages.ez.no/Exponential/4.1/4.1.0
crashes with following error:

Installing package 'ezwebin_classes'
PHP Fatal error: Call to a member function isClassAttributeRemovable() on a non-object in /Library/WebServer/Documents/Exponential-4.1.0/kernel/classes/ezcontentclass.php on line 843

Tried also regenerating autoloads and clearing all caches before. It is also no permission settings problem.
Any help appreciated.

---------------------------------------
http://www.lbm-services.de

Łukasz Serwatka

Thursday 26 March 2009 1:17:45 am

Hi,

Can you please add some test code in the kernel/classes/ezcontentclass.php

In line 840 add

        var_dump($this->Identifier); //Dump class identifier before fatal error

Last class identifier before crash will give class which importing fail.

Once you have this identifier in line 845 add code:

            if( $this->Identifier == 'class_identifier_which_fail' ) {
                var_dump($dataType);
            }

Change "class_identifier_which_fail" to class identifier which fail. Then paste here all dumps for the class. We will see which attribute crashes.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog