Author Topic: directory & file permissions for uploading  (Read 8048 times)

0 Members and 1 Guest are viewing this topic.

Offline birdost

  • Newbie
  • *
  • Posts: 21
    • View Profile
directory & file permissions for uploading
« on: July 09, 2008, 02:53:52 PM »
Code: [Select]
     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"



i am using 7dana template. i found this and applied my directories. but i have already getting this error

Quote
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to access ./../data/media/6/SeraResortHotel.jpg in /home2/hotel/public_html/includes/upload.php on line 113


Error uploading image file: SeraResortHotel.jpg
SeraResortHotel.jpg: Copy error. Please check the directory permissions.

No database entry!

Offline Acidgod

  • Moderator
  • 4images Guru
  • *****
  • Posts: 2.421
  • It's me?
    • View Profile
    • Flash-Webdesign
Re: directory & file permissions for uploading
« Reply #1 on: July 09, 2008, 03:32:16 PM »
Safe-Mode?


Offline nobby

  • 4images Guru
  • *******
  • Posts: 2.873
    • View Profile