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 10th, 2011, 06:22 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Dec 2008
Posts: 101
Errors uploading large image files

Prior to a recent server change, our members could upload large (up to 16MB files) to our Photopost Pro galleries at SeriousCompacts.com and Mu-43.com - Micro Four Thirds User Group

These large file uploads no longer work. I was getting a generic "image(s) too large" white page error and then remembered that on the old server I had to modify the .htaccess to include the following:

#set php max upload size in MB
php_value upload_max_filesize 20M
#set max post size
php_value post_max_size 20M

#set max time script can take
php_value max_execution_time 200
#set max time for input to be recieved
php_value max_input_time 200

In the process of moving the new server, someone had commented out these lines. When I restored them and try the large file upload, I get the following error:

"Fatal error: Allowed memory size of 50331648 bytes exhausted (tried to allocate 19712 bytes) in /home/asabet/public_html/seriouscompacts.com/gallery/image-inc.php on line 116"


I contacted URLJet about this issue, and they responded that "php limits have been increased" and that the uploads should now work. However, with my test image (http://farm6.static.flickr.com/5064/...24a4fd49_o.jpg) I again got:

Fatal error: Allowed memory size of 50331648 bytes exhausted (tried to allocate 19712 bytes) in /home/asabet/public_html/seriouscompacts.com/gallery/image-inc.php on line 116


Contacted URLJet support again and got the following response:


Quote:
Amin,

The limits on the server are more than adequate to upload the image your referring to.

The issue is in the gallery program itself.
Fatal error: Allowed memory size of 50331648 bytes exhausted (tried to allocate 19712 bytes) in /home/asabet/public_html/seriouscompacts.com/gallery/image-inc.php on line 116

gallery/image-inc.php on line 116.... refers to a hard limit in the gallery's php settings, not the server. The part I wonder about is that the program need over 50mb to upload an 8.5mb image?
I explained to them that this software was working perfectly fine for us prior to the server change but was wondering whether you could help me with this.

As I said in another post, the new server removed support for exec in case that makes any difference here. We've been using GD2 all along.

Thanks,
Amin
asabet is offline   Reply With Quote
Old April 10th, 2011, 06:29 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,653
Amin it comes down to the processor your using.

It is quite common to see issues like this with GD2 and there are plenty of examples here. You can raise your PHP memory_limit to say 72MB.

However if your going to use GD2 as your image processor there is no way to upload huge images. GD2 will simply not process huge images since it is part of PHP. If you want to process huge images you need to use Imagemagick and that means your host needs to enable EXEC.
__________________
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 10th, 2011, 07:20 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Dec 2008
Posts: 101
The strange thing is that I was using GD2 even before the change to a newer server with the same host, and it worked fine back then .
asabet is offline   Reply With Quote
Old April 10th, 2011, 07:37 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,653
well you where using Imagemagick from what you told us as your previous threads dealt with disabling of exec.

Anyway I seriously doubt you where using GD2 to process images over 2-3mb. It just doesnt work since it requires too much memory from PHP and causes PHP to crash. Its very common a problem and nothing we can do in our program.

You can make sure under admin => upload options makes sure your image max width and height are no more than 1200 and your quality is around 70 or 80 but aside from that your only going to be able to process what your server's image processor lets you based on your server restrictions.
__________________
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 11th, 2011, 05:20 AM   #5 (permalink)
Member
Verified Customer
 
Join Date: Dec 2008
Posts: 101
Chuck, I'm pretty sure I was using GD2 all along with Photopost. My previous threads had to do with EXIF extraction not working due to getting rid of exec and also with ReviewPost issues after switching from ImageMagick to GD2.

At any rate, I guess I'm now stuck and will make the changes to the upload settings.
asabet is offline   Reply With Quote
Old April 11th, 2011, 09:29 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,653
Yeah its pretty cut and try GD2 only handles smaller images as it is tightly constained by PHP restrictions being 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
What's about uploading Image files? vFranky Photopost Pro How Do I...? 1 January 2nd, 2010 09:22 PM
Error uploading large files REVHEAD Photopost Pro How Do I...? 3 January 19th, 2008 07:30 PM
Problems uploading large files CavySpirit Classifieds Bug Reports 12 September 25th, 2006 08:57 AM
Problems uploading large files TimS General Discussion 1 February 28th, 2006 05:19 PM
Uploading large image times out A Geek Installs and Upgrade - vBulletin 3.0.X 4 December 11th, 2004 01:16 PM


All times are GMT -5. The time now is 08:10 PM.

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