4images Forum & Community
4images Issues / Ausgaben => Installation, Update & Configuration => Topic started by: Hippo 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
-
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 ?
-
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:
-
I guess you uploaded your files (4images) via a FTP Client!?
In your downloadfile includes 4images is a folder "docs".
...
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
<?
phpinfo()
?>
upload it and post here the link to this file
-
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
-
then u'd better contact your hoster.
-
yes, contact your hoster for turning safe_mode OFF and give you the rights to set directory permissions
-
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
-
your phpinfo says something else