Member
Member
pristine   2007-11-25, 13:04
#1

For images that I've uploaded via FTP, I can't delete them from the admin front end. However, when I tried uploading an image from the GUI, I could delete it from there too. Is the problem with the deletion a possible bug?

Member
Member
sbillard   2007-11-26, 03:27
#2

Can you provide some more information? Filenames of the image you can delete and of the ones you cannot delete. Can you delete them via FTP? It is possible to upload files with PHP which have characters in them that prevent zenphoto from dealing with them.

Member
Member
milesenglish   2007-12-03, 18:49
#3

I am having a similar problem. I'm using Stoppeddesign and when I try to delete a photo from an existing album I get the following error message:
Warning: unlink(/home/mileseng/public_html/zenphoto/albums/imoc_07/P1020058.jpg): Permission denied in /home/mileseng/public_html/zenphoto/zen/class-image.php on line 99

Warning: Cannot modify header information - headers already sent by (output started at /home/mileseng/public_html/zenphoto/zen/class-image.php:99) in /home/mileseng/public_html/zenphoto/zen/admin.php on line 86

Any thoughts?

Member
Member
tummblr   2007-12-03, 19:31
#4

If you mean deleting images that you uploaded from the file system, it might simply be a matter of permissions. When you upload via FTP, you own the files, not PHP. And the default permissions are probably something like 644. Try chmod 777 on your uploaded files.

Member
Member
milesenglish   2007-12-03, 19:39
#5

Good call, for some reason just the album/folder I was working in had it's permissions set to 755 instead of 777. I changed it and it's now good. Thanks for the quick reply!

Member
Member
milesenglish   2007-12-03, 20:00
#6

I may have spoke too soon! Now I can't change my theme back to Stoppeddesign. I changed to default-dark while I was trouble shooting. I wonder if I inadvertently changed a permission that is now not allowing me to change themes. What controls the ability to swap themes? I did check my themes folder and all the themes are there. And it's not just Stoppeddesign I can't use - I can't change from default-dark to anything.

Member
Member
milesenglish   2007-12-03, 20:08
#7

Forget it, I searched the forums and found a suggestion to delete the theme.txt file from the cache folder. That worked and I'm back to my preferred theme.

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