EllisLab text mark
Advanced Search
     
Trouble with unlink and Cache
Posted: 05 November 2008 09:27 PM   [ Ignore ]
Avatar
Joined: 2007-10-24
67 posts

Alright…here’s the warning that is showing up in the log:

ERROR 2008-11-05 16:24:02 --> SeverityWarning --> unlink(C:\wamp\www/system/cache/1c383cd30b7c298ab50293abdfecb7b18) [<a href='function.unlink'>function.unlink</a>]Permission denied C:\wamp\www\system\codeigniter\Common.php 63 

I’m running Windows (XP SP3…) and have made sure the cache folder is not checked as read only (it isn’t), yet I still get the error.  Why?

Thanks in advance,

Troy

 
Posted: 06 November 2008 12:34 AM   [ Ignore ]   [ # 1 ]   [ Rating: 0 ]
Joined: 2007-06-19
1002 posts

unlink() with PHP + Apache + Windows has been known to be troublesome.  There are various hacks things your can do to work around your issue.  They are documented in the user contributed notes in the PHP docs here: http://us.php.net/unlink.

Hope that helps,

Randy

 Signature 

My new therapist is working with me every day, the third one gave up… ohh