Every time my cron job runs I get the following errors:
First --
warning: rmdir(misc/fscache//A9): Directory not empty in /home/dajudge2/public_html/dr/main/modules/fscache.module on line 368.
Then --
warning: rmdir(misc/fscache//A9/FD): Permission denied in /home/dajudge2/public_html/dr/main/modules/fscache.module on line 368.
That directory (and I don't understand the // ) IS in fact empty. I'm tempted to just delete the directory but since I don't understand how fscache works, I don't know but what that emptry directory actually serves a purpose.
The code starting at line 368 is:
function _fscache_generate_cache_name($offset = 0) {
$fname = strtoupper(dechex(time()+$offset));
$fname = strrev($fname);
return $fname;
}
What to do?
gil
Comments
Comment #1
gordon CreditAttribution: gordon commentedI am not too sure but try removing the "/" from the end of the path. I have add a fix that will strip that automatically, so give this a try.
Comment #2
(not verified) CreditAttribution: commentedComment #3
stevryn CreditAttribution: stevryn commentedThis same error is present on my site when the cron job runs (via poormanscron), the errors are generated. I have removed the / from the path but it has not helped.
Message rmdir(public/files/fscache/13/3E): Permission denied in C:\www\webroot\drupal\modules\fscache.module on line 371.
Message rmdir(public/files/fscache/13): Directory not empty in C:\www\webroot\drupal\modules\fscache.module on line 371.
Comment #4
gordon CreditAttribution: gordon commentedthe web server needs full permission to all the directories under the fscache dir. it will try to clean up if it can.
Comment #5
(not verified) CreditAttribution: commented