PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old November 3rd, 2005, 01:50 PM   #1 (permalink)
snw
Junior Member
Verified Customer
 
Join Date: Nov 2005
Posts: 13
Blank screen when uploading picture

When I upload a picture > ~400Kb I get a blank screen (at upload.php). I can upload the same picture with lower JPG quality (22Kb) without any problems. The maximum JPG upload file size is set to 2Mb so this shouldn't cause any problems.

I can upload a PDF file of at least 1Mb without any problems.

What causes this error and how can I fix this?
snw is offline   Reply With Quote
Old November 3rd, 2005, 03:26 PM   #2 (permalink)
Brian
Guest
 
Posts: n/a
Re: Blank screen when uploading picture

Sounds like a problem with GD and your PHP memory limit. You need to either ask your host to allocate more memory to PHP, or install ImageMagick and use that instead.
  Reply With Quote
Old November 3rd, 2005, 04:22 PM   #3 (permalink)
snw
Junior Member
Verified Customer
 
Join Date: Nov 2005
Posts: 13
Re: Blank screen when uploading picture

We own and manage our own server . IMHO all settings are okay. Doubling memory limit to 16M doesn't help. Increasing the execution time till 900 doesn't help either.

Server settings:
  • Server Type Linux
  • Web Server Apache v2.0.54
  • PHP 5.0.5-1.dotdeb.1
  • PHP Max Post Size 8.00 MB
  • PHP Maximum Upload Size 50.00 MB
  • PHP Memory Limit 8.00 MB
  • MySQL Version 4.1.15-Debian_0.dotdeb.1-log
  • MySQL Packet Size 16.00 MB
  • Maximum execution time = 30
  • Maximum input time = 60
GD settings:
  • GD Support enabled
  • GD Version bundled (2.0.28 compatible)
  • FreeType Support enabled
  • FreeType Linkage with freetype
  • FreeType Version 2.1.7
  • GIF Read Support enabled
  • GIF Create Support enabled
  • JPG Support enabled
  • PNG Support enabled
  • WBMP Support enabled
  • XPM Support enabled
  • XBM Support enabled
snw is offline   Reply With Quote
Old November 3rd, 2005, 04:50 PM   #4 (permalink)
Junior Member
Verified Customer
 
Join Date: Aug 2005
Posts: 17
Re: Blank screen when uploading picture

Quote:
Originally Posted by Brian
Sounds like a problem with GD and your PHP memory limit. You need to either ask your host to allocate more memory to PHP, or install ImageMagick and use that instead.
Brian - are you trying to tell us that it's ImageMagick or nothing??? I've just installed Gallery onto an unhacked vB3.5.0 Gold release, I am seeing exactly the same problem as SNW. There's nothing in the Apache error.log, nothing in the debug vB php warnings log, nothing in the actual server logs.

The response is instant, there is no delay or wait, there is no output on the page. PHP is 4.3.2, with GD support and GD version 2.0.12 (compatible) enabled. All standard stuff, our own server, very lightly loaded, more than enough grunt to handle a simple image. It looks like you've got a problem with the error trapping, the image I tried it on was under the file size limit but over the pixel limit, it was a standard .jpg. Upload something within the limits and it works fine.

Kind Regards

Keith L
Keith Lawrence is offline   Reply With Quote
Old November 3rd, 2005, 05:03 PM   #5 (permalink)
Brian
Guest
 
Posts: n/a
Re: Blank screen when uploading picture

Generally a white page like that either means that the image is larger than the PHP max upload size, or that there isn't enough memory for GD to resize the image. If that's not the case though and you'd like to submit a support ticket via the Members' Area here then I'll be glad to take a look at things for you.
  Reply With Quote
Old November 3rd, 2005, 05:05 PM   #6 (permalink)
snw
Junior Member
Verified Customer
 
Join Date: Nov 2005
Posts: 13
Re: Blank screen when uploading picture

Quote:
the image I tried it on was under the file size limit but over the pixel limit, it was a standard .jpg. Upload something within the limits and it works fine.
That should not be a problem when the option 'save original image' is checked. I'm also using unmodified gallery files (vB3.5 Gold Gallery v1.0.1) except for the inline playing of media files in functions_gallery.php.

Brain, if you like, you can use the usernames provided in the support ticket to access the server.
snw is offline   Reply With Quote
Old November 3rd, 2005, 05:20 PM   #7 (permalink)
Junior Member
Verified Customer
 
Join Date: Aug 2005
Posts: 17
Re: Blank screen when uploading picture

Quote:
Originally Posted by Brian
Generally a white page like that either means that the image is larger than the PHP max upload size, or that there isn't enough memory for GD to resize the image. If that's not the case though and you'd like to submit a support ticket via the Members' Area here then I'll be glad to take a look at things for you.
Thanks Brian

I'll check those out when I get the chance, I'll up the pixel limits and see whether it loads. Pick up my URL from my account, I've enabled public phpinfo for you if you want to give it the once over. If you've got a support ticket from SNW I'll leave you with that one, I've got a test instance you can play with if you need a second example.

Regards

Keith L
Keith Lawrence is offline   Reply With Quote
Old November 3rd, 2005, 05:20 PM   #8 (permalink)
vissa
Guest
 
Posts: n/a
Re: Blank screen when uploading picture

When I click on "Upload" after updating to 3.5.1 I am getting a completely blank page. This is before I've even done anything (just clicking the upload link).

