it says : album failed to delete - and that's it. tried to delete images in subalbums - same story. says that images are deleted but actually they are still there!
It does not matter whay YOUR permissions are, it matters what the permissions of scripts running on your server are. You should insure that all folders have permissions of 0777.
I have granted full permissions through IIS for all of the zenphoto folders and I STILL canot delete a folder. All I get is the "Album failed to delete" mesage. Can anybody help with folder permissions in IIS? I have granted full access through the local file system to the "albums" folder and all folders under that.
Wow, I have absolutely the same problem. I'm using IIS 6.0/ If I create an album, put some pictures in it, and then try to delete it, pictures dissapear, but the album stays alive with error jhunnicutt wrote. I thought it was something wrong with permissions, so I gave IUSR_SERVER (SERVER is the name of my PC) full permissions on "albums" dir, but nothing changed. As I understand, IIS is not officially supported by zenphoto's dev-team. I miss my Carmic Coala Server with Apache on it :'-(
Sorry, "album failed to delete" is reported when the PHP "unlink" function fails. Why that would fail is between PHP and your Server software. Usually it is due to permissions issues, but sometimes PHP is configured not to allow that kind of operation for "security reasons".
If not, can you tell me which file in Zen is responsible for the delete album function? I would like to try a workaround that will allow me to delete folders.
Everything I have from PHP's website says that unlink() is not intended to be used to remove directories, only files, and that rmdir should be used for that purpose. I see that rmdir is used in many other capacities on throughout ZenPhoto. Is there an if/then statement tht could be written that would make the script determine if the intended item for deletion is a file or a directory?
My brain won't stop, but I'll make myself stop posting and wait for a reply. Thanks.
If there are non-zenphoto files in the folder zenphoto will not remove them and the remdir will fail with a not empty folder. I've never heard of this happening on appache, only on things like Macs, but you should check that.
Comments
some strange reason permissons for those "problematic" albums were 0755...
Thanks
Jeff
As I understand, IIS is not officially supported by zenphoto's dev-team. I miss my Carmic Coala Server with Apache on it :'-(
Thanks for your prompt reply on this. It helps a lot when support is quick.
Jeff
Thanks
Jeff
My brain won't stop, but I'll make myself stop posting and wait for a reply. Thanks.
Jeff
I checked the file permissions. Its set to 777.
This is a huge Problem!
Otherwise, what errors are repored?