Author Topic: Uploading  (Read 8038 times)

0 Members and 1 Guest are viewing this topic.

Offline Hippo

  • Pre-Newbie
  • Posts: 4
    • View Profile
Uploading
« on: April 08, 2005, 08:36:55 PM »
Ok , this great image gallery is great but i have a big problem
I'am not verry good at these things but i think i do evrything good but still there is somthing wrong

Well with the installation....

I downloaded the 4images package and the langua pack for english
I exstracted both the zip files


Then

In the map : \4images\lang
I deleted the english map and took the englsih map from the language pack...
So now evrything is good for uploeding on my server ....

The language pack is it it , so i upload whole the 4images map on my server . Then i went to www.myserver.com/4images/install.php
I gived the correct information and then i downloaded teh config.php files and uploaded it where it was need to.

Evrything is fine for now , you can see the index you can do evrything BUT ( thats my problem) when i try to upload a picture from my destop to my gallery it says :


Warning: move_uploaded_file(./../data/media/1/somphoto.jpg): failed to open stream: No such file or directory in /www/www.*********.be/http/4images/includes/upload.php on line 113

Warning: move_uploaded_file(): Unable to move '/tmp/phpJADyfA' to './../data/media/1/somphoto.jpg' in /www/www.********.be/http/4images/includes/upload.php on line 113
Image 1 
  Error uploading image file: bowling001.jpg
somphoto.jpg: Copy error. Please check the directory permissions.

No database entry!
 
 

and when i make a new catogorie it says :

Warning: mkdir(./../data/media/3): Permission denied in /www/www.*****.be/http/4images/admin/categories.php on line 78

Warning: mkdir(./../data/media/3): Permission denied in /www/www.****.be/http/4images/admin/categories.php on line 81

Warning: mkdir(./../data/thumbnails/3): Permission denied in /www/www.****.be/http/4images/admin/categories.php on line 78

Warning: mkdir(./../data/thumbnails/3): Permission denied in /www/www.***.be/http/4images/admin/categories.php on line 81
Category added


Help me please ASAP

Offline RoadDogg

  • Sr. Member
  • ****
  • Posts: 488
    • View Profile
    • Düsipixel
Re: Uploading
« Reply #1 on: April 08, 2005, 09:29:41 PM »
Quote
Please check the directory permissions.

Have you set the directory permission as sayd in installation instroduction???

chmod 777 for some files/folders ?

Is safe_mode OFF ?
For support requests please don´t forget link to your Gallery/to phpinfo.php
Code: [Select]
<?
phpinfo()
?>
safe_mode must turned OFF
Please check Error Messages

Offline Hippo

  • Pre-Newbie
  • Posts: 4
    • View Profile
Re: Uploading
« Reply #2 on: April 08, 2005, 11:12:01 PM »
how do you put that in safe mode , and the other 2 option i don't know either ... somwhere a hekp trade
i know im am a noob  :oops:

Offline RoadDogg

  • Sr. Member
  • ****
  • Posts: 488
    • View Profile
    • Düsipixel
Re: Uploading
« Reply #3 on: April 09, 2005, 05:05:34 AM »
I guess you uploaded your files (4images) via a FTP Client!?
In your downloadfile includes 4images is a folder "docs".

Quote
...
 5. Set permissions for the following directories:

     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"

     You can do this with FTP programs such as CuteFTP or WS_FTP.
...

Have you set those permissions?

create a file

phpinfo.php

with content
Code: [Select]
<?
phpinfo()
?>

upload it and post here the link to this file
For support requests please don´t forget link to your Gallery/to phpinfo.php
Code: [Select]
<?
phpinfo()
?>
safe_mode must turned OFF
Please check Error Messages

Offline Hippo

  • Pre-Newbie
  • Posts: 4
    • View Profile
Re: Uploading
« Reply #4 on: April 09, 2005, 09:50:44 AM »
Ok i tried to change the CHMOD with smartFTP
Evrything goes well but when i do the last CHMOD change it says me this

550 Can't change directory to /www/www.tcoudenaarde.be/http/4images/templates/default: Permission denied

All the other CHMOD changes go back to there original CHMOD ....

www.tcoudenaarde.be/4images/phpinfo.php

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: Uploading
« Reply #5 on: April 09, 2005, 10:08:09 AM »
then u'd better contact your hoster.
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 RoadDogg

  • Sr. Member
  • ****
  • Posts: 488
    • View Profile
    • Düsipixel
Re: Uploading
« Reply #6 on: April 09, 2005, 10:59:12 AM »
yes, contact your hoster for turning safe_mode OFF and give you the rights to set directory permissions
For support requests please don´t forget link to your Gallery/to phpinfo.php
Code: [Select]
<?
phpinfo()
?>
safe_mode must turned OFF
Please check Error Messages

Offline Hippo

  • Pre-Newbie
  • Posts: 4
    • View Profile
Re: Uploading
« Reply #7 on: April 09, 2005, 05:56:33 PM »
i mailed them and tehy said permission was set to me so i could change evrything , weird i will ask for safe mode of if that sin't already done

Offline RoadDogg

  • Sr. Member
  • ****
  • Posts: 488
    • View Profile
    • Düsipixel
Re: Uploading
« Reply #8 on: April 09, 2005, 07:38:08 PM »
your phpinfo says something else
For support requests please don´t forget link to your Gallery/to phpinfo.php
Code: [Select]
<?
phpinfo()
?>
safe_mode must turned OFF
Please check Error Messages