Images won't display (Strange storage dir structure)

Author Message

Nathan Kelly

Thursday 06 July 2006 11:06:06 pm

Hi all,

I just started to upload some image to ezp for the first time on this particular site and there seems to be something strange going on with the storage directory (I think its strange anyway).

My var directory looks normal but the siteaccess storage directory seems odd to me, this is what my var directory looks like:

[-]var
 |--[+] cache
 |--[+] log
 |--[-] <siteaccess>
     |--[+] cache
     |--[+] log
     |--[-] storage
         |--[-] images
             |--[-] media
                 |--[-] images
                     |--[+] whatever...
                     |--[+] whatever...
                     |--[+] and so on...
 |--[+] storage

The bit that strikes me as odd is this bit:

     |--[-] storage
         |--[-] images
             |--[-] media
                 |--[-] images

I believe it should look like this:

     |--[-] storage
         |--[-] media
             |--[-] images

Is the an ini file somewhere that needs to be changed to fix this? I've looked but the only thing I have found is the FileSettings in site.ini.append.php

[FileSettings]
VarDir=var/<siteaccess>

(where <siteaccess> is the name of my site)

Any ideas?

Cheers!

Pardon me while I burst into flames...

Nathan Kelly

Thursday 06 July 2006 11:20:53 pm

After another look it seems it may not be a problem with the directory but the the path to image magic convert, I get this warning: Failed executing: /usr/bin/convert etc.

I'm lost when it comes to this sort of thing!!

Pardon me while I burst into flames...

Coulibaly Ibrahim

Wednesday 12 July 2006 1:44:57 am

Hi
it is not a problem concerning your path. see this documentation page,
http://ez.no/doc/ez_publish/technical_manual/3_8/reference/datatypes/image
well explained ;)

but i've the same problem with the image converter :(
so help please

Coulibaly Ibrahim

Wednesday 12 July 2006 3:35:23 am

solved ;)
i place the ExecutableUnix in global override image.ini ;)
dont forget to define all aliases in global override image.ini

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 20 2025 06:48:20
Script start
Timing: Jan 20 2025 06:48:20
Module start 'layout'
Timing: Jan 20 2025 06:48:20
Module start 'content'
Timing: Jan 20 2025 06:48:21
Module end 'content'
Timing: Jan 20 2025 06:48:21
Script end

Main resources:

Total runtime1.0656 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.0062 589.2813152.6406
Module start 'layout' 0.00620.0034 741.921939.4766
Module start 'content' 0.00961.0546 781.3984552.7813
Module end 'content' 1.06420.0014 1,334.179712.1250
Script end 1.0656  1,346.3047 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.3039160.0002
Check MTime0.00140.1287160.0001
Mysql Total
Database connection0.00080.078610.0008
Mysqli_queries1.005994.3986600.0168
Looping result0.00060.0544580.0000
Template Total1.030696.720.5153
Template load0.00340.320220.0017
Template processing1.027296.394220.5136
Template load and register function0.00010.011410.0001
states
state_id_array0.00130.126310.0013
state_identifier_array0.00120.113120.0006
Override
Cache load0.00300.2833330.0001
Sytem overhead
Fetch class attribute can translate value0.00070.065520.0003
Fetch class attribute name0.00140.127450.0003
XML
Image XML parsing0.00080.078220.0004
class_abstraction
Instantiating content class attribute0.00000.001260.0000
General
dbfile0.00090.0815160.0001
String conversion0.00000.000840.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
4content/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: 24
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs