fatal error importing contentclass package

Author Message

Alessandro Cipriani

Monday 04 October 2004 3:20:56 am

hi all
i have two instances of my site, one on a developping server and the other on the production server.
both of the instances have the class 'myclass', but now i've modified it on the developping server and i'd like to export the package in order to import it on the second server and overwrite the old 'myclass'.

i can export without problem the package and import on the second server, but when i press the 'install' button i get the following error:
Fatal error: Call to a member function on a non-object in c:\programmi\ezpublish\ezpublish\kernel\classes\ezcontentclassattribute.php on line 233

i'm using ezp version 3.4.0

any hint?
best regards
alessandro

Gunnstein Lye

Monday 11 October 2004 5:13:02 am

I don't think overwriting classes is supported. But it should give a warning instead of crashing, of course, or it should be implemented. Please submit a bug report.

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 18 2025 11:26:20
Script start
Timing: Jan 18 2025 11:26:20
Module start 'layout'
Timing: Jan 18 2025 11:26:20
Module start 'content'
Timing: Jan 18 2025 11:26:22
Module end 'content'
Timing: Jan 18 2025 11:26:22
Script end

Main resources:

Total runtime1.1602 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0069 589.4766152.6406
Module start 'layout' 0.00690.0036 742.117239.4766
Module start 'content' 0.01051.1482 781.5938501.7656
Module end 'content' 1.15870.0014 1,283.35948.1250
Script end 1.1601  1,291.4844 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.3421160.0002
Check MTime0.00150.1300160.0001
Mysql Total
Database connection0.00090.076210.0009
Mysqli_queries1.109995.6585540.0206
Looping result0.00060.0517520.0000
Template Total1.122696.820.5613
Template load0.00220.186720.0011
Template processing1.120496.564720.5602
Template load and register function0.00010.009710.0001
states
state_id_array0.00130.109310.0013
state_identifier_array0.00160.138620.0008
Override
Cache load0.00180.1529160.0001
Sytem overhead
Fetch class attribute can translate value0.00110.098920.0006
Fetch class attribute name0.00140.117740.0003
XML
Image XML parsing0.00160.137720.0008
class_abstraction
Instantiating content class attribute0.00000.000740.0000
General
dbfile0.00260.2221220.0001
String conversion0.00000.000940.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
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs