FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

4Images Install

 


therestofus
Im trying to install 4images to my website, but I dont know how to fill out the configuration, can someone help me?

Heres the stuff:
Database server type: mysql (only option)
Database server hostname:
Database name:
Database username:
Database password:
Prefix for tables in database: 4images_ (already filled out)
Admin username:
Admin password:
Admin password (Confirm):

I know that I probably look stupid asking this, but I dont know much about this stuff, hehe. Thanks
Bondings
therestofus wrote:
Im trying to install 4images to my website, but I dont know how to fill out the configuration, can someone help me?

Heres the stuff:
Database server type: mysql (only option)
Database server hostname:
Database name:
Database username:
Database password:
Prefix for tables in database: 4images_ (already filled out)
Admin username:
Admin password:
Admin password (Confirm):

I know that I probably look stupid asking this, but I dont know much about this stuff, hehe. Thanks

Database server type: mysql (only option)
Database server hostname: localhost
Database name: theresto_<name of the database you created or should have created>
Database username: theresto_<name of the user of the database you created or should have created>
Database password: <password of that user>
Prefix for tables in database: 4images_ (already filled out)
Admin username: <here you create the admin name>
Admin password: <here you create the password>
Admin password (Confirm): <here you create the password>
therestofus
Thanks, but I got this error:

Code:
Warning: mysql_connect(): Access denied for user: 'theresto_@localhost' (Using password: YES) in /home/theresto/domains/therest.frih.net/public_html/4images/includes/db_mysql.php on line 39

DB Error: Could not connect to the database server (localhost, theresto_).
therestofus
Im an idiot. I hadnt even created the mysql database. Haha, thank you, it works now Very Happy

Last edited by therestofus on Sat Oct 29, 2005 2:06 am; edited 1 time in total
therestofus
I encountered another problem. Here is what the installation guide says to do:

Code:
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.


Well I have no idea how to set permissions.
Bondings
therestofus wrote:
I encountered another problem. Here is what the installation guide says to do:

Code:
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.


Well I have no idea how to set permissions.

Go to your DirectAdmin file manager. On the bottom there is a box with the file permission.

Also, don't change it to 777, but instead use 755.
therestofus
Ok, well they were all already at 755, so I guess I didnt even have to do that. Im still getting the error message though
gonzo
This

Quote:
chmod 777 (drwxrwxrwx) : templates
chmod 777 (drwxrwxrwx) : templates/default


refers to RECURSIVE directories. Not using DirecAdm myself I cannot speak to the features. But simply changing the permissions of ./templates/ will not effect a change of ./templates/default/ in all likelyhood. You get to do that manually.

Alternatively, and I risk yet another warning by being so helpful, you can use FlashFXP

http://flashfxp.com

to recursively change permissions







Be sure to make your ticks match those in my screen captures.
therestofus
thanks gonzo, but it still isnt working.
therestofus
can someone help me, i still cant get the stupid thing to work.
Kaisonic
Well what error are you getting?
therestofus
Its the same error Ive been getting the whole time:

Code:
Warning: move_uploaded_file(./data/media/4/TheRest_002.jpg): failed to open stream: No such file or directory in /home/theresto/domains/therest.frih.net/public_html/4images/includes/upload.php on line 113

Warning: move_uploaded_file(): Unable to move '/tmp/phpmTcHXm' to './data/media/4/TheRest_002.jpg' in /home/theresto/domains/therest.frih.net/public_html/4images/includes/upload.php on line 113
n0obie4life
Try CHMOD 777
therestofus
n0obie4life wrote:
Try CHMOD 777

still get the same error
therestofus
Im really quite sick of this! Does anyone know of a similar free image gallery where people can have accounts and comment on the pictures?
therestofus
Im just gonna use Coppermine Photo Gallery........
This topic is locked: you cannot edit posts or make replies.    Frihost Forum Index -> Support and Web Hosting -> Web Hosting Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.