-vissa
  Reply With Quote
Old November 4th, 2005, 04:19 AM   #9 (permalink)
Junior Member
Verified Customer
 
Join Date: Aug 2005
Posts: 17
Re: Blank screen when uploading picture

Hi Brian

Some more information for you : Our php upload limit is 512KB, I can't enclose the file that is giving me problems, it's a standard .jpg 126KB 1280x960 image. Our gallery limits are set to 2MB 600x600 for .jpg's.

When I upload with those gallery limits it's giving me a blank screen instantly. If I change the gallery limits so that it's big enough I can see it upload (you get the delay) THEN it gives the blank upload screen. It's not getting as far as creating the image in the filestore.

HTH

Keith L
Keith Lawrence is offline   Reply With Quote
Old November 7th, 2005, 05:33 AM   #10 (permalink)
Junior Member
Verified Customer
 
Join Date: Aug 2005
Posts: 17
Re: Blank screen when uploading picture

Has there been any progress on this one? Has anybody found out what it is and can suggest a fix? I've just upgraded to vBulletin 3.5.1 and the bug is still there. I have a newly purchased and install Gallery that my users are complaining about, unless we fix this soon I'm going to have to switch it off

More than willing to raise a support ticket if needed, just say the word.

Keith L
Keith Lawrence is offline   Reply With Quote
Old November 8th, 2005, 03:22 PM   #11 (permalink)
Member
Verified Customer
 
Join Date: Jun 2004
Posts: 50
Re: Blank screen when uploading picture

i am also getting the same blank screen when i try to upload via the batch upload
before upgrading to vb3.5 / 3.51 everything worked fine
Diver is offline   Reply With Quote
Old November 8th, 2005, 03:30 PM   #12 (permalink)
Brian
Guest
 
Posts: n/a
Re: Blank screen when uploading picture

Quote:
Originally Posted by Brian
Generally a white page like that either means that the image is larger than the PHP max upload size, or that there isn't enough memory for GD to resize the image. If that's not the case though and you'd like to submit a support ticket via the Members' Area here then I'll be glad to take a look at things for you.
.
  Reply With Quote
Old November 8th, 2005, 03:34 PM   #13 (permalink)
Junior Member
Verified Customer
 
Join Date: Aug 2005
Posts: 17
Re: Blank screen when uploading picture

Quote:
Originally Posted by Keith Lawrence
...If you've got a support ticket from SNW I'll leave you with that one, I've got a test instance you can play with if you need a second example....
OK, will do if nothing posted on here that tells us what it is. I just need to set up the FTP account for you, may take me a day or two to organise that.

Cheers

Keith L
Keith Lawrence is offline   Reply With Quote
Old November 23rd, 2005, 03:18 PM   #14 (permalink)
snw
Junior Member
Verified Customer
 
Join Date: Nov 2005
Posts: 13
Any updates from PhotoPost?
snw is offline   Reply With Quote
Old November 23rd, 2005, 03:24 PM   #15 (permalink)
Registered User
Verified Customer
 
KW802's Avatar
 
Join Date: Nov 2005
Posts: 1,400
SNW, the support tickets were not carried over so we're going to need to take a fresh approach.

My GD settings, at first glance seem to be the same as yours... if you'd like send a copy of the picture causing the problems to kevin@photopost.com and I'll see if I can duplicate the problem on my server (I'll temporarily switch from IM to GD for image resizing and then upload the image).
KW802 is offline   Reply With Quote
Old November 24th, 2005, 11:51 AM   #16 (permalink)
swa
Junior Member
Verified Customer
 
Join Date: Apr 2005
Posts: 19
I'm having the same upload issue...receiving blank page if image is large
swa is offline   Reply With Quote
Old November 24th, 2005, 12:21 PM   #17 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,944
Your would need to specify how large is the image?

PHP by default is set to 2M so if the file is larger than this then PHP bombs out.

If your PHP memory which by default is set to 8M and your using GD then it could bomb out on large files

At the top of your upload.php file you could try placing these to override PHP's setting's

Code:
Content visible to verified customers only.
__________________
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 November 24th, 2005, 07:50 PM   #18 (permalink)
swa
Junior Member
Verified Customer
 
Join Date: Apr 2005
Posts: 19
The size is about 500k, i'll try that to see if it helps. thanks
swa is offline   Reply With Quote
Old November 24th, 2005, 07:58 PM   #19 (permalink)
swa
Junior Member
Verified Customer
 
Join Date: Apr 2005
Posts: 19
that worked! thanks!!!
swa is offline   Reply With Quote
Old November 25th, 2005, 07:18 AM   #20 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,944
Not a problem swa.
__________________
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
Uploading picture shows blank page? marinefiend Installs and Upgrade - vBulletin 3.5.X 5 November 15th, 2005 06:49 AM
Blank Screen during Installation ace67 ReviewPost Installation & Upgrades 7 October 18th, 2005 10:06 AM
Blank Screen After Uploading to All Photopost Softwre for all Members cschuck3 Photopost Pro Installation & Upgrades 6 July 31st, 2005 08:40 PM
1.0.0 Gold - blank screen on keywords Torqued Installs and Upgrade - vBulletin 3.0.X 3 June 3rd, 2005 05:36 PM
Manage Albums screen, blank rsuplido Photopost Pro Installation & Upgrades 1 January 16th, 2005 08:17 PM


All times are GMT -5. The time now is 02:22 PM.

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