Autor |
Nachricht |
Amostel
Neuling
Anmeldedatum: 22.12.2007 Beiträge: 3
|
Verfasst am: Sa 22 Dez 2007, 13:43 Titel:
Kann Install.php nicht starten |
|
HiHo,
Ich habe einen Server bei Ja-Nee.de und habe UGamela aus dem Tut hochgeladen mit Total Commander.
Aber wenn ich es installieren möchte kommt folgendes:
http://amostel.ja-nee.de/Ugamela//install.php
sql_query($sql)) ) { return; } $tables = array(); while( $row = $db->sql_fetchrow($result) ) { $row = array_values($row); $tables[] = $row[0]; if ( $mode == 'remove_tables' ) { $sql2 = "DROP TABLE " . $row[0]; if ( !($result2 = $db->sql_query($sql2)) ) { die('SQL: ' . $sql2 . '
Could not delete table ' . $row[0]); } } } if ( $mode == 'check' ) { foreach( $HTTP_POST_VARS as $name => $value ) { if ( $name != "decission" && $name != "new_prefix" ) { $hidden_fields .= ''; } } if ( count($tables) ) { switch($lang_txt) { case '2': $lang_install_error = sprintf($lang['Install_duplicate_tables_info2'], $dbms_basic); break; case '3': $lang_install_error = sprintf($lang['Install_duplicate_tables_info2'], $dbms_basic); break; default: $lang_install_error = sprintf($lang['Install_duplicate_tables_info'], $dbms_schema, $dbname, $table_prefix); } } else { $lang_install_error = sprintf($lang['Install_duplicate_tables_info3'], $dbms_basic); } echo '' . $lang_install_error . ' ' . $hidden_fields . ' '; if ( count($tables) ) { echo''; } echo ''; } return; } // // FUNCTIONS // --------- // Begin error_reporting (E_ERROR | E_WARNING | E_PARSE); // This will NOT report uninitialized variables set_magic_quotes_runtime(0); // Disable magic_quotes_runtime // PHP5 with register_long_arrays off? if (!isset($HTTP_POST_VARS) && isset($_POST)) { $HTTP_POST_VARS = $_POST; $HTTP_GET_VARS = $_GET; $HTTP_SERVER_VARS = $_SERVER; $HTTP_COOKIE_VARS = $_COOKIE; $HTTP_ENV_VARS = $_ENV; $HTTP_POST_FILES = $_FILES; // _SESSION is the only superglobal which is conditionally set if (isset($_SESSION)) { $HTTP_SESSION_VARS = $_SESSION; } } // Slash data if it isn't slashed if (!get_magic_quotes_gpc()) { if (is_array($HTTP_GET_VARS)) { while (list($k, $v) = each($HTTP_GET_VARS)) { if (is_array($HTTP_GET_VARS[$k])) { while (list($k2, $v2) = each($HTTP_GET_VARS[$k])) { $HTTP_GET_VARS[$k][$k2] = addslashes($v2); } @reset($HTTP_GET_VARS[$k]); } else { $HTTP_GET_VARS[$k] = addslashes($v); } } @reset($HTTP_GET_VARS); } if (is_array($HTTP_POST_VARS)) { while (list($k, $v) = each($HTTP_POST_VARS)) { if (is_array($HTTP_POST_VARS[$k])) { while (list($k2, $v2) = each($HTTP_POST_VARS[$k])) { $HTTP_POST_VARS[$k][$k2] = addslashes($v2); } @reset($HTTP_POST_VARS[$k]); } else { $HTTP_POST_VARS[$k] = addslashes($v); } } @reset($HTTP_POST_VARS); } if (is_array($HTTP_COOKIE_VARS)) { while (list($k, $v) = each($HTTP_COOKIE_VARS)) { if (is_array($HTTP_COOKIE_VARS[$k])) { while (list($k2, $v2) = each($HTTP_COOKIE_VARS[$k])) { $HTTP_COOKIE_VARS[$k][$k2] = addslashes($v2); } @reset($HTTP_COOKIE_VARS[$k]); } else { $HTTP_COOKIE_VARS[$k] = addslashes($v); } } @reset($HTTP_COOKIE_VARS); } } // Begin main prog define('IN_PHPBB', true); $phpbb_root_path = './'; $phpEx = "php"; // Initialise some basic arrays $userdata = array(); $lang = array(); $error = false; // Include some required functions //include($phpbb_root_path.'install/constants.'.$phpEx); include($phpbb_root_path.'install/functions.'.$phpEx); //include($phpbb_root_path.'install/sessions.'.$phpEx); // Define schema info $available_dbms = array( 'mysql' => array( 'LABEL' => 'MySQL 4.x/5.x', 'SCHEMA' => 'mysql', 'DELIM' => ';', 'DELIM_BASIC' => ';', 'COMMENTS' => 'remove_remarks' ) ); $dir = 'cache/'; $res = @opendir($dir); if ($res) { while(($file = readdir($res)) !== false) { if ( is_file($dir . $file) && $file != '.htaccess' ) { @unlink($dir . $file); } } @closedir($res); } // Obtain various vars $confirm = (isset($HTTP_POST_VARS['confirm'])) ? true : false; $cancel = (isset($HTTP_POST_VARS['cancel'])) ? true : false; if (isset($HTTP_POST_VARS['install_step']) || isset($HTTP_GET_VARS['install_step'])) { $install_step = (isset($HTTP_POST_VARS['install_step'])) ? $HTTP_POST_VARS['install_step'] : $HTTP_GET_VARS['install_step']; } else { $install_step = ''; } $dbms = isset($HTTP_POST_VARS['dbms']) ? $HTTP_POST_VARS['dbms'] : ''; $dbhost = (!empty($HTTP_POST_VARS['dbhost'])) ? $HTTP_POST_VARS['dbhost'] : 'localhost'; $dbuser = (!empty($HTTP_POST_VARS['dbuser'])) ? $HTTP_POST_VARS['dbuser'] : ''; $dbpasswd = (!empty($HTTP_POST_VARS['dbpasswd'])) ? $HTTP_POST_VARS['dbpasswd'] : ''; $dbname = (!empty($HTTP_POST_VARS['dbname'])) ? $HTTP_POST_VARS['dbname'] : ''; $table_prefix = (!empty($HTTP_POST_VARS['prefix'])) ? $HTTP_POST_VARS['prefix'] : ''; $admin_name = (!empty($HTTP_POST_VARS['admin_name'])) ? $HTTP_POST_VARS['admin_name'] : ''; $admin_pass1 = (!empty($HTTP_POST_VARS['admin_pass1'])) ? $HTTP_POST_VARS['admin_pass1'] : ''; $admin_pass2 = (!empty($HTTP_POST_VARS['admin_pass2'])) ? $HTTP_POST_VARS['admin_pass2'] : ''; if (isset($HTTP_POST_VARS['lang']) && preg_match('#^[a-z_]+$#', $HTTP_POST_VARS['lang'])) { $language = strip_tags($HTTP_POST_VARS['lang']); } else { $language = guess_lang(); } $PHP_SELF = ($_SERVER['PHP_SELF']) ? $_SERVER['PHP_SELF'] : $_ENV['PHP_SELF']; $board_email = (!empty($HTTP_POST_VARS['board_email'])) ? $HTTP_POST_VARS['board_email'] : ''; $script_path = (!empty($HTTP_POST_VARS['script_path'])) ? $HTTP_POST_VARS['script_path'] : str_replace('install', '', dirname($PHP_SELF)); if (!empty($HTTP_POST_VARS['server_name'])) { $server_name = $HTTP_POST_VARS['server_name']; } else { // Guess at some basic info used for install.. if (!empty($HTTP_SERVER_VARS['SERVER_NAME']) || !empty($HTTP_ENV_VARS['SERVER_NAME'])) { $server_name = (!empty($HTTP_SERVER_VARS['SERVER_NAME'])) ? $HTTP_SERVER_VARS['SERVER_NAME'] : $HTTP_ENV_VARS['SERVER_NAME']; } else if (!empty($HTTP_SERVER_VARS['HTTP_HOST']) || !empty($HTTP_ENV_VARS['HTTP_HOST'])) { $server_name = (!empty($HTTP_SERVER_VARS['HTTP_HOST'])) ? $HTTP_SERVER_VARS['HTTP_HOST'] : $HTTP_ENV_VARS['HTTP_HOST']; } else { $server_name = ''; } } if (!empty($HTTP_POST_VARS['server_port'])) { $server_port = $HTTP_POST_VARS['server_port']; } else { if (!empty($HTTP_SERVER_VARS['SERVER_PORT']) || !empty($HTTP_ENV_VARS['SERVER_PORT'])) { $server_port = (!empty($HTTP_SERVER_VARS['SERVER_PORT'])) ? $HTTP_SERVER_VARS['SERVER_PORT'] : $HTTP_ENV_VARS['SERVER_PORT']; } else { $server_port = '80'; } } // Open config.php ... if it exists if (@file_exists(@phpbb_realpath('config.'.$phpEx))) { die('Ugamela arleady installed. If you really want fresh install, remove config.php file.'); } // Import language file, setup template ... include($phpbb_root_path.'install/lang_install.'.$phpEx); // Ok for the time being I'm commenting this out whilst I'm working on // better integration of the install with upgrade as per Bart's request // JLH include('check_data.'.$phpEx); $wrong_checksum = ''; if ( $HTTP_GET_VARS['mode'] != 'break' ) { for($i=0; count($file_list) > $i; $i++) { if ( md5_checksum($file_list[$i]) != $md5_sum[$file_list[$i]] ) { $content = md5_checksum($file_list[$i]); $wrong_checksum .= (($content) ? '' . $file_list[$i] . ' - ' . sprintf($lang['Wrong_file_checksum'], $content) . '
' : '' . $file_list[$i] . ' - ' . $lang['Missing_file'] . '
'); } } } // What do we need to do? if (!empty($HTTP_POST_VARS['send_file']) && $HTTP_POST_VARS['send_file'] == 1) { header('Content-Type: text/x-delimtext; name="config.' . $phpEx . '"'); header('Content-disposition: attachment; filename="config.' . $phpEx . '"'); // We need to stripslashes no matter what the setting of magic_quotes_gpc is // because we add slashes at the top if its off, and they are added automaticlly // if it is on. echo stripslashes($HTTP_POST_VARS['config_data']); exit; } else if ((empty($install_step) || empty($dbhost))) { // Ok we haven't installed before so lets work our way through the various // steps of the install process. This could turn out to be quite a lengty // process. if ( $wrong_checksum && !isset($HTTP_POST_VARS['install_step']) ) { page_header($lang['Wrong_checksum'] . '
....
Was ist da los?
Grüße und Dank,
Amostel
|
Nach oben
|
|
|
Blindpro
Chefsupporter
Anmeldedatum: 09.12.2007 Beiträge: 439 Wohnort: Duisburg
|
Verfasst am: Sa 22 Dez 2007, 13:55 Titel:
|
|
bei welchem schritt?
vermutlich bei schritt3 oder? Wenn ja, dann hast du die Falschen Daten für die Datenbank angegeben.
Möglicherweise Liegt es auch am Host.
Empfehlung:
Am besten noch mal alle Daten ersetzen, wenns dann nicht geht.
Im localhost versuchen oder bei nem anderen Hoster mit den gleichen Daten, daraus kann man dann schließen wo der Fehler liegt btw. lag.
_________________ Chef-Supporter | Moderator | Universum 5 (norm)
TheRocki.de | 2008
|
Nach oben
|
|
|
Amostel
Neuling
Anmeldedatum: 22.12.2007 Beiträge: 3
|
Verfasst am: Sa 22 Dez 2007, 13:58 Titel:
|
|
Danke für die fixe Antwort:)
Ist sofort beim Aufrufen so,es erscheint kein Menü wie bei den Screenshots sondern sofort diese WirWar.
Habe schon paar mal gelöscht neu geuppt aber hat funktioniert.
Kann es sein,dass ich kein MYSQL aktiviert habe oder so?
Wenn nicht porbier ichs auf nem anderen Hoster,welchen gibts da noch?
Bei Newsit.es bekomme ich keine aktivierunglink.
Grüße und nochmal Dank,
Amostel
|
Nach oben
|
|
|
Blindpro
Chefsupporter
Anmeldedatum: 09.12.2007 Beiträge: 439 Wohnort: Duisburg
|
Verfasst am: Sa 22 Dez 2007, 14:00 Titel:
|
|
ja, ich denke dann liegt es am Hoster!
_________________ Chef-Supporter | Moderator | Universum 5 (norm)
TheRocki.de | 2008
|
Nach oben
|
|
|
Amostel
Neuling
Anmeldedatum: 22.12.2007 Beiträge: 3
|
Verfasst am: Sa 22 Dez 2007, 14:05 Titel:
|
|
welcher Hoster wäre eine alternative bzw. wie kann ich MYSQL aktivieren?
|
Nach oben
|
|
|
xire
UGamela PowerUser
Anmeldedatum: 10.12.2007 Beiträge: 573 Wohnort: Tettnang (Baden-Württemberg)
|
Verfasst am: Sa 22 Dez 2007, 14:53 Titel:
|
|
Oft ist Mysql schon automatisch aktiviert, wenn nicht
gibts es im Kontrollzentrum von deinem Hoster meistens eine Seite wo du die sachen aktivieren kannst bzw. Datenbank erstellen kannst.
mfg xire
_________________ Bei fragen etc. Gerne mich anschreiben!
icq: 316895582
msn: Dark_black1988@lycos.de
Mfg Xire
|
Nach oben
|
|
|
xire
UGamela PowerUser
Anmeldedatum: 10.12.2007 Beiträge: 573 Wohnort: Tettnang (Baden-Württemberg)
|
Verfasst am: So 06 Jan 2008, 15:39 Titel:
|
|
Thema wurde GESCHLOSSEN,da keine Aktivität seit 1 Woche oder Länger war BZW. Frage beantwortet wurde!. Wenn es zu früh war oder es noch eine Frage dazu gibt einen Moderator oder mich anschreiben.
Mfg Xire
_________________ Bei fragen etc. Gerne mich anschreiben!
icq: 316895582
msn: Dark_black1988@lycos.de
Mfg Xire
|
Nach oben
|
|
|
|