Images missing in articles

Author Message

Paul Cozens

Tuesday 22 July 2008 10:24:59 am

When I view an article in the admin interface I can see the image name but no thumbnail. The image is also missing from the user interface. The images are still in a sub directory of the var folder. I don't want to have to re-upload the hundreds of images that have been added. Is there a way to re-link to the existing images. As far as I am aware there have been no database changes.

Greg McAvoy-Jensen

Tuesday 22 July 2008 10:36:31 am

Have you checked to verify the web server has full permissions throughout the var directory? If that's not the problem, you'll want to check debug output.

Granite Horizon, Certified Developer of eZ Publish Web Solutions
Provider of the SaaS Solution Granite Horizon In The Cloud | http://granitehorizon.com/cloud
http://granitehorizon.com | +1 916 647 6350 | California USA | @granitegreg
Blog: http://granitehorizon.com/blog

Paul Cozens

Wednesday 23 July 2008 4:22:23 am

Hi,

The VAR folder and it's subfolders are all set to 777 to remove any permissions issues.

I can see similar to the following in the debug output:-

The reference alias original file var/plain_site/storage/images/galleries/volutidae/amoria-maculata-caroli/2804-1-eng-GB/Amoria-maculata-caroli.jpg does not exist

But this file does exist at the location specified. Should it have public_html at teh beginning of the URL?

Paul Cozens

Wednesday 23 July 2008 5:55:09 am

when viewing the article contianing the image file I have noticed that the name of the file has spaces within it. ie 'first last.jpg'

The file itself is called 'first-last.jpg'

I assume this is significant as i can re-upload an image and it displays correctly. Which SQL tabel contains the filenames?

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 20:49:31
Script start
Timing: Jan 18 2025 20:49:31
Module start 'layout'
Timing: Jan 18 2025 20:49:31
Module start 'content'
Timing: Jan 18 2025 20:49:32
Module end 'content'
Timing: Jan 18 2025 20:49:32
Script end

Main resources:

Total runtime0.7874 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0107 588.0391152.6406
Module start 'layout' 0.01080.0039 740.679739.4609
Module start 'content' 0.01460.7709 780.1406543.4063
Module end 'content' 0.78550.0018 1,323.546912.1641
Script end 0.7873  1,335.7109 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.4209160.0002
Check MTime0.00130.1665160.0001
Mysql Total
Database connection0.00380.484310.0038
Mysqli_queries0.728192.4708600.0121
Looping result0.00060.0737580.0000
Template Total0.742294.320.3711
Template load0.00250.321220.0013
Template processing0.739793.939320.3698
Template load and register function0.00010.017410.0001
states
state_id_array0.00150.187710.0015
state_identifier_array0.00090.115620.0005
Override
Cache load0.00200.2492170.0001
Sytem overhead
Fetch class attribute can translate value0.00060.070120.0003
Fetch class attribute name0.00120.148850.0002
XML
Image XML parsing0.00080.098320.0004
class_abstraction
Instantiating content class attribute0.00000.001550.0000
General
dbfile0.00160.2063180.0001
String conversion0.00000.001240.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
4content/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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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.0002 secs