Fatal error: Call to a member function on a non-object in ...

Author Message

Art KR

Saturday 12 March 2005 3:36:40 pm

Hi,

I just installed eZ publish 3.5.1 and when I tried to Import
a package (Design style structural-1.0-1.ezpkg) I received this
error message:

Fatal error: Call to a member function on a non-object in /home/user/public_html/ezpublish/kernel/classes/ezpackage.php on line 1479
Fatal error: eZ publish did not finish its request

The execution of eZ publish was abruptly ended, the debug output is present below.

Any ideas what can be the problem?

Thank you!

Saturday 12 March 2005 4:38:13 pm

This bug could be your problem:
http://ez.no/community/bugs/error_in_ezpackage_php

Art KR

Saturday 12 March 2005 5:19:23 pm

Thank you for the link! :)

Yes, maybe you're right, but I can't find where is the fix!?

Sunday 13 March 2005 11:32:08 pm

According to this page http://ez.no/community/bugs/wrong_package_version

Try changing EZ_PACKAGE_VERSION', '3.4.0beta1 in kernel/classes/ezpackage.php to match your eZ Publish version or the package version to the design style.

I haven't tried it myself though...

J-A Eberhard

Monday 14 March 2005 12:26:57 am

it looks like packages for 3.5.0 and 3.5.1 are non compatible (return the error above).
A workaround is to downgrade to 3.5.0, import the package, upgrade to 3.5.1

Open Source Solution Provider
Open-Net Ltd Switzerland
http://www.open-net.ch

Art KR

Tuesday 15 March 2005 4:26:06 am

I have download the file "ezpackage.php" from http://pubsvn.ez.no/nextgen/
and uploaded it again. Now when I try to import a package, it start
uploading but nothing more, the error also disappeared but I still
can't see tne new styles.

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