Clear cache outside the admin interface??

Author Message

Lizeth Lorenzana

Wednesday 17 December 2008 3:00:40 pm

I have a problem with my admin interface right now so does anybody know how can I clear all the cache from my site?????

Heath

Wednesday 17 December 2008 3:25:25 pm

<i>http://ezpedia.org/wiki/en/ez/solution_clear_cache_on_ez_publish</i>

cd /path/to/ezpublish;
./bin/php/ezcache.php --clear-all --purge;

Cheers,
Heath

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

Lizeth Lorenzana

Thursday 18 December 2008 7:54:00 am

Thanks but it doesn't work! it says the system could not find the path specified... any solution to that???

Heath

Thursday 18 December 2008 7:14:04 pm

Hello,

It sounds like you used my example psudo path when running the clear cache example snippet above.

I would try again using your own real path on the filesystem / hard drive to eZ Publish installed for your website.

# cd /web/pro/ezpublish/doc;

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

Alternately you could remove the cache files manually. <i>http://ezpedia.org/wiki/en/ez/solution_clear_cache_on_ez_publish#eztoc312302_1_3</i>

Cheers,
Heath

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

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 31 2025 00:36:52
Script start
Timing: Jan 31 2025 00:36:52
Module start 'layout'
Timing: Jan 31 2025 00:36:52
Module start 'content'
Timing: Jan 31 2025 00:36:52
Module end 'content'
Timing: Jan 31 2025 00:36:52
Script end

Main resources:

Total runtime0.0536 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0086 589.3672151.2266
Module start 'layout' 0.00860.0091 740.5938220.7188
Module start 'content' 0.01780.0337 961.31251,001.9609
Module end 'content' 0.05150.0020 1,963.273433.9922
Script end 0.0535  1,997.2656 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00346.2636140.0002
Check MTime0.00112.1092140.0001
Mysql Total
Database connection0.00071.274910.0007
Mysqli_queries0.009117.029130.0030
Looping result0.00000.048510.0000
Template Total0.00142.710.0014
Template load0.00112.021110.0011
Template processing0.00040.667910.0004
Override
Cache load0.00081.420410.0008
General
dbfile0.010519.651480.0013
String conversion0.00000.021840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

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

Time used to render debug report: 0.0001 secs