Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Cannot upload big pictures  (Read 3071 times)

0 Members and 1 Guest are viewing this topic.

psychozz

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Cannot upload big pictures
« on: February 19, 2004, 03:39:11 pm »

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?
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Cannot upload big pictures
« Reply #1 on: February 19, 2004, 07:17:10 pm »

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 ?
Logged

psychozz

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Cannot upload big pictures
« Reply #2 on: February 19, 2004, 08:20:41 pm »

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.
Logged

moorey

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 404
Cannot upload big pictures
« Reply #3 on: February 20, 2004, 04:27:01 am »

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

sepstein

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Cannot upload big pictures
« Reply #4 on: February 29, 2004, 03:55:51 pm »

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
Logged

sepstein

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Cannot upload big pictures
« Reply #5 on: February 29, 2004, 09:47:04 pm »

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
Logged

moorey

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 404
Cannot upload big pictures
« Reply #6 on: March 01, 2004, 01:35:23 am »

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


Simple: Apples and oranges.
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 18 queries.