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: [solved]: Unable to upload pics  (Read 4562 times)

0 Members and 1 Guest are viewing this topic.

geoff

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
[solved]: Unable to upload pics
« on: February 06, 2004, 07:44:38 pm »

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
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
[solved]: Unable to upload pics
« Reply #1 on: February 06, 2004, 09:46:35 pm »

Please give us the full error message.
Logged
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

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Logged

geoff

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
unable to load files
« Reply #3 on: February 07, 2004, 12:51:40 am »

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

shinji

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
[solved]: Unable to upload pics
« Reply #4 on: February 07, 2004, 04:12:12 am »

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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
[solved]: Unable to upload pics
« Reply #5 on: February 07, 2004, 11:19:03 am »

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

GauGau
Logged

gmarik

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 34
[solved]: Unable to upload pics
« Reply #6 on: February 07, 2004, 08:45:44 pm »

The FAQ section needs to updated ...
Logged
webmaxtor.com

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
[solved]: Unable to upload pics
« Reply #7 on: February 08, 2004, 11:46:19 am »

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
Logged

geoff

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
unable to load pics
« Reply #8 on: February 09, 2004, 12:52:31 am »

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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
[solved]: Unable to upload pics
« Reply #9 on: February 09, 2004, 08:04:41 am »

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
Logged

geoff

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
uploading pics
« Reply #10 on: February 09, 2004, 09:48:17 am »

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

Code: [Select]

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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
[solved]: Unable to upload pics
« Reply #11 on: February 09, 2004, 11:51:21 pm »

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
Logged

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
[solved]: Unable to upload pics
« Reply #12 on: February 12, 2004, 05:28:34 am »

Logged
"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://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

geoff

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
unable to load pics
« Reply #13 on: February 15, 2004, 01:56:00 am »

Thanks.
Updating that line in php.conf on /etc/httpd/http.d
worked :-)
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 18 queries.