View Full Version : Deleting Photos
October 18th, 2009, 09:13 PM
I've tried deleting members photos and although it removes them from the gallery, it leaves the photo on the server in the appropriate data directory.
How can I remove the photos from the data directory when I delete the actual photo via PP?
October 18th, 2009, 10:11 PM
If you delete photos they should be deleted from the data directory also. I know the software issues a delete command for the files. do you recieve any errors?
I would suspect server permission issues if files are not removed.
October 18th, 2009, 10:46 PM
Thanks ofr the quick reply chuck,
I changed permissions from 755 to 777 and it now deletes the photos, so I assume that 777 is the correct permissions for the data directory and I can't tighten the security any further on this.
Thanks for your help in resolving this chuck.
October 19th, 2009, 08:13 AM
Well yes and no ;)
PhotoPost PHP Photo Sharing Photo Gallery Installation Guide (http://www.photopost.com/installphp.html)
Our install directions need to be followed to the tee for proper operation so yes the data and uploads directories need to be 777 at every level as noted.
Only very few servers could do 755 and work properly but that requires some work by the host which most hosts dont do so for 99.9% of peoples servers 777 is what it has to be. I am sure you probally say upload issues as well with improper permissions set as well.
October 19th, 2009, 10:07 AM
My server is obviously not configured then.
Thanks again Chuck.
October 19th, 2009, 10:19 AM
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.