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."
Downloaded Configuration File
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 =
The config.php file was somehow truncated at line 25.
SOLUTIONCopy config.new.php to config.php. Open config.php in a text editor and enter the right values for the configuration variables.
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