Delete var/cache/content and var/cache/template/tree

Author Message

mikael lindqvist

Wednesday 22 January 2003 5:43:26 am

Both directories are only x, r and w by Owner and Group. Public has no rights.

I have tried to use unlink, chmod and rmdir though PHP code but without luck.

Any help on how to delete these %&#! directories is MUCH appreciated.

Also, why the heck does the system change the rights to these directories making them "impossible" to delete (and read)?!

/Frustrated

Bruce Morrison

Wednesday 22 January 2003 2:28:07 pm

> Both directories are only x, r and w by Owner and Group.
> Public has no rights.
>
> I have tried to use unlink, chmod and rmdir though PHP code
> but without luck.
>
> Any help on how to delete these %&#! directories is MUCH
> appreciated.
>
> Also, why the heck does the system change the rights to
> these directories making them "impossible" to delete (and
> read)?!

These files are created by the code and as such are (typically) created by the user running the code. In this case they would be the user the web server is running as.

You should be able to remove these files with php code, but I take it that you have tried this. Are there any errors being generated by the php code?

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

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 30 2025 19:41:44
Script start
Timing: Jan 30 2025 19:41:44
Module start 'layout'
Timing: Jan 30 2025 19:41:44
Module start 'content'
Timing: Jan 30 2025 19:41:45
Module end 'content'
Timing: Jan 30 2025 19:41:45
Script end

Main resources:

Total runtime1.0097 sec
Peak memory usage8,192.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 588.3828151.2422
Module start 'layout' 0.00500.0040 739.6250220.7500
Module start 'content' 0.00900.9999 960.37504,428.4219
Module end 'content' 1.00890.0007 5,388.79697.7969
Script end 1.0097  5,396.5938 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.3516160.0002
Check MTime0.00130.1318160.0001
Mysql Total
Database connection0.00080.081010.0008
Mysqli_queries0.937192.8071540.0174
Looping result0.00040.0417520.0000
Template Total0.961595.220.4808
Template load0.00190.188120.0009
Template processing0.959695.036320.4798
Template load and register function0.00140.135510.0014
states
state_id_array0.00130.129310.0013
state_identifier_array0.00090.091020.0005
Override
Cache load0.00150.1521240.0001
Sytem overhead
Fetch class attribute can translate value0.00150.146320.0007
Fetch class attribute name0.00190.183430.0006
XML
Image XML parsing0.00060.062120.0003
class_abstraction
Instantiating content class attribute0.00000.000730.0000
General
dbfile0.00080.0773160.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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: 8
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs