Member
Member
tuuletallaja   2009-01-20, 13:31
#1

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!

Member
Member
sbillard   2009-01-20, 19:26
#2

zenpage probably does not have permissions to do deletes on your setup.

Member
Member
tuuletallaja   2009-01-21, 10:48
#3

no, it can't be. i'm an administrator and i have set all rights under options>admin configuration. or what did you mean...?

Administrator
Administrator
acrylian   2009-01-21, 13:41
#4

sbillard refers to the permission on the file system's folders.

Member
Member
tuuletallaja   2009-01-21, 14:50
#5

i have permission to file system. which folders/files permissions i need to change?

Member
Member
sbillard   2009-01-22, 00:12
#6

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.

Member
Member
tuuletallaja   2009-01-22, 10:33
#7

solved, thank you!
some strange reason permissons for those "problematic" albums were 0755...

Member
Member
tuuletallaja   2009-01-22, 11:32
#8

a, maybe because i uploaded those subalbums via ftp...?

Member
Member
jhunnicutt   2010-08-10, 19:58
#9

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

Member
Member
yegorov-p   2010-08-10, 20:59
#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.
As I understand, IIS is not officially supported by zenphoto's dev-team. I miss my Carmic Coala Server with Apache on it :'-(

Member
Member
sbillard   2010-08-10, 21:03
#11

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".

Member
Member
jhunnicutt   2010-08-11, 03:25
#12

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

Member
Member
jhunnicutt   2010-08-11, 03:29
#13

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

Member
Member
jhunnicutt   2010-08-11, 04:11
#14

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

Member
Member
sbillard   2010-08-11, 16:44
#15

remdir is used when it is a directory

Junior Member
Junior Member
Philipp   2011-01-15, 02:32
#16

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!

Member
Member
sbillard   2011-01-15, 07:05
#17

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?

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.