Cannot upload big pictures Cannot upload big pictures
 

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

Main Menu

Cannot upload big pictures

Started by psychozz, February 19, 2004, 03:39:11 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

psychozz

Hi!

I have read the FAQ, searched this forum and the web for a solution but nothing seems to work. I get the following error when I try to upload a 380KB picture. (Smaller images works fine)

---
No picture was uploaded !

If you have really selected a picture to upload, check that the server allows file uploads...
---

My configuration is apache 2.0.40 with MySQL 3.23.54 on RH 9.
My conf files looks like this:

php.ini

max_execution_time = 320
memory_limit = 32M
post_max_size = 32M
file_uploads = On
upload_max_filesize = 32M

php.conf

LimitRequestBody 33554432


The CPG it self has an upload limit set to 20000KB and the size 6000 pixels.

Does anyone have any suggestion what to do?

Hein Traag

Hi,

been uploading images to a gallery as well.. with pics well over 350.. up to 490 and with no problems..

Wild guess as im just new at this game.. bandwidth problem ?

psychozz

Found out why it doesn't work. I'm using safari as web browser and it seems that safari cannot handle this. It's the same when I try to upload anything to a phpBB board that I run on the same server.
So the solution was to switch to Firefox.

moorey

That is quite perculiar since I use Safari for everything. But as long as it works for you, good to know.

sepstein

Well, not so simple. I'm running into the same problem, despite changing the size in the comfiguration panel (I tried "0" as well, to see if that would remove any limit). Seems that there is a 2 M inherent limit, regardless of what is listed in the config.

Switching from Safari to Firefox didn't make a difference.

Just for kicks & giggles, I tried with Internet Explorer as well. Same problem.

Is this a problem with MacOS X 1.3.2/PHP/MySQL? Well, I tried to upload those same large photos using Gallery (another open source PHP/MySQL-based photo album solution) and had no trouble at all. So that would seem to rule out the database itself.

Is there something in the Coppermine scripts that cause this limit? Or is it in the interaction of Coppermine with PHP/MySQL?

Steve

sepstein

Solved my own problem. The key is in php.ini - upload_max_size was set to 2M.

Curious then how Gallery gets around this ...

Steve

moorey

Quote from: "sepstein"Curious then how Gallery gets around this ...

Simple: Apples and oranges.