Advanced search  

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]

Pages: [1]   Go Down

Author Topic: [Solved]: Error uploading!  (Read 6147 times)

0 Members and 1 Guest are viewing this topic.

olti

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 68
    • Galeria Shqiptare - Albanian Gallery
[Solved]: Error uploading!
« on: August 15, 2004, 07:37:00 pm »

As user I'm getting this erros message when i try to upload files:
Code: [Select]
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?
« Last Edit: August 17, 2004, 10:21:05 am by GauGau »
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Error uploading!
« Reply #1 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?
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

olti

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 68
    • Galeria Shqiptare - Albanian Gallery
Re: Error uploading!
« Reply #2 on: August 16, 2004, 12:57:41 am »

No I don't have created such directory!

Logged

Nibbler

  • Guest
Re: Error uploading!
« Reply #3 on: August 16, 2004, 01:54:32 am »

Then create one and CHMOD as advised.
Logged

olti

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 68
    • Galeria Shqiptare - Albanian Gallery
Re: Error uploading!
« Reply #4 on: August 16, 2004, 11:48:49 am »

I have no idea how to do that!  ::) :-\\
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Error uploading!
« Reply #5 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.
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

olti

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 68
    • Galeria Shqiptare - Albanian Gallery
Re: Error uploading!
« Reply #6 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! :(

Code: [Select]
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  :-\\
« Last Edit: August 17, 2004, 01:52:31 am by olti »
Logged

olti

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 68
    • Galeria Shqiptare - Albanian Gallery
Re: Error uploading!
« Reply #7 on: August 17, 2004, 10:05:23 am »

Thank you guys. The problem is solved. :)
Logged

ener101

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: [Solved]: Error uploading!
« Reply #8 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!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: [Solved]: Error uploading!
« Reply #9 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
Logged

inrepose

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: [Solved]: Error uploading!
« Reply #10 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
Logged

inrepose

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: [Solved]: Error uploading!
« Reply #11 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
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 15 queries.