ZenphotoCMS Forum
Removing album doesn't work on IIS7 - 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: Removing album doesn't work on IIS7 (/thread-6573.html)



Removing album doesn't work on IIS7 - xeo - 09-02-2010

Removing album in zenphoto on IIS7 and Windows Server 2008 results in permissions error:
Warning: rmdir(D:/inetpub/vhosts/mydomain/httpdocs/zenphoto/albums/test/) [function.rmdir]: Permission denied in D:\inetpub\vhosts\mydomain\httpdocs\zenphoto\zp-core\class-album.php on line 933

All files inside folder are deleted but the folder itself is left. Permissions seems to be all right because simple direct php call rmdir('D:/inetpub/vhosts/mydomain/httpdocs/zenphoto/albums/test/'); succeeds. It looks like the folder is locked before actually deletion. Are there any ideas how to solve it?




Removing album doesn't work on IIS7 - acrylian - 09-02-2010

Well, if the permissons were alright, it would work...:-) Sorry, I neither know anything about IIS nor do we officially support IIS servers. Maybe a user will have an idea.




Removing album doesn't work on IIS7 - sbillard - 11-02-2010

Zenphoto has not locked that folder. It opens the folder, reads the content, then closs the folder before deleting the content, then the folder.