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.

eZ debug

Timing: Jan 19 2025 06:21:34
Script start
Timing: Jan 19 2025 06:21:34
Module start 'layout'
Timing: Jan 19 2025 06:21:34
Module start 'content'
Timing: Jan 19 2025 06:21:35
Module end 'content'
Timing: Jan 19 2025 06:21:35
Script end

Main resources:

Total runtime0.7869 sec
Peak memory usage4,096.0000 KB
Database Queries68

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0077 590.5938152.6563
Module start 'layout' 0.00770.0035 743.250039.4922
Module start 'content' 0.01130.7741 782.7422607.4766
Module end 'content' 0.78540.0014 1,390.218812.0938
Script end 0.7868  1,402.3125 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.4472160.0002
Check MTime0.00140.1801160.0001
Mysql Total
Database connection0.00150.186010.0015
Mysqli_queries0.724992.1272680.0107
Looping result0.00070.0886660.0000
Template Total0.750295.320.3751
Template load0.00240.301020.0012
Template processing0.747995.041420.3739
Template load and register function0.00020.026310.0002
states
state_id_array0.00100.127010.0010
state_identifier_array0.00130.158920.0006
Override
Cache load0.00200.2501310.0001
Sytem overhead
Fetch class attribute can translate value0.00080.107330.0003
Fetch class attribute name0.00110.137380.0001
XML
Image XML parsing0.00130.170430.0004
class_abstraction
Instantiating content class attribute0.00000.002190.0000
General
dbfile0.00100.1244210.0000
String conversion0.00000.001040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 24
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs