Fatal bug after upgrading

Author Message

Adri Rots

Monday 22 September 2003 10:42:22 am

After upgrading from 3.1 to 3.2 (Linux, Mysql) I have a bug when deleting content.

Fatal error: Call to a member function on a non-object in /home/ez/www/ez/kernel/content/removeobject.php on line 130

Because of an error when importing the sql update script I deleted the first line in that script. After that it seemed to work fine.

Another site with the same ez installation but another database works fine. (also the sql update worked fine)

Can someone give me a clue how to solve this?

Greetings

Adri Rots

Wenyue Yu

Thursday 25 September 2003 1:31:28 am

Hi,

It seems like you are trying to delete a non-exist node.

What line have you deleted in what script?

Regards,
wenyue

Adri Rots

Saturday 27 September 2003 2:09:03 am

I've deleted the first line in
ezpublish-3.2-1\update\database\mysql\3.2\dbupdate-3.1-1-to-3.2-1.sql

I don't think this is the probelem because I have the same error with a database that was converted including the first line.

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 15:56:50
Script start
Timing: Jan 18 2025 15:56:50
Module start 'layout'
Timing: Jan 18 2025 15:56:50
Module start 'content'
Timing: Jan 18 2025 15:56:51
Module end 'content'
Timing: Jan 18 2025 15:56:51
Script end

Main resources:

Total runtime0.8336 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 588.0156152.6250
Module start 'layout' 0.00570.0037 740.640639.4453
Module start 'content' 0.00950.8224 780.0859467.2344
Module end 'content' 0.83190.0017 1,247.32038.1641
Script end 0.8336  1,255.4844 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.4252160.0002
Check MTime0.00140.1717160.0001
Mysql Total
Database connection0.00090.111510.0009
Mysqli_queries0.786894.3759570.0138
Looping result0.00070.0893550.0000
Template Total0.799195.920.3996
Template load0.00240.283920.0012
Template processing0.796795.573420.3984
Template load and register function0.00020.021110.0002
states
state_id_array0.00110.137210.0011
state_identifier_array0.00110.126720.0005
Override
Cache load0.00190.2251200.0001
Sytem overhead
Fetch class attribute can translate value0.00070.078120.0003
Fetch class attribute name0.00150.184630.0005
XML
Image XML parsing0.00020.025120.0001
class_abstraction
Instantiating content class attribute0.00000.000930.0000
General
dbfile0.00150.1838100.0002
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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs