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 Installation & Upgrades

Photopost Pro Installation & Upgrades If you're having install or upgrade problems

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old January 31st, 2006, 09:25 AM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2006
Posts: 19
PHP Memory Error - Upload 2 or more files

Hello,

I have just upgraded to 5.3. I have been experiencing PHP memory errors since before the upgrade.

My previous solution was to increase the amount of memory that a PHP script can use, and to turn off the 'Resize if image is larger than allowed dimensions' option in the admin panel.

In 5.3, it seemed to fail with that error even after I had set the above option to 'no'. In image-inc.php (function resize_jpeg), this line fails, even if i set that option to 'no':
Code:
Content visible to verified customers only.
The call to this function that appears to break it is in uploadphoto.php:
Code:
Content visible to verified customers only.
The function create_thumb contains no check to see if the large image shoudl be resized or not. What I did to keep that memory error away is to change the following in create_thumb from this:
Code:
Content visible to verified customers only.
To this:
Code:
Content visible to verified customers only.
This has gotten rid of the ugly php error in favor of a PhotoPost error, but I don't know enough about PHP to know if i have accidentially broke somethign else. As well, I'd love to know what's wrong, whether it's something in my installation, or if it's a bug.

The problem that I would like information on is that PhotoPost appears to resize images regardless of the setting of the option mentioned above. Whether it is creating the images, or just not exiting out of the script correctly i'm not sure.

Has anyone else experienced this problem? Do you have any information that would help me to fix it?

Thanks in advance!

EDIT: I got so wrapped up in my above question, I forgot to ask about my second problem:

We are posting images no larger than 600 x 750. When a single file is posted, it works fine. When more than 1 file is posted (if I set the files to upload setting to, say 2), I get either the php memory error, or with the fix above, the photopost error. Has there been any reported cases of this with multiple uploads? And any suggestions on how to fix?

If you need more informaton, please let me know!

Last edited by DesmondSweeney; January 31st, 2006 at 09:30 AM.
DesmondSweeney is offline   Reply With Quote
Old January 31st, 2006, 04:56 PM   #2 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2006
Posts: 19
Hello Again,

We ended up rolling back to 5.2.1. We put a spit/elastic fix in for the memory errors (see http://www.photopost.com/forum/showthread.php?t=122687).

The only problem that remains now thus far is when uploading 2+ LARGE files. We get a 'Page Not Found' error. The server is disconnecting us.

Any idea why? This may not be at all a PhotoPost problem, but rather a server config problem. Suggestions?

Thanks!
DesmondSweeney 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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error memory(NOT A BUG) jlrios Photopost Pro Bug Reports 2 October 18th, 2005 01:36 PM
Big files on PP 5.11 - Not upload and no error messages ehm Photopost Pro Installation & Upgrades 3 June 18th, 2005 07:58 AM
Fatal error: Allowed memory .....?? blifereal Photopost Pro Installation & Upgrades 2 March 31st, 2005 09:17 PM


All times are GMT -5. The time now is 05:06 PM.

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