coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: nicke on July 29, 2004, 12:00:11 PM

Title: CM suddenly says: "Cannot move file" when uploading
Post by: nicke on July 29, 2004, 12:00:11 PM
Hi all!

I run CopperMine 1.3 on my own computer, at localhost, under apache2triad. The program works just fine, until this morning. I uploaded a bunch of pictures yesterday, worked just fine. A friend of mine registered and uploaded a few pictures yesterday. That too went just fine.

But now this morning, neither he or I can upload any picture at all? CM simply says "Cannot move file" when you klick the "Submit" button (after selecting one or more pictures in the add file dialog box).

Do anyone of you have an idea what I should start looking for? I restarted the machine, but it did not help. I have about 35 GB left on the hard disk that runs the server and CM.

Title: Re: CM suddenly says: "Cannot move file" when uploading
Post by: Tarique Sani on July 29, 2004, 12:30:25 PM
Turn the debug mode on from the config and look for helpful hints
Title: Re: CM suddenly says: "Cannot move file" when uploading
Post by: nicke on July 29, 2004, 02:42:21 PM
This is my debug file - can't really see what could be wrong?  ???

USER:
------------------
Array
(
    [ID] => 2827377eddb68f754fbaa879daaf0515
    [am] => 1
    [liv] => Array
        (
           
Title: Re: CM suddenly says: "Cannot move file" when uploading
Post by: nicke on July 29, 2004, 02:58:12 PM
Just to make sure, I changed permissions on "albums" and "include" to both 755 and 777, but still the same error.
Title: Re: CM suddenly says: "Cannot move file" when uploading
Post by: Casper on July 29, 2004, 07:54:40 PM
Hi,

first check that you have a folder called 'edit', inside the the albums folder.  There have been instances of this folder disappearing.  If not there, create it, and set the chmod to the same as the albums folder.

Note, now your install is up and running, you can set the include folder back to default, as coppermine no longer needs to write to it.
Title: Re: CM suddenly says: "Cannot move file" when uploading
Post by: nicke on July 30, 2004, 12:05:36 AM
YES! Now everything's working again. Just to be sure, what are the default permissions on albums (and its subfolders)? Is 775 or 777 OK, or should I use any other?
Title: Re: CM suddenly says: "Cannot move file" when uploading
Post by: Joachim Müller on July 30, 2004, 08:26:06 AM
depends on your server setup. On some servers, it's 755, on some it's 777. Whatever works for you if fine. In fact the coppermine script needs write access, it all depends under which user the sript runs under, and what CHMOD settings your webhost allows you to set. If it works for you right now, don't change it.

GauGau
Title: Re: CM suddenly says: "Cannot move file" when uploading
Post by: morbiddk on March 10, 2005, 03:51:28 AM
Quote from: Casper on July 29, 2004, 07:54:40 PM
first check that you have a folder called 'edit', inside the the albums folder.  There have been instances of this folder disappearing.  If not there, create it, and set the chmod to the same as the albums folder.

Any idea as to why this folder disappears?  I'm experiencing this problem.
Is this issue to be fixed in version 1.4 which I understand will be out soon?