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 Suggestions

Classifieds Suggestions Have an idea to make Classifieds even better?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old February 18th, 2013, 12:13 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: May 2003
Location: Spring Branch, Texas
Posts: 391
Upload Size Error

Our biggest support issue with Classifieds is that when someone uploads a photo or group of photos that is too large the program simply fails to produce an ad. Many times the user is shown a blank page, or they are just sent back to the ad details and upload pages or sometimes they are taken back to the index page and they assume there must be some kind of moderation delay.

It would be a real help if the program could simply yield a "Images too large, etc" error message instead of the current ambiguous failure.
creativepart is offline   Reply With Quote
Old February 18th, 2013, 02:54 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
Nothing we can do about either issue.

1. BLANK PAGE

You are using GD2 and as such GD2 is part of PHP when you upload a huge image and get a white page well that means the PHP process on your server has shut down as a result that means our program is not running so you refresh your page to restart PHP and your restarting the scripting so there is nothing to do there.

2. If you upload an image that is too large and your ad is processed but the image is nowhere to be found on that ad that means your image you tried to upload is over your PHP max image size allowed normally 2MB which means your server will drop it before your image even gets to us so we just normally process an ad that has no image since ads do not have to have images.

In both cases your talking about a process on the server which comes before the coding. There are threads on this support site that explain how to give more memory to PHP or alter the max upload filesize.
__________________
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 February 18th, 2013, 02:59 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: May 2003
Location: Spring Branch, Texas
Posts: 391
Is there some routine that could determine the size of the images that are being uploaded to stop the upload process by telling the user his images are too large? Like if he left out a required piece of info in a form.
creativepart is offline   Reply With Quote
Old February 18th, 2013, 03:21 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
Not if the server shuts down before our code can work which is what I was saying.

I can research GD issues but last time I checked there is not much you can do which is why i always suggest people use Imagemagick to process images.
__________________
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 February 25th, 2013, 06:23 PM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
one thing I will do in 8.3 is if the user is using GD2 I will add an ini_set line to increase PHP memory.
__________________
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 February 25th, 2013, 08:39 PM   #6 (permalink)
Member
Verified Customer
 
Join Date: May 2003
Location: Spring Branch, Texas
Posts: 391
We increased ours in PHP.ini to 25megs. It was a 2megs.
creativepart is offline   Reply With Quote
Old February 25th, 2013, 08:50 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
at two megs most anything would crash the default for a new php that is unaltered is 8mb most sites run at least 32mb though. I suggest minimum when using GD of 72M or 84M
__________________
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 February 25th, 2013, 10:07 PM   #8 (permalink)
Member
Verified Customer
 
Join Date: May 2003
Location: Spring Branch, Texas
Posts: 391
I also switched to ImageMagick at the same time I upped the max upload size.
creativepart is offline   Reply With Quote
Old February 26th, 2013, 05:25 AM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
yes imagemagick is not prone to stealing PHP memory as it is a server level application whereas GD2 is part of 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
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
Fatal error: Allowed memory size ERROR vbfan Photopost Pro Bug Reports 3 November 14th, 2009 01:48 PM
Max Upload size? ski-whiz Photopost Pro Bug Reports 3 January 24th, 2008 10:50 AM
Watermarks change size depending on image upload size. damon18 Classifieds Bug Reports 3 July 7th, 2007 04:23 PM
Upload Template ... Table Size Error?? alma townsend Photopost Pro How Do I...? 2 June 15th, 2007 07:07 AM
Upload size limit mark1285 Photopost Pro Installation & Upgrades 3 April 28th, 2005 08:36 AM


All times are GMT -5. The time now is 04:29 PM.

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