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 August 2nd, 2010, 01:53 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Apr 2010
Posts: 61
Fatal Error Image Message

I have been using my gallery with no problems for a few months now.
I have not changed or touched any settings with fear that it would start getting glitchy on me.

Well today I went to upload an image and it loaded it to my queue
and showed me this error

Fatal error: Allowed memory size of 75497472 bytes exhausted (tried to allocate 19200 bytes) in /data/21/2/93/15/2093993/user/2296109/htdocs/image-inc.php on line 116

What does this mean ?
How do I empty out my queue?

THANKS !
Norma
Norma Kennedy is offline   Reply With Quote
Old August 2nd, 2010, 08:54 AM   #2 (permalink)
Member
Verified Customer
 
Join Date: Apr 2010
Posts: 61
This is what I currently have in my pp-inc.php file:

error_reporting (E_ALL ^ E_NOTICE);
define('PP_SCRIPT', 'PP_Pro');
ini_set("memory_limit", "72M");

I know on other post you mention to change this line but it allready is set
properly.

So what do I do now?

thanks, Norma
Norma Kennedy is offline   Reply With Quote
Old August 2nd, 2010, 09:06 AM   #3 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
Well the only possible thing for you to try is two things because your memory is already enough.

1. Delete all numeric directories under your uploads directory.

You can then try uploading

2. Make sure under admin upload options your max image height width are 1500 or below.

You can try uploading

3. Switch to Imagemagick as your image processor if at all possible.


The issue is with GD2 and server memory so you must try these steps one at a time in order.
__________________
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 August 2nd, 2010, 09:10 AM   #4 (permalink)
Member
Verified Customer
 
Join Date: Apr 2010
Posts: 61
Quote:
Originally Posted by Chuck S View Post
Well the only possible thing for you to try is two things because your memory is already enough.

1. Delete all numeric directories under your uploads directory.
Is this in the admin panel or the FTTP on my server?
You can then try uploading

2. Make sure under admin upload options your max image height width are 1500 or below.

You can try uploading

3. Switch to Imagemagick as your image processor if at all possible.


The issue is with GD2 and server memory so you must try these steps one at a time in order.
Thanks!
Norma Kennedy is offline   Reply With Quote
Old August 2nd, 2010, 09:12 AM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
Your welcome
__________________
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 August 2nd, 2010, 09:16 AM   #6 (permalink)
Member
Verified Customer
 
Join Date: Apr 2010
Posts: 61
Are These the files you are talking about?
I have 4 pages of these files. I should delete all files that have a numeric number ?
Just wanting to double check as I would hate to delete something I should not !


Parent Directory
1 File Folder 02-Aug-2010 10:02 2093993.2296109 rwx rwx rwx
10 File Folder 22-Jul-2010 07:53 2093993.2296109 rwx rwx rwx
100 File Folder 19-Jun-2010 22:37 2093993.2296109 rwx rwx rwx
101 File Folder 01-Aug-2010 09:21 2093993.2296109 rwx rwx rwx
102 File Folder 21-Jun-2010 10:35 2093993.2296109 rwx rwx rwx
103 File Folder 20-Jul-2010 15:15 2093993.2296109 rwx rwx rwx
104 File Folder 13-Jul-2010 09:30 2093993.2296109 rwx rwx rwx
106 File Folder 16-Jul-2010 17:00 2093993.2296109 rwx rwx rwx
107 File Folder 28-Jul-2010 20:16 2093993.2296109 rwx rwx rwx
109 File Folder 21-Jul-2010 21:14 2093993.2296109 rwx rwx rwx
11 File Folder 27-Jul-2010 17:10 2093993.2296109 rwx rwx rwx
110 File Folder 03-Jul-2010 18:36 2093993.2296109 rwx rwx rwx
112 File Folder 29-Jun-2010 09:28 2093993.2296109 rwx rwx rwx
113 File Folder 08-Jul-2010 14:45 2093993.2296109 rwx rwx rwx
114
Norma Kennedy is offline   Reply With Quote
Old August 2nd, 2010, 09:51 AM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
Yes ALL numeric directories beneath UPLOADS can be safely removed. You dont want to touch anything under DATA.
__________________
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 August 2nd, 2010, 10:11 AM   #8 (permalink)
Member
Verified Customer
 
Join Date: Apr 2010
Posts: 61
Yay Chuck this worked Beautifully !

If this happens again will similar files re build and should I try deleting them again?

Hey.... I am starting to get around much better now

Thanks !
Norma
Norma Kennedy is offline   Reply With Quote
Old August 2nd, 2010, 10:19 AM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
More than likely one large file became stuck and prevented other files so you where clogged.
__________________
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 January 29th, 2011, 04:16 PM   #10 (permalink)
Member
 
Join Date: Jun 2003
Posts: 117
Quote:
Originally Posted by Chuck S View Post
More than likely one large file became stuck and prevented other files so you were clogged.
Is there any way to make it so when a large image upload is attempted & fails that it doesn't clog the queue?

We have 1300+ members and they frequently upload an image that is too large and clogs their queue (and if they're unregistered, it not only affects them, but all other unregistered users too).

When they get the error message that the image was too large, they resize it and then get frustrated because when they try again they think their newly resized image is too large also - when in actuality, the original image is still sitting there causing the block.

It would be ideal if that "too large image" was not stored in the queue, so once they got the error message that it was too large, they could immediately resize and upload again without us having to intervene and clear out the too large image out of their queue.

Suggestions?
stmpspaz is offline   Reply With Quote
Old January 29th, 2011, 07:09 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
Not really if the image is stopped by the server. If your server stalls PHP then the script can not do anything. we clear things we can in the script but if your server stops php our script is not running hense there is nothing it can do.

I would suggest you use imagemagick as a processor and if not then make what changes you can when using GD2 like adding more memory via an ini_set line and also under upload options making sure your max image thresholds are like 1200 or so not 2500.
__________________
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 January 29th, 2011, 11:13 PM   #12 (permalink)
Member
 
Join Date: Jun 2003
Posts: 117
I've already added both (to pp-inc.php):
ini_set("memory_limit", "48M");
ini_set("max_execution_time", 0);
with no change in results.

My "Maximum multimedia upload size in Kb" was 8000, so I lowered it to 1200. Then uploaded a photo that was 1900KB - it still loaded fine. Also tried a 2500KB picture with got the error message and then clogged the queue.

So I don't understand what the "Maximum multimedia upload size in Kb" really does if it doesn't stop a member from uploading something larger than that.

Last edited by stmpspaz; January 29th, 2011 at 11:25 PM.
stmpspaz is offline   Reply With Quote
Old January 30th, 2011, 12:45 AM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
multimedia image setting has nothing to do with images those are the max height width settings at top of upload options.

You can never upload a file over your PHP servers max upload filesize which is normally 2mb unless you have modified PHP so anything over 2048 and you will have a problem.

Nothing is going to stop a member uploading anything if it makes the server stop PHP. when your server stops PHP it stops our application which is what I said above. Server trumps software every time.
__________________
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 January 30th, 2011, 03:04 PM   #14 (permalink)
Member
 
Join Date: Jun 2003
Posts: 117
I want to make sure I understand this correctly, so please bear with me if I'm asking you to repeat yourself.

If a person selects a large file to upload (greater than the 2MB PHP server max) then there isn't really anything the software can do to warn them / stop the upload to the queue as they never get back to the Photopost software because the PHP upload croaks (and leaves the large uploaded file in the "queue" which blocks them from further uploads) - Correct?

So it doesn't really matter what I set the Max allowable image width/height in pixels to as this check is done AFTER the image is uploaded, so it never gets there (assuming the file is larger than 2MB), Correct?

Is there a way in the Photopost software BEFORE they upload to check to see if their upload queue is "blocked" (or even if it's totally empty) and either:
1) Give them a warning that says the queue needs to be cleared contact xyz for assistance
or
2) Delete all files that reside in their upload queue before attempting the next PHP upload?
or
3) A combined option - Warning, your queue is blocked, would you like to delete the failed images that are causing you upload problems? With a yes/no option for them to proceed with.

It appears from searching the forum that this is a common problem and if there was a way to address it from the software/user end it would be fantastic!
stmpspaz is offline   Reply With Quote
Old January 30th, 2011, 04:02 PM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
Well its not really about size really. You can alter your PHP settings to allow larger file uploads but your using GD2 which is part of PHP.

It really is knowing your server limitations. There are things you can do but if your going to be processing large file uploads you really need to use Imagemagick which is not part of PHP.

Photopost is a PHP program and constrained by your php settings on the server. If PHP shuts down then our script is not running and therefore can not do anything.

Now we could in the future as there is no option for that right now do some uploads clear thing but there is a real reason it is not done because that would for alot of people be a bug. what happens if you upload a large amount of files and you do not process them all and want to come back later and finish. You expect them to be there.

If you upload a file larger than your server allows that file is DELETED. If you upload a file larger than GD2 can process then GD2 caused PHP to shut down. Thats the issue. One that happens our script is no longer running till you refresh your page.

Now as I have stated in numerous threads you can try lowering the max image sizes in upload options that will help from having alot of GD2 issues to happen but there is a size limit for any server setup if your using GD2 and large images where they will always cause an issue. Once you know this the easiest thing to do is make sure you use mogrify ( imagemagick ). You will not have this issue using imagemagick
__________________
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 in ..../image-inc.php mvandiermen General Discussion 5 May 5th, 2010 01:17 PM
Fatal Error Uploading Image pocuser Classifieds Installation & Upgrades 9 February 2nd, 2010 08:57 AM
Image Uploading Error message Basit PhotoPost Pro Support Forums 2 August 12th, 2009 05:30 PM
Fatal error when I try to upload an image attroll Photopost Pro How Do I...? 17 June 17th, 2008 12:01 PM
Fatal error when I try to upload an image la_scrapbookeuse Photopost Pro How Do I...? 10 May 22nd, 2008 08:51 PM


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

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