Forums / Install & configuration / Upgradet to Ez 3.3-1. Several fatal errors on site.

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....

eZ debug

Timing: Jan 19 2025 04:16:50
Script start
Timing: Jan 19 2025 04:16:50
Module start 'content'
Timing: Jan 19 2025 04:16:50
Module end 'content'
Timing: Jan 19 2025 04:16:50
Script end

Main resources:

Total runtime0.7550 sec
Peak memory usage4,096.0000 KB
Database Queries194

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0073 589.2031180.8047
Module start 'content' 0.00730.5526 770.0078482.1563
Module end 'content' 0.55990.1951 1,252.1641333.4766
Script end 0.7550  1,585.6406 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00420.5588210.0002
Check MTime0.00150.1966210.0001
Mysql Total
Database connection0.00090.117910.0009
Mysqli_queries0.686290.87971940.0035
Looping result0.00190.25331920.0000
Template Total0.720995.520.3605
Template load0.00190.249320.0009
Template processing0.719095.230620.3595
Template load and register function0.00020.021410.0002
states
state_id_array0.00170.225410.0017
state_identifier_array0.00110.143320.0005
Override
Cache load0.00150.2018260.0001
Sytem overhead
Fetch class attribute can translate value0.00160.210130.0005
Fetch class attribute name0.00110.139230.0004
XML
Image XML parsing0.00050.065730.0002
class_abstraction
Instantiating content class attribute0.00000.001130.0000
General
dbfile0.00500.6619210.0002
String conversion0.00000.001230.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 19
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs