my Ez tries to use the "var" module ... images broken

Author Message

Paul Etienney

Tuesday 01 June 2010 2:32:02 am

Hello all,

Yesterday everything was allright and today my site tries to use the var module.

Consequence : all my images are broken.

Eg : http://www.pauletienney.fr/var/storage/images/mediatheque/photos-illustrations/portrait/portrait-creation-site-internet/4568-3-fre-FR/portrait-creation-site-internet.jpg

Do you have any idea to fix it ?

-- Good websites creation --
My site : http://www.pauletienney.com
Twitter : http://www.twitter.com/p_etienney

André R.

Tuesday 01 June 2010 4:37:18 am

rewrite rules, this shouldn't be handled by ezp at all so something is broken in your rewrite rules.

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

Paul Etienney

Tuesday 01 June 2010 4:52:28 am

That was my first guess but I use the same .htaccess in every project and it works on others ez publish install.

RewriteEngine On
RewriteRule ^var/storage/.* - [L]
RewriteRule ^var/[^/]+/storage/.* - [L]
RewriteRule ^var/cache/texttoimage/.* - [L]
RewriteRule ^var/[^/]+/cache/texttoimage/.* - [L]
RewriteRule ^design/[^/]+/(stylesheets|images|imagespl|javascript)/.* - [L]
RewriteRule ^share/icons/.* - [L]
RewriteRule ^sitemaps/.* - [L]
RewriteRule ^extension/[^/]+/design/[^/]+/(stylesheets|images|javascripts?)/.* - [L]
RewriteRule ^extension/tracewatch/.* - [L]
RewriteRule ^packages/styles/.+/(stylesheets|images|javascript)/[^/]+/.* - [L]
RewriteCond $1 !^index.php$
RewriteRule (.*) /index.php

-- Good websites creation --
My site : http://www.pauletienney.com
Twitter : http://www.twitter.com/p_etienney

Steven E. Bailey

Tuesday 01 June 2010 5:25:01 am

Is this a new install on a new machine or was apache updated recently? Are other eZPublish instances working on the same machine? Is mod rewrite still enabled? Is the .htaccess file readable by whatever user is running your apache server?

Certified eZPublish developer
http://ez.no/certification/verify/396111

Available for ezpublish troubleshooting, hosting and custom extension development: http://www.leidentech.com

Paul Etienney

Tuesday 01 June 2010 9:57:22 am

Thank you for your replies.

Actually the problem came from host : JustHost which made Apache changes without warning.

-- Good websites creation --
My site : http://www.pauletienney.com
Twitter : http://www.twitter.com/p_etienney

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 02:17:37
Script start
Timing: Jan 18 2025 02:17:37
Module start 'layout'
Timing: Jan 18 2025 02:17:37
Module start 'content'
Timing: Jan 18 2025 02:17:38
Module end 'content'
Timing: Jan 18 2025 02:17:38
Script end

Main resources:

Total runtime1.4291 sec
Peak memory usage4,096.0000 KB
Database Queries65

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 588.0469152.6406
Module start 'layout' 0.00570.0034 740.687539.4766
Module start 'content' 0.00911.4187 780.1641615.6406
Module end 'content' 1.42780.0013 1,395.804716.1250
Script end 1.4291  1,411.9297 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.2299160.0002
Check MTime0.00140.0973160.0001
Mysql Total
Database connection0.00060.042410.0006
Mysqli_queries1.370295.8782650.0211
Looping result0.00070.0509630.0000
Template Total1.390997.320.6955
Template load0.00190.130720.0009
Template processing1.389197.195720.6945
Template load and register function0.00010.006410.0001
states
state_id_array0.00160.112010.0016
state_identifier_array0.00170.120620.0009
Override
Cache load0.00150.1081350.0000
Sytem overhead
Fetch class attribute can translate value0.00070.045630.0002
Fetch class attribute name0.00140.095680.0002
XML
Image XML parsing0.00150.108330.0005
class_abstraction
Instantiating content class attribute0.00000.0014100.0000
General
dbfile0.00110.0804300.0000
String conversion0.00000.000740.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
5content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.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: 19
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs