Probleme bei der Installation
Verfasst: 19.03.2004 22:52
Wenn ich den Ordner mit den Forendaten hochgeladen hab und auf install.php gehe, sieht meine Seite (die ja eigentlich ein Anmeldeformular sein sollte) so aus:
([_-][a-z]+)?', 'english' => 'en([_-][a-z]+)?', 'estonian' => 'et', 'finnish' => 'fi', 'french' => 'fr([_-][a-z]+)?', 'greek' => 'el', 'spanish_argentina' => 'es[_-]ar', 'spanish' => 'es([_-][a-z]+)?', 'gaelic' => 'gd', 'galego' => 'gl', 'gujarati' => 'gu', 'hebrew' => 'he', 'hindi' => 'hi', 'croatian' => 'hr', 'hungarian' => 'hu', 'icelandic' => 'is', 'indonesian' => 'id([_-][a-z]+)?', 'italian' => 'it([_-][a-z]+)?', 'japanese' => 'ja([_-][a-z]+)?', 'korean' => 'ko([_-][a-z]+)?', 'latvian' => 'lv', 'lithuanian' => 'lt', 'macedonian' => 'mk', 'dutch' => 'nl([_-][a-z]+)?', 'norwegian' => 'no', 'punjabi' => 'pa', 'polish' => 'pl', 'portuguese_brazil' => 'pt[_-]br', 'portuguese' => 'pt([_-][a-z]+)?', 'romanian' => 'ro([_-][a-z]+)?', 'russian' => 'ru([_-][a-z]+)?', 'slovenian' => 'sl([_-][a-z]+)?', 'albanian' => 'sq', 'serbian' => 'sr([_-][a-z]+)?', 'slovak' => 'sv([_-][a-z]+)?', 'swedish' => 'sv([_-][a-z]+)?', 'thai' => 'th([_-][a-z]+)?', 'turkish' => 'tr([_-][a-z]+)?', 'ukranian' => 'uk([_-][a-z]+)?', 'urdu' => 'ur', 'viatnamese' => 'vi', 'chinese_traditional_taiwan'=> 'zh[_-]tw', 'chinese_simplified' => 'zh', ); if (isset($HTTP_SERVER_VARS['HTTP_ACCEPT_LANGUAGE'])) { $accept_lang_ary = explode(',', $HTTP_SERVER_VARS['HTTP_ACCEPT_LANGUAGE']); for ($i = 0; $i < sizeof($accept_lang_ary); $i++) { @reset($match_lang); while (list($lang, $match) = each($match_lang)) { if (preg_match('#' . $match . '#i', trim($accept_lang_ary[$i]))) { if (file_exists(@phpbb_realpath($phpbb_root_path . 'language/lang_' . $lang))) { return $lang; } } } } } return 'german'; } // // 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 // 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); // Uncomment the following line to completely disable the ftp option... // define('NO_FTP', true); $phpbb_root_path = './../'; include($phpbb_root_path.'extension.inc'); // Initialise some basic arrays $userdata = array(); $lang = array(); $error = false; // Include some required functions include($phpbb_root_path.'includes/constants.'.$phpEx); include($phpbb_root_path.'includes/functions.'.$phpEx); include($phpbb_root_path.'includes/sessions.'.$phpEx); // Define schema info $available_dbms = array( 'mysql'=> array( 'LABEL' => 'MySQL 3.x', 'SCHEMA' => 'mysql', 'DELIM' => ';', 'DELIM_BASIC' => ';', 'COMMENTS' => 'remove_remarks' ), 'mysql4' => array( 'LABEL' => 'MySQL 4.x', 'SCHEMA' => 'mysql', 'DELIM' => ';', 'DELIM_BASIC' => ';', 'COMMENTS' => 'remove_remarks' ), 'postgres' => array( 'LABEL' => 'PostgreSQL 7.x', 'SCHEMA' => 'postgres', 'DELIM' => ';', 'DELIM_BASIC' => ';', 'COMMENTS' => 'remove_comments' ), 'mssql' => array( 'LABEL' => 'MS SQL Server 7/2000', 'SCHEMA' => 'mssql', 'DELIM' => 'GO', 'DELIM_BASIC' => ';', 'COMMENTS' => 'remove_comments' ), 'msaccess' => array( 'LABEL' => 'MS Access [ ODBC ]', 'SCHEMA' => '', 'DELIM' => '', 'DELIM_BASIC' => ';', 'COMMENTS' => '' ), 'mssql-odbc' => array( 'LABEL' => 'MS SQL Server [ ODBC ]', 'SCHEMA' => 'mssql', 'DELIM' => 'GO', 'DELIM_BASIC' => ';', 'COMMENTS' => 'remove_comments' ) ); // Obtain various vars $confirm = (isset($HTTP_POST
Das is nur ein kleiner Auszug.
Ich hab das alles auf Tripod liegen.
Wäre dankbar für Hilfe
Gruß
Anja
([_-][a-z]+)?', 'english' => 'en([_-][a-z]+)?', 'estonian' => 'et', 'finnish' => 'fi', 'french' => 'fr([_-][a-z]+)?', 'greek' => 'el', 'spanish_argentina' => 'es[_-]ar', 'spanish' => 'es([_-][a-z]+)?', 'gaelic' => 'gd', 'galego' => 'gl', 'gujarati' => 'gu', 'hebrew' => 'he', 'hindi' => 'hi', 'croatian' => 'hr', 'hungarian' => 'hu', 'icelandic' => 'is', 'indonesian' => 'id([_-][a-z]+)?', 'italian' => 'it([_-][a-z]+)?', 'japanese' => 'ja([_-][a-z]+)?', 'korean' => 'ko([_-][a-z]+)?', 'latvian' => 'lv', 'lithuanian' => 'lt', 'macedonian' => 'mk', 'dutch' => 'nl([_-][a-z]+)?', 'norwegian' => 'no', 'punjabi' => 'pa', 'polish' => 'pl', 'portuguese_brazil' => 'pt[_-]br', 'portuguese' => 'pt([_-][a-z]+)?', 'romanian' => 'ro([_-][a-z]+)?', 'russian' => 'ru([_-][a-z]+)?', 'slovenian' => 'sl([_-][a-z]+)?', 'albanian' => 'sq', 'serbian' => 'sr([_-][a-z]+)?', 'slovak' => 'sv([_-][a-z]+)?', 'swedish' => 'sv([_-][a-z]+)?', 'thai' => 'th([_-][a-z]+)?', 'turkish' => 'tr([_-][a-z]+)?', 'ukranian' => 'uk([_-][a-z]+)?', 'urdu' => 'ur', 'viatnamese' => 'vi', 'chinese_traditional_taiwan'=> 'zh[_-]tw', 'chinese_simplified' => 'zh', ); if (isset($HTTP_SERVER_VARS['HTTP_ACCEPT_LANGUAGE'])) { $accept_lang_ary = explode(',', $HTTP_SERVER_VARS['HTTP_ACCEPT_LANGUAGE']); for ($i = 0; $i < sizeof($accept_lang_ary); $i++) { @reset($match_lang); while (list($lang, $match) = each($match_lang)) { if (preg_match('#' . $match . '#i', trim($accept_lang_ary[$i]))) { if (file_exists(@phpbb_realpath($phpbb_root_path . 'language/lang_' . $lang))) { return $lang; } } } } } return 'german'; } // // 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 // 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); // Uncomment the following line to completely disable the ftp option... // define('NO_FTP', true); $phpbb_root_path = './../'; include($phpbb_root_path.'extension.inc'); // Initialise some basic arrays $userdata = array(); $lang = array(); $error = false; // Include some required functions include($phpbb_root_path.'includes/constants.'.$phpEx); include($phpbb_root_path.'includes/functions.'.$phpEx); include($phpbb_root_path.'includes/sessions.'.$phpEx); // Define schema info $available_dbms = array( 'mysql'=> array( 'LABEL' => 'MySQL 3.x', 'SCHEMA' => 'mysql', 'DELIM' => ';', 'DELIM_BASIC' => ';', 'COMMENTS' => 'remove_remarks' ), 'mysql4' => array( 'LABEL' => 'MySQL 4.x', 'SCHEMA' => 'mysql', 'DELIM' => ';', 'DELIM_BASIC' => ';', 'COMMENTS' => 'remove_remarks' ), 'postgres' => array( 'LABEL' => 'PostgreSQL 7.x', 'SCHEMA' => 'postgres', 'DELIM' => ';', 'DELIM_BASIC' => ';', 'COMMENTS' => 'remove_comments' ), 'mssql' => array( 'LABEL' => 'MS SQL Server 7/2000', 'SCHEMA' => 'mssql', 'DELIM' => 'GO', 'DELIM_BASIC' => ';', 'COMMENTS' => 'remove_comments' ), 'msaccess' => array( 'LABEL' => 'MS Access [ ODBC ]', 'SCHEMA' => '', 'DELIM' => '', 'DELIM_BASIC' => ';', 'COMMENTS' => '' ), 'mssql-odbc' => array( 'LABEL' => 'MS SQL Server [ ODBC ]', 'SCHEMA' => 'mssql', 'DELIM' => 'GO', 'DELIM_BASIC' => ';', 'COMMENTS' => 'remove_comments' ) ); // Obtain various vars $confirm = (isset($HTTP_POST
Das is nur ein kleiner Auszug.
Ich hab das alles auf Tripod liegen.
Wäre dankbar für Hilfe
Gruß
Anja