Forums / Install & configuration / Upgrading to 3.10 - Clearing cache deletes images

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

eZ debug

Timing: Jan 18 2025 22:37:57
Script start
Timing: Jan 18 2025 22:37:57
Module start 'content'
Timing: Jan 18 2025 22:37:57
Module end 'content'
Timing: Jan 18 2025 22:37:57
Script end

Main resources:

Total runtime0.2431 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0069 587.9609180.8047
Module start 'content' 0.00690.0135 768.765698.1016
Module end 'content' 0.02040.2226 866.8672526.6250
Script end 0.2430  1,393.4922 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00421.7406200.0002
Check MTime0.00190.7874200.0001
Mysql Total
Database connection0.00070.306910.0007
Mysqli_queries0.187276.99951410.0013
Looping result0.00170.70141390.0000
Template Total0.221991.310.2219
Template load0.00150.606810.0015
Template processing0.220590.700410.2205
Override
Cache load0.00120.481010.0012
Sytem overhead
Fetch class attribute can translate value0.00090.354310.0009
XML
Image XML parsing0.00020.100310.0002
General
dbfile0.00180.7438200.0001
String conversion0.00000.002630.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0002 secs