forum.coppermine-gallery.net
Support => cpg1.5.x Support => cpg1.5 upload => Topic started by: wingshot on February 27, 2011, 11:19:55 pm
-
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?
-
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.
-
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?
-
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...