Page 1 of 1

Warning: glob() has been disabled for security reasons

PostPosted: September 24th, 2010, 3:02 am
by kelljery
hello,

I got this message when I try to clear the cache :

Warning: glob() has been disabled for security reasons in /var/www/vhosts/www.mysite.com/web/wp-content/plugins/quick-cache/includes/functions/purging-routines.inc.php on line 74

It seems that my hosting provider has disabled glob(). Is there any way to make it work another way ?

If not, can I delete manually all the files in /cache/ directory ?

Thanks for your help,
kelljery

Re: Warning: glob() has been disabled for security reasons

PostPosted: September 29th, 2010, 11:00 am
by Jason Caldwell
Hi there. Thanks for reporting this.
Who is your hosting provider please?


To answer your question. Yes. You can simply delete the files from your cache/ directory manually. It's also fine to leave them all in there. Quick Cache will still be able to run properly without the garbage collection system, because it checks the modification time on each cache file before it's served. The garbage collection system runs to keep things nice and tidy at all times, but it's NOT required.