Error when trying to upload a picture. Error when trying to upload a picture.
 

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]

Main Menu

Error when trying to upload a picture.

Started by knolen, October 30, 2003, 05:53:34 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

knolen

I've searched through the board and read several posts about errors when trying to upload a picture and none of the ones I have found mention this problem.

After I have selected the picture I want to upload and fill out the information I get a pop up box that says "The document contains no data."  

I have no idea what it causing this.  Any help would be greatly appreciated.[/img]

Joachim Müller

got a link where we can take a look. Some info on your webserver and client might also be helpfull...

GauGau

knolen

The server is for internal use only.  It's not directly connected to the internet.  I'll be gald to post any files or parts of them that would help though.

hyperion

Give us a screen shot of the error and the config.
"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)

knolen

From php.ini:

;;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;

; Whether to allow HTTP file uploads.
file_uploads = On

; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
;upload_tmp_dir =

; Maximum allowed size for uploaded files.
upload_max_filesize = 2M


As far as the error goes in Mozilla I get an alert box that says that the document contains no data.  In Internet Explorer I receive a Cannot find server  /  Page cannot be displayed.  It is acting almost as if my webserver isn't passing the data to db_input.php or doesn't know what to do with it.  If I press refresh after the error in IE I then get the page but with a message saying "Script called without the required parameter(s)."

I was able to do a batch upload via FTP and put the pictures in that way.  And the rest of Coppermine works fine.  It just the upload via the web site.

I beginning to doubt that this is a problem with Coppermine.  I think that I have something wrong in my Apache and/or PHP configuration.

hyperion

Create a simple file upload script and place it in a server directory.  See if it does what it should.
"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)