Fatal Error : Class with image attribute field

Author Message

H-Works Agency

Tuesday 05 July 2005 6:32:56 am

Hello

I am having a big bug that is undocumented on ezp 3.6.1 last rev (apache/debian/mysql).

This error occurs only on my production server, not localy, so it should be a environement error (not an ezp one) but i tried everything and can't find the answer.

When trying to edit|add a class that has an image attribute field it lead to a fatal error :

--------------------------------------------
Fatal error: Call to a member function on a non-object in /home/ezpublish/kernel/classes/datatypes/ezimage/ezimagealiashandler.php on line 469
Fatal error: eZ publish did not finish its request

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

If i reload the page where the error is displayed then the form shows up but the image file has disappeared (when editing)

Thank for help i am becoming crazy with this.

Martin

EZP is Great

d js

Wednesday 06 July 2005 2:40:15 am

I have the same problem altho no problem to upload a logo. I'll keep you posted.
d js

Björn Dieding@xrow.de

Wednesday 06 July 2005 4:31:34 am

I reported this today

http://ez.no/bugs/view/6879

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

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 01:13:48
Script start
Timing: Jan 19 2025 01:13:48
Module start 'layout'
Timing: Jan 19 2025 01:13:48
Module start 'content'
Timing: Jan 19 2025 01:13:49
Module end 'content'
Timing: Jan 19 2025 01:13:49
Script end

Main resources:

Total runtime1.2380 sec
Peak memory usage4,096.0000 KB
Database Queries59

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 591.2891152.6563
Module start 'layout' 0.00580.0035 743.945339.5078
Module start 'content' 0.00941.2271 783.4531575.7188
Module end 'content' 1.23640.0015 1,359.171912.1094
Script end 1.2380  1,371.2813 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.2756160.0002
Check MTime0.00130.1090160.0001
Mysql Total
Database connection0.00100.078610.0010
Mysqli_queries1.186395.8212590.0201
Looping result0.00080.0630570.0000
Template Total1.201097.020.6005
Template load0.00240.194020.0012
Template processing1.198696.818220.5993
Template load and register function0.00010.008110.0001
states
state_id_array0.00110.088910.0011
state_identifier_array0.00090.074120.0005
Override
Cache load0.00190.1575220.0001
Sytem overhead
Fetch class attribute can translate value0.00060.045330.0002
Fetch class attribute name0.00140.115750.0003
XML
Image XML parsing0.00120.100230.0004
class_abstraction
Instantiating content class attribute0.00000.000850.0000
General
dbfile0.00090.0718230.0000
String conversion0.00000.000640.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 18
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs