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 Classifieds Support > Classifieds How do I...?

Classifieds How do I...? Wondering how to do something in Classifieds?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old August 21st, 2006, 02:32 AM   #21 (permalink)
Member
Verified Customer
 
Join Date: Jul 2006
Posts: 100
Thats nice to hear, I just got the impression that you saw no need for this.
daxter is offline   Reply With Quote
Old September 3rd, 2006, 03:36 PM   #22 (permalink)
Member
Verified Customer
 
Join Date: Jul 2006
Posts: 100
I got a report from a user that he got this error while uploading an image:
Fatal error: Allowed memory size of 15728640 bytes exhausted (tried to
allocate 7936 bytes) in /kunder/baatplassen.no/www/p/image-inc.php on line
106


The image was only 124kb, but 1984x1488px.
I did som testing and apparently this is a generic problem. After reducing it to 1000px width it uploaded without any problems, even if filesize was increased.

After my testing all images that failed are stored at the server....
daxter is offline   Reply With Quote
Old September 3rd, 2006, 03:43 PM   #23 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,685
They will always be in your uploads directory if your PHP upload fails
__________________
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 September 3rd, 2006, 04:18 PM   #24 (permalink)
Member
Verified Customer
 
Join Date: Jul 2006
Posts: 100
No comment to the problem I describe??
daxter is offline   Reply With Quote
Old September 3rd, 2006, 05:52 PM   #25 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,685
That is a server memory issue with using GD2. You can do a search here but this should help you.

http://www.photopost.com/forum/showp...15&postcount=4
__________________
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 September 4th, 2006, 05:18 AM   #26 (permalink)
Member
Verified Customer
 
Join Date: Jul 2006
Posts: 100
Thanks, that seems to have solved the problem.

Strange as the file was only 124kb. If the image width was 1000px I could upload a 1MB image without getting this problem.

Is it possible to say how big the image can be (in pixels) with the 32MB setting you refered to?
daxter is offline   Reply With Quote
Old September 4th, 2006, 10:29 AM   #27 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,685
No your using GD2 and GD2 uses PHP memory so there is no rhyme or reason to the error as it all depends on the memory needed to upload. If there is not enough GD2 crashes PHP
__________________
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 September 4th, 2006, 03:39 PM   #28 (permalink)
Member
Verified Customer
 
Join Date: Jul 2006
Posts: 100
Ok. But how do I set up PPC and server to be sure to avoid getting PHP crashes during upload?
daxter is offline   Reply With Quote
Old September 4th, 2006, 05:01 PM   #29 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,685
Edit your PHP settings and give it more memory and no timeout or use Imagemagick as your processor.

This is a universal issue with any upload process with you try uploading larger files with GD2
__________________
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 November 2nd, 2006, 02:56 PM   #30 (permalink)
Member
Verified Customer
 
Join Date: Nov 2004
Posts: 62
I'm upgrading some sites today and never knew about this nasty little glitch that left files behind. We have over 2gbs of lost and disconnected images and it's going to take ages to sort through all these folders, one by one and delete them from the mix.

Sure would be a good feature to have, or even a way to know that the file needed to be fixed, without bumping into it via a thread like this.

Other than that, it was the smoothest upgrade I've done yet.
rastacat is offline   Reply With Quote
Old November 15th, 2006, 04:17 PM   #31 (permalink)
Member
Verified Customer
 
Join Date: Nov 2005
Posts: 116
Quote:
Originally Posted by daxter View Post
We have a number of images from deleted ads stored in our data folders.
Did a test and images files are not deleted when deleting an image from an ad, or when the ad itself is deleted.

As far as I can tell there are no tools to delete these orphaned image files?
This is scary. Has this ever been resolved? Do the images just pile up on the server?
CGMathis is offline   Reply With Quote
Old November 24th, 2006, 09:16 PM   #32 (permalink)
Member
Verified Customer
 
Join Date: Nov 2005
Posts: 116
Anybody?
CGMathis is offline   Reply With Quote
Old November 25th, 2006, 03:11 PM   #33 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,685
The massive overload it would require to write a recursive script like this as Michael has posted since people have asked about this in Photopost for quite a while and the sheer number of queries makes it something your not going to see offered by our company anytime soon.
__________________
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 November 25th, 2006, 09:07 PM   #34 (permalink)
Member
Verified Customer
 
Join Date: Nov 2005
Posts: 116
Quote:
Originally Posted by Chuck S View Post
The massive overload it would require to write a recursive script like this as Michael has posted since people have asked about this in Photopost for quite a while and the sheer number of queries makes it something your not going to see offered by our company anytime soon.
What do you recommend as a method to keep one's server from filling up with images? How would you go about deleting unwanted and outdated files?
CGMathis is offline   Reply With Quote
Old November 26th, 2006, 02:22 PM   #35 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,685
well if permissions are correct on the server there should be no unwanted files thats the immediate answer. I would begin to wonder if you persistently suffer from files not being deleted when we issue an unlink command in the script why this happens that is going to help you more than anything understanding why the server is not allowing it.

As far as cleaning up not much you can do except manually but classifieds is not hard unless your site is real busy. You can close your site for a few days or a week make sure your using your expire cron and then delete all ads till you get down to a point where you know only these are left and clean out files from the data directories except the few ads.
__________________
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
Data Directory on a Different Server? swanienufan Photopost Pro How Do I...? 3 June 9th, 2009 10:04 AM
Data Directory -- subdirectory for every ad? creativepart Classifieds Installation & Upgrades 2 March 21st, 2006 08:34 AM
using old 'data' directory w/new install webananda Photopost Pro Installation & Upgrades 1 February 27th, 2006 01:58 PM
Data directory virtual path Giray ReviewPost Installation & Upgrades 2 January 16th, 2006 09:46 AM
data directory images... djroketboy Classifieds Suggestions 1 April 3rd, 2005 06:17 AM


All times are GMT -5. The time now is 11:32 AM.

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