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
Please give us the full error message.
http://forum.coppermine-gallery.net/viewtopic.php?p=15767#15767
GauGau
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.
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
please post a link to your gallery and some info on the browser used and your connection speed (modem/ISDN/DSL/Cable/whatever).
GauGau
The FAQ section needs to updated ...
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
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.
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
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?
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
Perhaps this will help:
http://forum.coppermine-gallery.net/index.php?topic=3759
Thanks.
Updating that line in php.conf on /etc/httpd/http.d
worked :-)