![]() |
|
can't delete subalbums - 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: can't delete subalbums (/thread-4501.html) |
can't delete subalbums - tuuletallaja - 2009-01-20 it says : album failed to delete - and that's it. can't delete subalbums - sbillard - 2009-01-20 zenpage probably does not have permissions to do deletes on your setup. can't delete subalbums - tuuletallaja - 2009-01-21 no, it can't be. i'm an administrator and i have set all rights under options>admin configuration. or what did you mean...? can't delete subalbums - acrylian - 2009-01-21 sbillard refers to the permission on the file system's folders. can't delete subalbums - tuuletallaja - 2009-01-21 i have permission to file system. which folders/files permissions i need to change? can't delete subalbums - sbillard - 2009-01-22 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. can't delete subalbums - tuuletallaja - 2009-01-22 solved, thank you! can't delete subalbums - tuuletallaja - 2009-01-22 a, maybe because i uploaded those subalbums via ftp...? can't delete subalbums - jhunnicutt - 2010-08-10 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. Thanks Jeff can't delete subalbums - yegorov-p - 2010-08-10 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. can't delete subalbums - sbillard - 2010-08-10 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". can't delete subalbums - jhunnicutt - 2010-08-11 Do you know what part of PHP would be required by ZenPhoto? If it is a common problem in php.ini I could alter the config to adapt. Thanks for your prompt reply on this. It helps a lot when support is quick. Jeff can't delete subalbums - jhunnicutt - 2010-08-11 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. Thanks Jeff can't delete subalbums - jhunnicutt - 2010-08-11 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. Jeff can't delete subalbums - sbillard - 2010-08-11 remdir is used when it is a directory can't delete subalbums - Philipp - 2011-01-15 I have the same Problem here. Running Appache in a shared host environment. (can not touch the php.ini) I checked the file permissions. Its set to 777. This is a huge Problem! can't delete subalbums - sbillard - 2011-01-15 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. Otherwise, what errors are repored? |