Upgrading to 3.10 - Clearing cache deletes images

Author Message

Philip K.

Thursday 06 December 2007 2:51:56 am

Hello.

I did an update from version 3.9.0. to 3.10.0. All the steps in the upgrading documentation were finished successfully and my site looks very well after upgrading.

BUT if I clear all caches using the clear cache button in the backend all the images in page will be deleted.

If I clear caches using the shell

# php bin/php/ezcache.php --clear-all --purge

my images won't be deleted...

I have no idea what caused this problem and would be appreciated if someone could help me.

Thanks a lot,
Philip

Linux is like a wigwam; no windows, now gates, and apache inside!

Damien Pobel

Thursday 06 December 2007 6:20:50 am

Hi Philip,

An idea :
When you call

# php bin/php/ezcache.php --clear-all --purge

it used the default siteaccess settings which is probably not your admin siteaccess that is use when clearing the cache in the backend.
I think you have a problem in your settings with VarDir or StorageDir or CacheDir ?

Damien
Planet eZ Publish.fr : http://www.planet-ezpublish.fr
Certification : http://auth.ez.no/certification/verify/372448
Publications about eZ Publish : http://pwet.fr/tags/keywords/weblog/ez_publish

André R.

Thursday 06 December 2007 7:31:23 am

I'm not 100% sure, but this is fixed in 4.0 and should be fixed in 3.10.1 (in svn/stable/3.10) also.

From the 4.0rc1 SDK-Public mail:

- Fixed an issue where special chars were saved as unicode entities
   in the database, this had the effect that:

   - Export of open content object caused the ODF document to
     contain unicode entities for example ’

   - It also caused some problems with image aliases, where the
     original alias could be deleted from the filesystem

   - This issue affects all alpha and beta releases of eZ Publish 4,
     but is fixed in this RC1 release. Data created with older
     releases will still contain this type of information in their
     databases.

- Updates to the updateniceurls script to make it more robust. Do
   check out the new options for upgrading.

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 19 2025 00:33:28
Script start
Timing: Jan 19 2025 00:33:28
Module start 'layout'
Timing: Jan 19 2025 00:33:28
Module start 'content'
Timing: Jan 19 2025 00:33:29
Module end 'content'
Timing: Jan 19 2025 00:33:29
Script end

Main resources:

Total runtime0.7465 sec
Peak memory usage4,096.0000 KB
Database Queries59

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0074 588.1641152.6563
Module start 'layout' 0.00740.0046 740.820339.5078
Module start 'content' 0.01200.7331 780.3281595.2266
Module end 'content' 0.74510.0013 1,375.554712.1094
Script end 0.7464  1,387.6641 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4280160.0002
Check MTime0.00130.1722160.0001
Mysql Total
Database connection0.00180.239110.0018
Mysqli_queries0.686791.9952590.0116
Looping result0.00070.0953570.0000
Template Total0.711295.320.3556
Template load0.00330.448020.0017
Template processing0.707994.828620.3539
Template load and register function0.00010.016510.0001
states
state_id_array0.00180.241010.0018
state_identifier_array0.00130.169720.0006
Override
Cache load0.00300.4042260.0001
Sytem overhead
Fetch class attribute can translate value0.00120.159930.0004
Fetch class attribute name0.00150.205860.0003
XML
Image XML parsing0.00210.282330.0007
class_abstraction
Instantiating content class attribute0.00000.001560.0000
General
dbfile0.00180.2469290.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
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/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
3content/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: 21
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs