Clear the pages directory

Permalink Browser Info Environment
Hi,

Thank you so much for your add-on. I have implemented this using cron. However, I get the following error message:

Warning: rmdir(/var/www/vhosts/jabian.com/httpdocs/files/cache/pages): Directory not empty in /var/www/vhosts/jabian.com/httpdocs/updates/concrete5.6.3.1_updater/concrete/core/helpers/file.php on line 99

The pages directory inside of the cache directory does not get cleared then. Using the "Clear Cache" method from the Dashboard does clear out the pages directory.

Is there something I need to set differently for this to work via cron?

Thank you for your help.

Type: Discussion
Status: New
pblbsyl
View Replies:

concrete5 Environment Information

# concrete5 Version
5.6.3.1

# concrete5 Packages
Advanced Forms (1.11.5), MindNet Clear Cache (1.0), Page List+ (5.6.0.0.0.5.3).

# concrete5 Overrides
blocks/home_feature, blocks/page_list.php, blocks/content, blocks/search.php, blocks/autonav_2_27_2013.php, blocks/page_list, blocks/autonav.php, blocks/events, blocks/basic_test, blocks/guestbook, css/style.css, css/tabs.css, css/winxp.blue.css, single_pages/home.php, themes/jabian

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - Off

# Server Software
Apache

# Server API
apache2handler

# PHP Version
5.3.5

# PHP Extensions
apache2handler, bz2, calendar, Core, ctype, curl, date, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imap, ionCube Loader, json, ldap, libxml, mbstring, mcrypt, mysql, mysqli, odbc, openssl, pcre, PDO, pdo_mysql, PDO_ODBC, pdo_sqlite, Phar, Reflection, session, shmop, SimpleXML, snmp, sockets, SPL, standard, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib.

# PHP Settings
max_execution_time - 60
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
memory_limit - 256M
post_max_size - 16M
safe_mode - Off
safe_mode_exec_dir - <i>no value</i>
safe_mode_gid - Off
safe_mode_include_dir - <i>no value</i>
sql.safe_mode - Off
upload_max_filesize - 128M
ldap.max_links - Unlimited
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
odbc.max_links - Unlimited
odbc.max_persistent - Unlimited
pcre.backtrack_limit - 100000
pcre.recursion_limit - 100000
session.cache_limiter - nocache
session.gc_maxlifetime - 7200
safe_mode_allowed_env_vars - PHP_
safe_mode_protected_env_vars - LD_LIBRARY_PATH

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:44.0) Gecko/20100101 Firefox/44.0

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.