Author Topic: Warning: Unable to create './../data/media/1/file.gif'...  (Read 35515 times)

0 Members and 1 Guest are viewing this topic.

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Warning: Unable to create './../data/media/1/file.gif'...
« on: January 03, 2003, 10:49:06 AM »
Quote
Warning: Unable to create './../data/media/1/file.gif': No such file or directory in /www/htdocs/4images/includes/upload.php on line 114

Warning: Unable to move '/tmp/phppgy2eW' to './../data/media/1/file.gif' in /www/htdocs/4images/includes/upload.php on line 114

If you add new categories, the script creates folders in "data/media" and "data/thumbnails". The name of the folder is the ID of the category. If you get this error, the script has not created the folder correctly. In this case we are talking about the folder "1":

./../data/media/1/file.gif

Maybe your error message shows you another foldername.

  • Check if the folder "1" exists in "data/media" AND "data/thumbnails"
  • If yes, check the permissions (must be chmod 777). Sometimes it will help to delete the folder and create it again via FTP (don't forget chmod 777 after doing this).
  • If the folder doesn't exists, create it via FTP and chmod 777[/list:u]Some users reported, that this error occures only after adding the first category. For the next categories everythings works.
« Last Edit: March 15, 2005, 01:49:49 AM by Chris »
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search