4images Forum & Community

4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: birdost on July 09, 2008, 02:53:52 PM

Title: directory & file permissions for uploading
Post by: birdost 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!
Title: Re: directory & file permissions for uploading
Post by: Acidgod on July 09, 2008, 03:32:16 PM
Safe-Mode?
Title: Re: directory & file permissions for uploading
Post by: birdost on July 09, 2008, 03:43:37 PM
i dont know safe mode help pls
Title: Re: directory & file permissions for uploading
Post by: nobby on July 09, 2008, 03:48:51 PM
see here: http://www.4homepages.de/forum/index.php?topic=10039.msg48875#msg48875