coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: olti on August 15, 2004, 07:37:00 PM

Title: [Solved]: Error uploading!
Post by: olti on August 15, 2004, 07:37:00 PM
As user I'm getting this erros message when i try to upload files:
Warning: opendir(./albums/edit): failed to open dir: No such file or directory in /var/www/html/galeria/upload.php on line 409


Any hepl?
Title: Re: Error uploading!
Post by: kegobeer on August 15, 2004, 08:49:05 PM
Have you created a directory called edit in your albums directory, and CHMOD'd it to 755 or 777?
Title: Re: Error uploading!
Post by: olti on August 16, 2004, 12:57:41 AM
No I don't have created such directory!

Title: Re: Error uploading!
Post by: Nibbler on August 16, 2004, 01:54:32 AM
Then create one and CHMOD as advised.
Title: Re: Error uploading!
Post by: olti on August 16, 2004, 11:48:49 AM
I have no idea how to do that!  ::) :-\\
Title: Re: Error uploading!
Post by: kegobeer on August 16, 2004, 04:10:14 PM
You uploaded your files using FTP, right?  Just use your FTP program to create a directory in /albums, call it edit, and CHMOD it to 755 or 777.
Title: Re: Error uploading!
Post by: olti on August 17, 2004, 01:42:53 AM
No, I don't use ftp to upload files. Ok I can create a directory, but what is CHMOD!

Today I'm getting this error message (see below) and I can't upload files anymore! :(

Warning: move_uploaded_file(./albums/edit/mHTTP_temp_11bccdf4.jpg): failed to open stream: No such file or directory in /var/www/html/galeria/upload.php on line 1197

Warning: move_uploaded_file(): Unable to move '/tmp/phpc16Sfi' to './albums/edit/mHTTP_temp_11bccdf4.jpg' in /var/www/html/galeria/upload.php on line 1197


I wonder 'cos this problem don't appear before, but just this 2 days  :-\\
Title: Re: Error uploading!
Post by: olti on August 17, 2004, 10:05:23 AM
Thank you guys. The problem is solved. :)
Title: Re: [Solved]: Error uploading!
Post by: ener101 on August 22, 2004, 06:29:50 AM
OK! I'm having a similar problem with the 777 or 755 permissions. I googled UNIX permissions but I don't know exactly where to change those permissions. I use FrontPage and upload all of my images that way.

Can you please let me know where to change these permissions.

Thanks!
Title: Re: [Solved]: Error uploading!
Post by: Joachim Müller on August 22, 2004, 10:10:32 AM
frontpage and it's built-in ftp client can't do that, you'll need a "real" ftp client. I recommend WS_FTP. The tutorials to be found when googling for CHMOD should tell you so as well.

GauGau
Title: Re: [Solved]: Error uploading!
Post by: inrepose on October 12, 2004, 12:59:45 PM
Just thought I would add that I had this problem.   I had a valid "edit" folder and it was set to 755.  I did the chmod to 777 and this did not fix the fault.    Only after deleting edit and re-creating the folder did the upload start to work again.

Robin
http://www.rottenlead.com
Title: Re: [Solved]: Error uploading!
Post by: inrepose on October 12, 2004, 02:18:22 PM
I lied.  I just tried it a second time and I still get the failed to transfer upload error.

I have had the system running OK for a couple of Months and my tmp folder is R/W 777. The edit folder is also 777.   Is there another solution? Thank you.

www.rottenlead.com