-
Bug
-
Resolution: Fixed
-
Minor
-
2.0.3, 2.1, 2.2
-
moodle.org
-
Any
-
MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
-
MOODLE_20_STABLE, MOODLE_21_STABLE
-
w26_
MDL-28161_m22_caches -
I get the following PHP Warnings in error_log and in browser (debug mode on) when purging caches:
PHP Warning: Base directory /var/www/vhosts/moodle.org/data/cache/htmlpurifier does not exist,\n please create or change using %Cache.SerializerPath in /var/www/vhosts/moodle.org/html/lib/htmlpurifier/HTMLPurifier/DefinitionCache/Serializer.php on line 133, referer: http://moodle.org/admin/purgecaches.php
|
However this directory exists and is read & writable by the Apache user id.
# ls -hld /var/www/vhosts/moodle.org/data/cache/htmlpurifier
|
drwxrwxr-x 3 apache apache 4.0K Jul 3 13:46 /var/www/vhosts/moodle.org/data/cache/htmlpurifier
|
|
# ls -hl /var/www/vhosts/moodle.org/data/cache/htmlpurifier
|
total 4.0K
|
drwxrwxr-x 2 apache apache 4.0K Jul 3 13:46 HTML
|