PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old April 11th, 2008, 09:47 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jun 2006
Posts: 39
Removing uploads files

The PhotoPost /uploads/ directory keeps filling up with temporary files. I understand that they are deleted automatically if file permissions are set correctly. Can you guide me through correcting the problem? I am responsible for 3 PhotoPost installs.
webicity is offline   Reply With Quote
Old April 12th, 2008, 11:57 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,788
They will stay around for users having trouble processing the files or who abort upload. You can safely ftp to your gallery directory and remove all directories under uploads to clear the uploads.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old April 14th, 2008, 10:28 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jun 2006
Posts: 39
Are you sure about that? All three PP installs seem to collect these derelict files by the hundreds. I have been manually removing them, but in some cases it has caused PHP to choke up if I let it go too long, ("too many files" errors) which generates database errors. I got the feeling it was being caused by a file ownership/permissions problem or error I made in the install somewhere.
webicity is offline   Reply With Quote
Old April 15th, 2008, 07:37 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,788
if permissions are not correct or ownership it could prevent a file from being deleted sure. Uploads should be 777 as well as every directory under it
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old April 19th, 2008, 07:19 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Jun 2006
Posts: 39
The problem is that when the uploads file directories are created, the ownership is apache/apache, while the uploads directory is not. Where is that apache/apache coming from? What is the creating file?
webicity is offline   Reply With Quote
Old April 19th, 2008, 09:23 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,788
That is coming from your server. As long as permissions are READ WRITE EXECUTE you should not have a problem but contact your host to be sure
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old April 19th, 2008, 11:10 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Jun 2006
Posts: 39
1, I am the host. 2, if the permissions are apache/apache, that may be why they are not being deleted ---

3 out of 3 PhotoPost installs, different versions, two different servers, all piling up garbage that has to be manually cleaned, constantly. It's a pain. I'm asking what file/php is supposed to be doing the garbage collecting, because it simply isn't doing it.
webicity is offline   Reply With Quote
Old April 20th, 2008, 09:53 AM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,788
The file as soon as it is processed and moved to the data folder is deleted in uploads. If your files are not being deleted check your server error logs. We do a simple unlink command to delete the file from the uploads directory.

Different servers operate different depending on how they are setup but on my linux server i have directories created by apache and it does not create any issues as permissions are 777.

I am not a server tech which is why i stated to contact your host to look into it. You can see how we delete files by looking at uploadphoto or bulkupload php files.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old April 20th, 2008, 10:49 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Jun 2006
Posts: 39
I'll use this additional information (unlink, originating php file and the error log) and ask my Rackspace techs for suggestions and guidance. I'll let you know what I learn.

Thanks.
webicity is offline   Reply With Quote
Old April 21st, 2008, 07:55 AM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,788
Not a problem gonna be permissions i would think.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing price aacircle ReviewPost How do I...? 5 May 11th, 2008 10:14 PM
Batch/Zip Uploads blank. Single uploads ok. Mudcrutch Photopost Pro How Do I...? 2 August 23rd, 2007 10:41 AM
Upgrade RP 3.11 to 3.3: new uploads do not show in recent uploads on index page snoopy5 ReviewPost Installation & Upgrades 2 April 27th, 2006 09:04 AM
Upload completes, but files not saved in "files". trana Installs and Upgrade - vBulletin 3.0.X 6 May 19th, 2005 11:01 PM


All times are GMT -5. The time now is 06:37 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0