ZenphotoCMS Forum
I'm getting an error in controller. php - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: I'm getting an error in controller. php (/thread-2295.html)



I'm getting an error in controller. php - Catlely - 2008-02-28

Im getting this error:
Warning: unlink(e:\hosting\member\sertobon\maite/cache/code_c725750209bacf4971a45bd9c5ca7597.png) [function.unlink]:
Permission denied in e:\hosting\member\sertobon\maite\zp-core\controller.php on line 45

I have set permissions to that particular file but the error is still there.
Does anybody know what could be?

Thanks




I'm getting an error in controller. php - jsumners - 2008-02-28

What have you set the permissions to? That error means the PHP process does not have permission to delete the file.




I'm getting an error in controller. php - Catlely - 2008-02-28

Thanks for your reply.
I've set full permissions to the file controller.php but the error is still there.
Im running verion 1.1.4
Here is the link:
http://www.maitetobon.com




I'm getting an error in controller. php - Catlely - 2008-02-28

Thorugh FTP I deleted all the image files in the cache folder and the error message is gone ???




I'm getting an error in controller. php - Catlely - 2008-02-28

I found the problem. I forgot the add delete permissions to the album and cache folders.
BTW I'm using a Windows 2003 server, just in case if anyone run into the same problem.
Give read, write, execute and delete (RWXD) permissions to the NETWORK user.




I'm getting an error in controller. php - trisweb - 2008-02-28

Bingo, was about to recommend that. It should be whatever user the web server is running as.