4images Forum & Community

4images Issues / Ausgaben => Installation, Update & Configuration => Topic started by: bmw2182 on July 19, 2008, 02:03:33 PM

Title: Help with installing
Post by: bmw2182 on July 19, 2008, 02:03:33 PM
I am having problems installing this for the first time.  I downloaded it to my pc and unzipped the files.  Then I FTP'd them to my server (ipower).  When I point my browser to the install file I get the following:

$val) { $array[$key] = (is_array($val)) ? addslashes_array($val) : addslashes($val); } return $array; } if (!isset($HTTP_GET_VARS)) { $HTTP_GET_VARS = &$_GET; $HTTP_POST_VARS = &$_POST; $HTTP_COOKIE_VARS = &$_COOKIE; $HTTP_POST_FILES = &$_FILES; $HTTP_SERVER_VARS = &$_SERVER; $HTTP_ENV_VARS = &$_ENV; } if (get_magic_quotes_gpc() == 0) { $HTTP_GET_VARS = addslashes_array($HTTP_GET_VARS); $HTTP_POST_VARS = addslashes_array($HTTP_POST_VARS); $HTTP_COOKIE_VARS = addslashes_array($HTTP_COOKIE_VARS); } if (@file_exists(ROOT_PATH."config.php")) { @include(ROOT_PATH.'config.php'); } if (defined("4IMAGES_ACTIVE")) { header("Location: index.php"); exit; } if (isset($HTTP_GET_VARS['action']) || isset($HTTP_POST_VARS['action'])) { $action = (isset($HTTP_GET_VARS['action'])) ? stripslashes(trim($HTTP_GET_VARS['action'])) : stripslashes(trim($HTTP_POST_VARS['action'])); } else { $action = ""; } if ($action == "") { $action = "intro"; } $lang_select = ""; $folderlist = array(); $handle = opendir(ROOT_PATH."lang"); while ($folder = @readdir($handle)) { if (@is_dir(ROOT_PATH."lang/$folder") && $folder != "." && $folder != "..") { $folderlist[] = $folder; } } sort($folderlist); for($i = 0; $i < sizeof($folderlist); $i++) { $lang_select .= " ".$folderlist[$i]." \n"; } closedir($handle); if (isset($HTTP_GET_VARS['install_lang']) || isset($HTTP_POST_VARS['install_lang'])) { $install_lang = (isset($HTTP_GET_VARS['install_lang'])) ? trim($HTTP_GET_VARS['install_lang']) : trim($HTTP_POST_VARS['install_lang']); } if (empty($install_lang) || !in_array($install_lang, $folderlist)) { $install_lang = "deutsch"; } $lang = array(); include(ROOT_PATH.'lang/'.$install_lang.'/install.php'); $db_servertype = (isset($HTTP_POST_VARS['db_servertype'])) ? trim($HTTP_POST_VARS['db_servertype']) : "mysql"; $db_host = (isset($HTTP_POST_VARS['db_host'])) ? trim($HTTP_POST_VARS['db_host']) : ""; $db_name = (isset($HTTP_POST_VARS['db_name'])) ? trim($HTTP_POST_VARS['db_name']) : ""; $db_user = (isset($HTTP_POST_VARS['db_user'])) ? trim($HTTP_POST_VARS['db_user']) : ""; $db_password = (isset($HTTP_POST_VARS['db_password'])) ? trim($HTTP_POST_VARS['db_password']) : ""; $table_prefix = (isset($HTTP_POST_VARS['table_prefix'])) ? trim($HTTP_POST_VARS['table_prefix']) : "4images_"; $admin_user = (isset($HTTP_POST_VARS['admin_user'])) ? trim($HTTP_POST_VARS['admin_user']) : ""; $admin_password = (isset($HTTP_POST_VARS['admin_password'])) ? trim($HTTP_POST_VARS['admin_password']) : ""; $admin_password2 = (isset($HTTP_POST_VARS['admin_password2'])) ? trim($HTTP_POST_VARS['admin_password2']) : ""; include(ROOT_PATH.'includes/constants.php'); if ($action == "downloadconfig") { header("Content-Type: text/x-delimtext; name=\"config.php\""); header("Content-disposition: attachment; filename=config.php"); $config_file = stripslashes(trim($HTTP_POST_VARS['config_file'])); echo $config_file; exit; } ?>

This is the first program that I'm trying to install.  I'm sure it's something stupid...but I'm not sure what it is.  Please help me.
Title: Re: Help with installing
Post by: nobby on July 19, 2008, 02:10:03 PM
Hi,

This assistance is great.

German translation in English Translation by Google

http://translate.google.com/translate?u=http%3A%2F%2Fwww.4homepages.de%2Fforum%2Findex.php%3Ftopic%3D6203.0&hl=de&ie=UTF8&sl=de&tl=en

The directory "4images/docs" there is help for installation.
Title: Re: Help with installing
Post by: V@no on July 19, 2008, 05:55:27 PM
and make sure you server met minimum system requirements:
http://www.4homepages.de/4images/requirements.php