eZ can't find location of images?

Author Message

Josh Rader

Friday 29 January 2010 10:48:00 am

I recently upgraded to php 5.3.1 from 5.2.9 and now the images on the website do not display. They show the image name and a red 'x'. This leads me to believe that maybe ez is looking in the wrong place for the images. Since I changed no ez conf files during the PHP upgrade process, is this possible? How does eZ know that object 5559 is x file in y location? When I look at the images in the Media section of the admin console, it still shows the image name with a red 'x'. I search the server and the images are in \storage\images\media\images subfolder. Thanks.

André R.

Thursday 04 February 2010 12:48:36 pm

if you have moved install, it sometimes help to clear all cache, but that is only when old path is cached in templates.
Second option is that you did something wrong when you re configured it, and you'll need to debug it and backtrack what you did (PHP 5.3.1 should not cause this afaik).

Start by checking src attribute of images and compare it to where images actually are, that might give you a clue.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

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 04:54:46
Script start
Timing: Jan 18 2025 04:54:46
Module start 'layout'
Timing: Jan 18 2025 04:54:47
Module start 'content'
Timing: Jan 18 2025 04:54:47
Module end 'content'
Timing: Jan 18 2025 04:54:47
Script end

Main resources:

Total runtime0.6656 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.0066 588.0391152.6406
Module start 'layout' 0.00660.0028 740.679739.4766
Module start 'content' 0.00940.6547 780.1563523.2422
Module end 'content' 0.66420.0014 1,303.39848.1406
Script end 0.6656  1,311.5391 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.5071160.0002
Check MTime0.00130.1990160.0001
Mysql Total
Database connection0.00080.118810.0008
Mysqli_queries0.622293.4748540.0115
Looping result0.00050.0801520.0000
Template Total0.632695.020.3163
Template load0.00220.327420.0011
Template processing0.630494.709020.3152
Template load and register function0.00020.029510.0002
states
state_id_array0.00140.204310.0014
state_identifier_array0.00130.193120.0006
Override
Cache load0.00170.262890.0002
Sytem overhead
Fetch class attribute can translate value0.00060.086720.0003
Fetch class attribute name0.00170.261130.0006
XML
Image XML parsing0.00060.085220.0003
class_abstraction
Instantiating content class attribute0.00000.001130.0000
General
dbfile0.00180.2758170.0001
String conversion0.00000.001340.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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/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: 8
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs