Problem uploading single files Problem uploading single files
 

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

Problem uploading single files

Started by quinnk, October 13, 2006, 10:09:00 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

quinnk

Hello, I am running into the following error when I try to upload files individually via HTTP (from disk or URL):

QuoteImpossible to move QuinnTshirt2.jpg to albums/userpics/10004/ !

File: /home/kappasig/public_html/gallery/db_input.php - Line: 355

I've traced the problem down to this note in the help files.  However, I'm not clear on what this means.  Should I be asking my host for the basedir location and then changing something in the Coppermine code to use that directory?

My gallery is at http://www.kappasigmalethbridge.com/gallery/

I've set up a test account and enabled debugging if someone wants to take a look.  The username and password are both "test".

Joachim Müller

No, the FAQ entry you refered to is slighty different - your error message doesn't complain about a missing temp folder. I rather guess that you haven't applied the needed permissions as suggested in the docs to make the albums folder and everything within it writtable for the script.

quinnk

I can absolutely guarantee that permissions are set to 777 for all subfolders in the Album folder.  My server is Apache on Linux.  Is there anything else it could be?

kegobeer

Ask your host to check permissions on your /tmp directory.  When uploading a file with a PHP script, a temporary file is created in the /tmp directory, and then moved to the final destination.  If PHP can't move the file from the /tmp directory, you'll get that type of error.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

quinnk

Ok, my host turned off safe mode for my domain, as he indicated that he thought that Coppermine required it.  Now I'm getting a different error:

QuoteThe selected album/file does not exist !

File: /home/kappasig/public_html/gallery/include/functions.inc.php - Line: 1315

Any advice on this now?  I looked around but no one seems to be experiencing the error in the same context.

(Not sure if I should have started a new thread for this or not...)

quinnk

Err, sorry, despite the error, the image are uploading now... so I guess my problem is essentially solved.  Cheers!