Author Topic: Problem with uploading images  (Read 5152 times)

0 Members and 1 Guest are viewing this topic.

Offline Jaap12

  • Full Member
  • ***
  • Posts: 108
    • View Profile
Problem with uploading images
« on: June 12, 2002, 08:36:12 PM »
Hi all,

If i want add a new picture i can't i get this error

Code: [Select]

Warning: Unable to create './../data/media/1/gif.gif': No such file or directory in /home/cadeautip/HTML/includes/upload.php on line 121

Warning: Unable to move '/tmp/php7VKKal' to './../data/media/1/gif.gif' in /home/cadeautip/HTML/includes/upload.php on line 121
Image 1  
  Error uploading image file: gif.gif
gif.gif: Copy error. Please check the directory permissions.

No database entry!


I have changed all the permissions to 777 (that the instructions.txt says)

Somebody the same problem?
I can't fix it :(

Offline anna

  • Pre-Newbie
  • Posts: 1
    • View Profile
Problem with uploading images
« Reply #1 on: June 13, 2002, 11:02:35 PM »
hello,  sorry, my english its not good.

I HAVE this problem

Do you know the solution?

Thanks....

Offline DigiSmack

  • Newbie
  • *
  • Posts: 25
    • View Profile
    • http://www.digitalsmackdown.com
Problem with uploading images
« Reply #2 on: June 13, 2002, 11:36:47 PM »
I am having this problem too, and have thus far only found a workaround rather than a solution.  The problem in my case was that the directory didn't exsist.
In your case : Warning: Unable to create './../data/media/1/gif.gif': No such file or directory in /home/cadeautip/HTML/includes/upload.php on line 121
it would mean the directory "1" does not exsits.  I found that my manually adding this dir to the media dir worked fine, and the pictures uploaded fine from there.  For some reason, 4home was not making the dir. itself.
I haven't yet got an answer as to why this is, or how to fix it.  Also note, I think each catagory/subcatagory will use it own DIR so you'll have to do it each time you try and upload a new picture to a new catagory.


Good luck, hope this helps..and if you find anything else out, please share.

Offline Jaap12

  • Full Member
  • ***
  • Posts: 108
    • View Profile
thx
« Reply #3 on: June 20, 2002, 08:40:28 PM »
Thx but i think this is not the right solution, if it is the right way, then it's very difficult to setup new catergory's etc. I don't have the answer, but looking forwar to other comments