4images Forum & Community

4images Issues / Ausgaben => Installation, Update & Configuration => Topic started by: Caramel_lady on September 18, 2005, 10:29:26 PM

Title: Can't upload images!
Post by: Caramel_lady 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 :)
Title: Re: Can't upload images!
Post by: TheOracle 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. ;)
Title: Re: Can't upload images!
Post by: Caramel_lady 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.
Title: Re: Can't upload images!
Post by: TheOracle 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

;)
Title: Re: Can't upload images!
Post by: Caramel_lady on September 19, 2005, 01:40:38 AM
I just PM'd you :)
Title: Re: Can't upload images!
Post by: TheOracle on September 19, 2005, 03:05:50 AM
This issue has now been resolved. ;)
Title: Re: Can't upload images!
Post by: MadeInUSSR 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?
Title: Re: Can't upload images!
Post by: V@no on October 02, 2005, 06:08:32 PM
I like this explanation:
http://www.simplemachines.org/community/index.php?topic=2987
Title: Re: Can't upload images!
Post by: nguyenhungcuong 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