[solved]: Unable to upload pics [solved]: Unable to upload pics
 

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

[solved]: Unable to upload pics

Started by geoff, February 06, 2004, 07:44:38 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

geoff

Hi,

I am having a problem uploading images if they are above a certain size.
e.g. a file of 586 Kb will not upload. It gives me the error message
The document contains no data.

I am running the program on my redhat 9.0 Linux box.
I also have the latest version of Image Magick installed.
Dont think it is a permission level problem as i am logged in as admin
I set  Max size for uploaded pictures (KB) = 5000
in config.php too.

Can anyone help?

Thanks

G

Casper

Please give us the full error message.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Joachim Müller


geoff

That was the full error message.
It just pops up with that error and thats it.

my php.ini in /etc has max file size 2mb although I did up it to 4mb to see if that works.
I dont have a apache.conf file.  I do have httpd.conf in /etc/httpd/conf
Nothing in there about file sizes.

shinji

I am having similar issues only I do not have access to httpd.conf at all.  I can use my own php.ini and such though and I can use .htaccess files.  These are settings that are in effect:

Max Execution Time: 40min
Max Upload Size: 128MB
Max Memory Allocation: 128MB
Max Post Size: 128MB

Anyone have any insight.  The server is running suPHP and Apache 1.3.29

Joachim Müller

please post a link to your gallery and some info on the browser used and your connection speed (modem/ISDN/DSL/Cable/whatever).

GauGau

gmarik

The FAQ section needs to updated ...

Joachim Müller

Quote from: "gmarik"The FAQ section needs to updated ...
Are you going to volunteer? The faq hasn't been touched since Sept 2003, it really needs a "brush up". The problem is that everyone on the team has got other stuff to work on, so if someone would be volunteering to keep the faq up-to-date we'd all appreciate...

GauGau

geoff

The browser I am using is Mozilla version 1.6.  I have a cable modem connection.
I do not think my connection speed is a problem though, as I am running the web-server on my own machine and trying to load the pics from the same machine.

Joachim Müller

well, then it won't be easy to kick the ass of the webserver admin :wink: !
Did you have a look at the link I posted? There are 3 configuration files/settings to play with: the one from coppermine, php.ini and apache configuration...

GauGau

geoff

Hi,

I did take a look at the various config files. php.ini seems to be okay max upload file size is 4mb.  There is nothing in httpd.conf as far as I can see to stop it. and max file size in coppermine is 1024Kb/
I tried usingf the konqueror browser and i got a better error message


An error occured while loading http://my_domain.net/cpg1.2.1_standalone/db_input.php:
Connection to host www.my_domain.net is broken


Is this anymore help?

Joachim Müller

hm, I'm running out of ideas then. Did you check that the file you were going to upload is valid (there are some rare jpgs in cmyk instead of rbg that can't be handled by the image libs)? Try uploading a different file with similar size...
If you're running GD, make sure you have enough ram for the server process...

GauGau

hyperion

"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

geoff

Thanks.
Updating that line in php.conf on /etc/httpd/http.d
worked :-)