Author Topic: I am getting this problem when uploading  (Read 3235 times)

0 Members and 1 Guest are viewing this topic.

Chris

  • Guest
I am getting this problem when uploading
« on: September 16, 2002, 08:00:59 PM »
Warning: Unable to create './data/media/4/Image071.jpg': Permission denied in /home/rainbaby/public_html/gallery/includes/upload.php on line 104

Warning: Unable to move '/tmp/phpejCTVA' to './data/media/4/Image071.jpg' in /home/rainbaby/public_html/gallery/includes/upload.php on line 104

I recently transferred my gallery from different servers.

Offline Nossie

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
    • GothicWinter.Com
I am getting this problem when uploading
« Reply #1 on: September 16, 2002, 08:23:49 PM »
Hi Chris,

did you remember to set the chmod permissions on the newly uploaded folders?

Quote

Set permissions for the following directories:

     chmod 777 (drwxrwxrwx) : data
     chmod 777 (drwxrwxrwx) : data/database
     chmod 777 (drwxrwxrwx) : data/media
     chmod 777 (drwxrwxrwx) : data/thumbnails
     chmod 777 (drwxrwxrwx) : data/tmp_media
     chmod 777 (drwxrwxrwx) : data/tmp_thumbnails
     chmod 777 (drwxrwxrwx) : templates
     chmod 777 (drwxrwxrwx) : templates/default
     chmod 777 (drwxrwxrwx) : templates/default/media

     Set permissions for the following files:

     chmod 666 (-rw-rw-rw-) : all files in the directory "templates/default"
     chmod 666 (-rw-rw-rw-) : all files in the directory "templates/default/media"

     You can do this with FTP programs such as CuteFTP or WS_FTP.
MOTD: LINUX IS LIKE A WIGWAM - NO WINDOWS, NO GATES, APACHE INSIDE !!!

Chris

  • Guest
I am getting this problem when uploading
« Reply #2 on: September 16, 2002, 09:31:08 PM »
Thanks