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: Problem uploading single files  (Read 3337 times)

0 Members and 1 Guest are viewing this topic.

quinnk

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Problem uploading single files
« on: October 13, 2006, 10:09:00 am »

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

Quote
Impossible 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".
« Last Edit: October 15, 2006, 11:00:59 am by Sami »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Problem uploading single files
« Reply #1 on: October 13, 2006, 01:56:01 pm »

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

quinnk

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Problem uploading single files
« Reply #2 on: October 14, 2006, 01:24:12 am »

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

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Problem uploading single files
« Reply #3 on: October 14, 2006, 01:48:04 am »

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

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Problem uploading single files
« Reply #4 on: October 15, 2006, 10:00:55 am »

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:

Quote
The 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...)
Logged

quinnk

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Problem uploading single files
« Reply #5 on: October 15, 2006, 10:02:47 am »

Err, sorry, despite the error, the image are uploading now... so I guess my problem is essentially solved.  Cheers!
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 20 queries.