coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: bryan on June 25, 2004, 03:08:06 PM

Title: Cannot upload files ...
Post by: bryan on June 25, 2004, 03:08:06 PM
I always get this error wanting to upload a file ...


Warning: move_uploaded_file(./albums/edit/mHTTP_temp_1e0d91c5.jpg): failed to open stream: Permission denied in /sites/staff/teens/www/photos/upload.php on line 1193

Warning: move_uploaded_file(): Unable to move '/tmp/phpaH4XIM' to './albums/edit/mHTTP_temp_1e0d91c5.jpg' in /sites/staff/teens/www/photos/upload.php on line 1193


What is wrong? The permission of upload.php is 644.

Bryan
Title: Re: Cannot upload files ...
Post by: Nibbler on June 25, 2004, 04:48:47 PM
You need to change permissions on the edit directory to allow the script to put files ther, usually 777 or 775
Title: Re: Cannot upload files ...
Post by: bryan on June 25, 2004, 06:34:24 PM
Oh correct. Thanks :)
Title: Re: [Solved]: Cannot upload files ...
Post by: bryan on July 02, 2004, 03:59:52 PM
Nono this is still unsolve...

I always get this problem

Warning: opendir(./albums/edit): failed to open dir: No such file or directory in /sites/staff/teens/www/photos/upload.php on line 406

That is even after I uploaded the folder in.
Title: Re: Cannot upload files ...
Post by: bryan on July 02, 2004, 07:36:58 PM
The folder just gets deleted itself after some time. Why?
Title: Re: Cannot upload files ...
Post by: Nibbler on July 02, 2004, 09:54:39 PM
This is a known bug, but with no known cause or solution so far I'm afraid.
Title: Re: Cannot upload files ...
Post by: bryan on July 03, 2004, 05:50:42 AM
Oh alright. I really hope there will be a patch SOON.