Author Topic: Can't upload images!  (Read 7643 times)

0 Members and 1 Guest are viewing this topic.

Offline Caramel_lady

  • Newbie
  • *
  • Posts: 40
    • View Profile
Can't upload images!
« on: September 18, 2005, 10:29:26 PM »
I installed 4images, and I'm assuming I installed it all good. Everything is fine. Except when I go to make a category or upload an image. I tried to upload an image and here's what I got:

Warning: move_uploaded_file(./../data/media/1/model01.jpg): failed to open stream: No such file or directory in /home/mcopon/public_html/collide/includes/upload.php on line 113

Warning: move_uploaded_file(): Unable to move '/tmp/phphUyS6f' to './../data/media/1/model01.jpg' in /home/mcopon/public_html/collide/includes/upload.php on line 113

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

No database entry!
 
I don't know why. And when I create a category, it creates the categories ... but I get this message:

Warning: mkdir(./../data/media/5): Permission denied in /home/mcopon/public_html/collide/admin/categories.php on line 78

Warning: mkdir(./../data/media/5): Permission denied in /home/mcopon/public_html/collide/admin/categories.php on line 81

Warning: mkdir(./../data/thumbnails/5): Permission denied in /home/mcopon/public_html/collide/admin/categories.php on line 78

Warning: mkdir(./../data/thumbnails/5): Permission denied in /home/mcopon/public_html/collide/admin/categories.php on line 81
Category added

Any ideas why? Where I'd go wrong? Do I have to re-install everythigng? :( ... hope not, lol. I hope someone can help me out ... thanks :)

TheOracle

  • Guest
Re: Can't upload images!
« Reply #1 on: September 18, 2005, 11:35:25 PM »
By following this topic - step 5 :

http://www.4homepages.de/forum/index.php?topic=7400.0

it should help you out to resolve these issues. ;)

Offline Caramel_lady

  • Newbie
  • *
  • Posts: 40
    • View Profile
Re: Can't upload images!
« Reply #2 on: September 19, 2005, 12:24:29 AM »
I followed everything in step 5. However I still get this:

Warning: move_uploaded_file(./../data/media/1/model01.jpg): failed to open stream: No such file or directory in /home/mcopon/public_html/collide/includes/upload.php on line 113

Warning: move_uploaded_file(): Unable to move '/tmp/phpt3ClOA' to './../data/media/1/model01.jpg' in /home/mcopon/public_html/collide/includes/upload.php on line 113
Image 1 
  Error uploading image file: model01.jpg
model01.jpg: Copy error. Please check the directory permissions.

No database entry!
 
 Now what? lol :) ... hope to figure it out :) thanks.

TheOracle

  • Guest
Re: Can't upload images!
« Reply #3 on: September 19, 2005, 12:51:32 AM »
No problem. Simply follow my instructions from this topic (entirely). Once installed, and the plugin file is loaded, PM me your server specs (if you don't want to post them publicly).

Here's the topic :

http://www.4homepages.de/forum/index.php?topic=9289.msg43918#msg43918

;)

Offline Caramel_lady

  • Newbie
  • *
  • Posts: 40
    • View Profile
Re: Can't upload images!
« Reply #4 on: September 19, 2005, 01:40:38 AM »
I just PM'd you :)

TheOracle

  • Guest
Re: Can't upload images!
« Reply #5 on: September 19, 2005, 03:05:50 AM »
This issue has now been resolved. ;)

Offline MadeInUSSR

  • Newbie
  • *
  • Posts: 36
    • View Profile
Re: Can't upload images!
« Reply #6 on: October 02, 2005, 03:52:11 PM »
I had the same error. safe mode is off. and i made  all folders in /public_html/data by 777 and then i got another error about folder of thumbnails. then i made all folders in thumbnails permission  777 too. and now i can upload  images normally. but i want to ask is it ok that i made permisson from 755 to 777? I mean if i have some problem with that in future?
**MadeInUSSR**

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Can't upload images!
« Reply #7 on: October 02, 2005, 06:08:32 PM »
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline nguyenhungcuong

  • Pre-Newbie
  • Posts: 6
    • View Profile
Re: Can't upload images!
« Reply #8 on: October 04, 2005, 07:42:31 AM »
Im too

Error uploading image file: 001-1.gif
001-1.gif: Copy error. Please check the directory permissions.

No database entry!

im check smod
chmod 777 (drwxrwxrwx) : data
     chmod 777 (drwxrwxrwx) : data/database                                       ok
     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

Ok

php info 5

please help me
im from viet nam