Upgradet to Ez 3.3-1. Several fatal errors on site.

Author Message

Tore Skobba

Thursday 08 January 2004 6:46:50 am

Hi

I upgradet to EZ 3.3-1 today. However, this have led to several problems, some content objects are not shown instead this error is displayed:

Fatal error: Call to a member function on a non-object in c:\develop\ez_gsa\ezpublish-3.3-1\kernel\classes\datatypes\ezimage\ezimagealiashandler.php on line 601
Fatal error: eZ publish did not finish it's request

Secondly it does not seem to find any images, it is searching this path: Failed converting var/storage/images/news/... However, this path does not exsist, images are under var/storage/orginial/images/
It seems as ORginial is left out of the path! Anyone know what I might be doing wrong, or is this an error other people also have with 3.3.1

Cheers
TOre

Claus Jensen

Thursday 08 January 2004 6:57:39 am

Hi Tore,
I have recently tried to update to 3.3.1 to, and got the same problems with images and files as it seems you have gotten. The thing is that there is a new imagestoring system on this version. Read more here: http://ez.no/developer/ez_publish_3/releases/ez_publish_3_3/new_image_system. I did not get this to work, so I went to the 3.2-4 version instead... (was using 3.2-3)

About the "call to member...etc" could this have something to do with configuration of translations and languages... it looks familiar. Check that your settings on this is the same as before. Just a hunch. Did you upgrade into the same installation-point as the already running site, or did you create a new one and just transferred the necessary files (design folders and siteaccess folders) ?

regards,
claÜs

Tore Skobba

Thursday 08 January 2004 7:17:39 am

Hi Claüs

Thanks for the tip about the new image system. I did not have a clue about that!

About the "call to member" error. It basically only came from one content class (i.e when its view template was called). As the image system had changed I removed my ad hoc image stuff in the template. Then it worked (images are of course not working:(). This was removed and caused the fatal error:

{section show=is_object($node.data_map.thumbnail.content)}
<div class="img_left"><a href={$node.data_map.thumbnail.content[original].full_path|ezroot} target="_blank">{attribute_view_gui attribute=$node.data_map.thumbnail image_class="inline"}</a></div>
{/section}

It was there in order to make an link to view the image in full size.

I am a bit afraid that now I will have to pay the price for the lack of basic functions in EZ (such as attribute!=null), this lack of basic funtions have led me to use extensive ad hoc variable checking in order to implement required functionality. However, this variable checking is probably going to be messed up in the future as the variables changes meaning or disapper.. Huhh looking at many hours going through template code....

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 19:31:24
Script start
Timing: Jan 18 2025 19:31:24
Module start 'layout'
Timing: Jan 18 2025 19:31:24
Module start 'content'
Timing: Jan 18 2025 19:31:25
Module end 'content'
Timing: Jan 18 2025 19:31:25
Script end

Main resources:

Total runtime0.6046 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.0052 589.2813152.6563
Module start 'layout' 0.00520.0025 741.937539.5078
Module start 'content' 0.00780.5949 781.4453477.0469
Module end 'content' 0.60260.0019 1,258.492212.1094
Script end 0.6045  1,270.6016 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.5753160.0002
Check MTime0.00150.2480160.0001
Mysql Total
Database connection0.00070.123110.0007
Mysqli_queries0.552091.3053570.0097
Looping result0.00070.1141550.0000
Template Total0.574195.020.2870
Template load0.00200.327920.0010
Template processing0.572194.624220.2860
Template load and register function0.00030.055210.0003
states
state_id_array0.00180.294410.0018
state_identifier_array0.00110.174520.0005
Override
Cache load0.00160.2674260.0001
Sytem overhead
Fetch class attribute can translate value0.00090.151320.0005
Fetch class attribute name0.00200.327330.0007
XML
Image XML parsing0.00030.047020.0001
class_abstraction
Instantiating content class attribute0.00000.001930.0000
General
dbfile0.00070.1178100.0001
String conversion0.00000.001140.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
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
6content/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: 19
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs