Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Upload above 900 pixels fail, no error given, dbinfo.php blank screen  (Read 4342 times)

0 Members and 1 Guest are viewing this topic.

wingshot

  • Coppermine newbie
  • Offline Offline
  • Posts: 3

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?

Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Upload above 900 pixels fail, no error given, dbinfo.php blank screen
« Reply #1 on: February 28, 2011, 12:15:53 am »

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.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

wingshot

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Upload above 900 pixels fail, no error given, dbinfo.php blank screen
« Reply #2 on: February 28, 2011, 12:34:49 am »

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?

Logged

wingshot

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Upload above 900 pixels fail, no error given, dbinfo.php blank screen
« Reply #3 on: February 28, 2011, 12:44:52 am »

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...
Logged
Pages: [1]   Go Up
 

Page created in 0.025 seconds with 19 queries.