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 January 30th, 2007, 01:48 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Aug 2004
Posts: 17
Exclamation Uploading problems - blank screen, images in queue

I had a user report a problem uploading and I looked in the upload directory. To my horror, a few dozen users have tried uploading photos over the past 15 days and they are not being processed. I tried uploading myself and when you click upload/submit, you just get a blank page. I've done the following:
  • Upgraded to the latest version of PhotoPost PHP
  • Verified that the permissions on the data and uploads directories were set properly (to 777) and that the permissions were applied to lower directories
  • Rebooted / Restarted SQL and APACHE
  • Checked PHP settings and verified that It's set to allow uploads up to 2MB
  • Verified that GD is working
  • Performed a YUM update on the server and updated several OS components, restarted server

Why the blank screen and images going unprocessed? I've confirmed that they make it into the upload directory properly, and then nothing. The images show to be in the users queue if the user tries to upload again. How can I force the queued images to process? What could be causing this problem? Is there any way to disable uploads and post a message about the problem until I can get it resolved? Please help! Thanks!
J.R. Rogers is offline   Reply With Quote
Old January 30th, 2007, 04:54 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,680
Common GD processor issue since it uses PHP memory. This should help

http://www.photopost.com/forum/showp...97&postcount=2
__________________
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, 2007, 05:57 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Aug 2006
Posts: 63
had a user with similar issues just today!

Implemented the code
DST Daddy is offline   Reply With Quote
Old January 30th, 2007, 06:04 PM   #4 (permalink)
Junior Member
Verified Customer
 
Join Date: Aug 2004
Posts: 17
Quote:
Originally Posted by Chuck S View Post
Common GD processor issue since it uses PHP memory. This should help

http://www.photopost.com/forum/showp...97&postcount=2
Code:
Content visible to verified customers only.
Thanks, Chuck. What exactly does this do? It looks like it overrides the PHP limit of 2MB for file uploads and increases the amount allowed to 60MB. What are the pitfalls of doing this so I understand the risks?
J.R. Rogers is offline   Reply With Quote
Old January 30th, 2007, 07:08 PM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,680
Nope it overrides the memory limit and gives more memory to PHP

Your PHP is choking cause GD2 is using all the 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 January 31st, 2007, 08:27 AM   #6 (permalink)
Junior Member
Verified Customer
 
Join Date: Aug 2004
Posts: 17
Quote:
Originally Posted by Chuck S View Post
Nope it overrides the memory limit and gives more memory to PHP

Your PHP is choking cause GD2 is using all the memory
Ah. Thank you. That seems to have fixed the problem.

JR
J.R. Rogers is offline   Reply With Quote
Old February 3rd, 2007, 07:44 AM   #7 (permalink)
Junior Member
Verified Customer
 
Join Date: Feb 2005
Location: Rotterdam
Posts: 26
Send a message via MSN to Freakpyromaniac
I have the same problem butr can find the phrase that you are showing. This is my whole PP-inc.php file.

Quote:
$contentmeta $nocachetag $headtags $javapopup $headslide $stylesheet $ajaxcode
"; if ( file_exists($newheader) ) { print $header; if ( $printheader == "yes" ) { @include( $newheader ); } } else { print $header; } } // // Now lets put them into the Who's Online table // if ( $Globals['onlinepal'] == "yes" || $Globals['displayonline'] == "yes" ) { update_whoonline( $thiscat ); // Cleanup old records (number of seconds) if ( THIS_SCRIPT == "ppindex" ) { $expire = time() - 600; $resultb = ppmysql_query("DELETE FROM {$Globals['pp_db_prefix']}iponline WHERE date < $expire", $link); } } // Does the admin need a reminder? if ( $Globals['ppboards'] == "closed" && $User['adminedit'] == 1 ) { echo "

Your boards are currently closed!
"; } // That's it! $Globals['printheader'] = "yes"; return; } function printfooter( $headers = "yes" ) { global $Globals, $User, $Style, $vbfooter, $ppstarttime; // Removing the line below constitutes a violation of your License Agreement // and will result in significant penalities if removed. print "
{$Globals['cright']}

"; // Set this to 1 if you want to see debug information (only prints for admins) // Set this to 2 is you want to print out queries and timing info $showsqldebug = 0; $ppendtime = microtime(); $starttime = explode(" ", $ppstarttime); $endtime = explode(" ", $ppendtime); $totaltime = $endtime[0] - $starttime[0] + $endtime[1] - $starttime[1]; $totaltime = number_format( $totaltime, 5 ); if ( $showsqldebug > 0 && $headers == "yes" ) { print "
Page generated in $totaltime seconds with {$Globals['number_queries']} queries
"; if ( $User['adminedit'] == 1 && $showsqldebug == 2 ) { for ($x = 0; $x < count($Globals['queries']); $x++ ) { print ($x+1). ": {$Globals['queries'][$x]} ({$Globals['timing'][$x]} sec)
"; } } print "
"; } if ( !empty($vbfooter) && $headers != "no" ) { print $vbfooter; } else { if ( $headers == "yes" && file_exists($Globals['footer']) ) { @include( $Globals['footer'] ); } } print "
Freakpyromaniac is offline   Reply With Quote
Old February 3rd, 2007, 08:49 AM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,680
You got to look up higher in the beginning of the pp-in.php file you will see the line noted about error_reporting
__________________
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 20th, 2007, 08:16 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Jan 2007
Posts: 260
I Did exactly like you wrote:

Code:
Content visible to verified customers only.
But I still get the same error??

Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 2432 bytes) in /customers/godtfoto.dk/godtfoto.dk/httpd.www/image-inc.php on line 102

Itīs very strange because you only have the problem with some pictures.
Right after i get the error I can upload several other pictures without any problems. But as soon I try to upload the first picture again I get the error again.
And Iīm not the only one many of the members get this error with one or two pictures???

After you get the error you can see that you have a picture in queue.
And when you try to overide the normal upload procedure and choose to upload the picture you already have in the queue it sometimes says that everything went ok, but the picture are not showing up anywhere???

There must be a solution to this???

Maybe I could try to e-mail one of the pictures that make that error to you Chuck?

I already tried to save it again with a new name and even from differnet programs but nothing helps.
KlausM is offline   Reply With Quote
Old February 21st, 2007, 09:41 AM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,680
The error your noting says your PHP memory is only 16mb not 60 so this is your issue.

The solution other than giving gd2/PHP more memory is to install Imagemagick on your server which does not use 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 21st, 2007, 05:03 PM   #11 (permalink)
Member
Verified Customer
 
Join Date: Jan 2007
Posts: 260
Quote:
Originally Posted by Chuck S View Post
The error your noting says your PHP memory is only 16mb not 60 so this is your issue.

The solution other than giving gd2/PHP more memory is to install Imagemagick on your server which does not use PHP memory
Yes I can see that but so canīt the line you said we should add be working.
KlausM is offline   Reply With Quote
Old February 21st, 2007, 05:24 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,680
Go to our requirements page download the phpinfo.zip file extract the phpinfo.php file and upload it to your photopost directory and place the link here to that file so we can see your php settings as your not doing something right here somewhere
__________________
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 21st, 2007, 09:22 PM   #13 (permalink)
Member
Verified Customer
 
Join Date: Jan 2007
Posts: 260
Okay Chuck here is the link:

http://www.godtfoto.dk/phpinfo.php
KlausM is offline   Reply With Quote
Old February 22nd, 2007, 07:15 AM   #14 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,680
Yep just as I thought 16 MB so your not going the edit right it would appear in the proper file or something cause quite simple if the edit is done correct then your PHP memory would be 60M not 16M and your error notes it is still 16

So try reapplying the edit in pp-inc.php try making it a reasonable change like set it to 32M and you can check that it takes effect by viewing your PHP INFO in admin and it should read 32M
__________________
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 22nd, 2007, 07:47 PM   #15 (permalink)
Member
Verified Customer
 
Join Date: Jan 2007
Posts: 260
Ok but you can see in my earlier answer that I have done exactly what you said, but ok I try again.
KlausM is offline   Reply With Quote
Old February 22nd, 2007, 07:57 PM   #16 (permalink)
Member
Verified Customer
 
Join Date: Jan 2007
Posts: 260
Now I tried again with 32 Mb but it doesnīt change anything.

And you can see here that I have done it correct - also the first time.

So what is happening here?


Code:
Content visible to verified customers only.
KlausM is offline   Reply With Quote
Old February 22nd, 2007, 08:23 PM   #17 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,680
What does your PHP INFO say in admin after you make the change? You did not answer my question
__________________
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 22nd, 2007, 08:40 PM   #18 (permalink)
Member
Verified Customer
 
Join Date: Jan 2007
Posts: 260
Sorry it was the same 16 M

I can see now that my host are running PhP in Safe mode.

Maybe it is the problem???
KlausM is offline   Reply With Quote
Old February 22nd, 2007, 08:43 PM   #19 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,680
Yes your host is doing 2 things. They are not allowing you to override PHP values and yes safe mode on is a big problem that needs to be off.
__________________
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 22nd, 2007, 08:53 PM   #20 (permalink)
Member
Verified Customer
 
Join Date: Jan 2007
Posts: 260
Okay I just wrote to them if they will set it to off or if the could set the memory limit for me.

Thanks again Chuck
By the way what´s the time over there :-)
Here in Denmark it´s 4 in the night.
KlausM 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
Upload Problems: Blank Screen bicpm Photopost Pro Installation & Upgrades 2 October 12th, 2006 11:59 AM
Blank screen when uploading picture snw Installs and Upgrade - vBulletin 3.5.X 49 July 20th, 2006 02:25 AM
approval queue problems medieval Classifieds Bug Reports 16 May 25th, 2006 05:24 PM
Blank Screen After Uploading to All Photopost Softwre for all Members cschuck3 Photopost Pro Installation & Upgrades 6 July 31st, 2005 08:40 PM
Problems with thumbnail create when uploading multiple images zounds Installs and Upgrade - vBulletin 3.0.X 1 March 17th, 2005 03:15 PM


All times are GMT -5. The time now is 10:48 AM.

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