Contents:
Installation Guide
Known Problems
Part 2 will contain:
Customising Your 4images Arena
Right, I'll walk you through it ^_~
Firstly you need to hop along to 4homepages.de. Click download on the menu to the right. Now, click the button next to 4images, tick the terms and conditions box and then click download. Once that is downloaded repeat but tick the box next to English Language-Pack (32767) instead of 4images.
Now for the next stage. Unzip the files, they should automatically unzip into a folder named 4images. Now, remember that English Language Pack we downloaded earlier? Go back and unzip that. It should unzip into a folder called language-pack_english. Inside that should be two more folders, images_english and english. Copy the images_english folder into templates/default/ which is in your 4images directory. Put the english folder into the lang folder in your 4images directory.
Upload the 4images folder onto your webspace. Now we're ready to start installing!
Type http://www.yourdomain.com/4images/install.php into your web browser. Click English, which, if you've installed your english language pack correctly, should be right next to "deutsch". Now, you're faced with this:
Database Server Type (Datenbank Servertyp)
Database Server Hostname (Datenbank Host)
Database Name (Datenbank Name)
Database Username (Datenbank Username)
Database Password (Datenbank Passwort)
Prefix for tables in database (Präfix für die Tabellen)
Admin Configuration (Administrator)
Admin Username (Administrator Username)
Admin Password (Administrator Passwort)
Admin Password (Confirm) (Administrator Passwort (Bestätigung))
The English is first and the Deutsch is in brackets next to it. Now, don't run away just yet! Your Database Server Type will be mySQL. 9 times out of 10 Database Server Host will be localhost, so try that first. If you are using Tripod your Database Name will be id_uk_db replace id with your tripod ID. If you have your own domain it's more complicated. Skip the next paragraph if you are using Tripod!
If you have your own domain name, you will need to login to your control panel. If you are using cpanel with the bluelagoon skin scroll down to the heading "Databases". Click "Manage Mysql". Create a database of your choice, for this we'll call it 4images. Now it'll add your domain, so my database is called tiedye_4images. If you're using cpanel but not the bluelagoon skin it'll be similar, just play around till you find it. If you're not using cpanel you'll just have to play a bit more!
Now, onto your Database Username. If you have your own domain this will be your domain name, up to the first 8 characters. For example, if my domain was silver.com my Database Username would be silver but if my domain was silversand.com my Database Username would be silversa. If you are using Tripod it will be your Tripod ID (all of it, not just the first 8 characters). Almost done! Now, the Database Password! If you are using Tripod leave this blank. If you are using your own domain this will be the password you use to login to your account. Lastly the Prefix for tables in database. Just leave this as it is (should be 4images_).
Phew! Now you have two bits left, admin username and admin password. This is just the ID you will use to login to your arena. I'll make my username Silver, with a password of tutmyless.
Now click Start Installation! You might get a screen like this next
Install success!
The install script is unable to write the config file "config.php" to the server. Click the button below to download a copy of the configuration file and upload this file via FTP to the 4images directory. Once this is done you should log in using the admin username and password and visit the Control Panel to check the general configuration for any required changes." />
Don't panic! Just click the button to download the configuration file and save it. Now see the "Known Problems" section before you go any further!
Lastly (very important) is the chmoding. You need cuteFTP or WS_FTP to do this. In CuteFTP you right click the file/folder, go to chmod, type the number in and you're there. In WS_FTP Pro right click the file/folder, go to Operations > FTP Commands > CHMOD(unix) and type the number in. In WS_FTP Lite right click the file/folder and select chmod (UNIX).
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"
Now we're in buisness! All installed and ready to go. Just one last thing to do. Log into your FTP program, go to your 4images folder and delete install.php and any any "update_*_to_*.php" files. If you don't do this when you try to access your arena it'll just redirect you back to the installation page!
Go to http://www.yourdomain.com/4images and it should all be there. Login using the boxes at the side with the username and password you chose in the installation, and hey presto! Visit http://www.yourdomain.com/4images/admin/index.php for your admin control panel.
Don't forget to tune in for part 2 (coming soon!) to find out how to customise your arena!
KNOWN PROBLEMS
After running install.php, you get the following:
The install script is unable to write the config file "config.php" to the server. Click the button below to download a copy of the configuration file and upload this file via FTP to the 4images directory. Once this is done you should log in using the admin username and password and visit the Control Panel to check the general configuration for any required changes."
Download the Config.php file and open it in Notepad. You find that your config.php contains only this:
<?php
/**************************************************************************
* *
* 4images - A Web Based Image Gallery Management System *
* ---------------------------------------------------------------- *
* *
* File: config.php *
* Copyright: (C) 2002 Jan Sorgalla *
* Email: jan@4homepages.de *
* Web: http://www.4homepages.de *
* Scriptversion: 1.7 *
* *
* Never released without support from: Nicky (http://www.nicky.net) *
* *
**************************************************************************
* *
* Dieses Script ist KEINE Freeware. Bitte lesen Sie die Lizenz- *
* bedingungen (Lizenz.txt) für weitere Informationen. *
* --------------------------------------------------------------- *
* This script is NOT freeware! Please read the Copyright Notice *
* (Licence.txt) for further information. *
* *
*************************************************************************/
$db_servertype =
SOLUTION
Download config.net.php. Copy the contents of config.new.php to config.php. Open config.php in a text editor and enter the right values for the configuration variables. IE put in the right database host, username..etc.
Assuming you have the following information:
Database Host = "localhost"
Databaes User Name = "myDbUserID"
Database User Password = "myDbPassword"
Database Name = "myDatabaseName"
Your edited config.php should look like this:
<?php
/**************************************************************************
* *
* 4images - A Web Based Image Gallery Management System *
* ---------------------------------------------------------------- *
* *
* File: config.php *
* Copyright: (C) 2002 Jan Sorgalla *
* Email: jan@4homepages.de *
* Web: http://www.4homepages.de *
* Scriptversion: 1.7 *
* *
* Never released without support from: Nicky (http://www.nicky.net) *
* *
**************************************************************************
* *
* Dieses Script ist KEINE Freeware. Bitte lesen Sie die Lizenz- *
* bedingungen (Lizenz.txt) für weitere Informationen. *
* --------------------------------------------------------------- *
* This script is NOT freeware! Please read the Copyright Notice *
* (Licence.txt) for further information. *
* *
*************************************************************************/
$db_servertype = "mysql";
$db_host = "localhost";
$db_name = "myDatabaseName";
$db_user = "myDbUserID";
$db_password = "myDbPassword";
$table_prefix = "4images_";
define('4IMAGES_ACTIVE', 1);
Upload your edited config.php to the 4images directory and proceed to http://www.YourDomain.com/4images!