Upload above 900 pixels fail, no error given, dbinfo.php blank screen Upload above 900 pixels fail, no error given, dbinfo.php blank screen
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Upload above 900 pixels fail, no error given, dbinfo.php blank screen

Started by wingshot, February 27, 2011, 11:19:55 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

wingshot

I have the exact same problem as the post below but that poster didn't know how he resolved it (his webhoster did):

http://forum.coppermine-gallery.net/index.php/topic,69986.0.html

Uploads with a width of 800 pixels (filesize 439k or so) or so are fine. Uploads with 1,000 pixels (filesize 600k or so) or more fail, with no error given: a blank white page that says dbinfo.php in the url bar. The images ARE being uploaded--I can see them in album/pics. A thumbnail is NOT being created. I do not believe it's the filesize. I believe it's the pixels that's overworking the thumbnail creator?

In the post I referenced above, Andre suggests disabling "Create intermediate pictures". I DID disable Intermediate Pictures, but the problem persists. I also made sure that Coppermine is using GD 2.x and not Imagemagick or anthing else.

I'm on a dedicated server, so I can set php.ini to whatever I need. Is my php running out of resources? I set the max upload file size to 4megs in php.ini

PHP settings are http://www.volunteerstate.org/version.php

The gallery itself is: http://www.volunteerstate.org/cpg1410 (it's running 1.5.x, not 1.4.10).

Login: testuser
password:usertest

Debug is on but showed no better error message on the failed upload (just the blank screen with dbinfo.php in the url bar).

The reason I'm trying to solve this is some users have Droids/Iphones and they want to upload on the go and cannot easily resize their photos. Since I can allocate more resources to myself in php.ini, I'd like to see if I can get this fixed. I just have no idea what to change in php.ini?


phill104

It is almost certainly PHP resources running out. Enable debug in the admin panel and post a link or take a look at the following thread regarding php resources - http://forum.coppermine-gallery.net/index.php/topic,24088.0.html

I would go for the memory limit first.
It is a mistake to think you can solve any major problems just with potatoes.

wingshot

Turn on debug in Coppermine? It is. The link to my gallery is: http://www.volunteerstate.org/cpg1410/

My php settings are http://www.volunteerstate.org/version.php

The upload_max_filesize  is set to 4mb, about 3.5 megs more than what i'm trying to upload

The post_max_size is 8mb

The memory_limit is 8mb. That should be higher?


wingshot

I set memory_limit to 16mb and this resolved it. I can now upload higher pixel count images, although if I try a 3,000 pixel one, it chokes. I guess I'll play with memory usage some...