diff --git a/phpBB/install/install.php b/phpBB/install/install.php index 42fac0eae3..ca9c685df8 100644 --- a/phpBB/install/install.php +++ b/phpBB/install/install.php @@ -22,8 +22,9 @@ define('IN_PHPBB', true); // Error reporting level and runtime escaping -//error_reporting (E_ERROR | E_WARNING | E_PARSE); // This will NOT report uninitialized variables -set_magic_quotes_runtime(0); // Disable magic_quotes_runtime +//error_reporting (E_ERROR | E_WARNING | E_PARSE); +set_magic_quotes_runtime(0); + // Include essential scripts $phpbb_root_path = './../'; @@ -33,6 +34,7 @@ include($phpbb_root_path . 'includes/session.'.$phpEx); include($phpbb_root_path . 'includes/acm/acm_file.'.$phpEx); include($phpbb_root_path . 'includes/functions_admin.'.$phpEx); + // Slash data if necessary if (!get_magic_quotes_gpc()) { @@ -41,6 +43,7 @@ if (!get_magic_quotes_gpc()) $_COOKIE = slash_input_data($_POST); } + // Instantiate classes for future use $user = new user(); $auth = new auth(); @@ -50,7 +53,7 @@ $cache = new acm(); // Try opening config file if (@file_exists($phpbb_root_path . 'config.'.$phpEx)) { -// include($phpbb_root_path . 'config.'.$phpEx); + include($phpbb_root_path . 'config.'.$phpEx); if (defined('PHPBB_INSTALLED')) { @@ -62,6 +65,7 @@ if (@file_exists($phpbb_root_path . 'config.'.$phpEx)) // Obtain various vars $stage = (isset($_POST['stage'])) ? intval($_POST['stage']) : 0; +// These are all strings so we'll just traverse an array $var_ary = array('language', 'dbms', 'dbhost', 'dbport', 'dbuser', 'dbpasswd', 'dbname', 'table_prefix', 'admin_name', 'admin_pass1', 'admin_pass2', 'board_email1', 'board_email2', 'server_name', 'server_port', 'script_path', 'ftp_path', 'ftp_user', 'ftp_pass'); foreach ($var_ary as $var) @@ -71,17 +75,15 @@ foreach ($var_ary as $var) // Set some vars +define('ANONYMOUS', 1); + $error = array(); -define('ANONYMOUS', 1); -define('ACL_NO', 0); -define('ACL_YES', 1); - -$default_language = 'en'; -$default_template = 'subSilver'; - -$php_dlls_other = array('zlib', 'mbstring', 'ftp'); +// Other PHP modules we may find useful +//$php_dlls_other = array('zlib', 'mbstring', 'ftp'); +$php_dlls_other = array('zlib', 'ftp'); +// Supported DB layers including relevant details $available_dbms = array( 'firebird' => array( 'LABEL' => 'FireBird', @@ -152,10 +154,9 @@ $available_dbms = array( $suffix = ((defined('PHP_OS')) && (preg_match('#win#i', PHP_OS))) ? 'dll' : 'so'; - - - - +// +// Variables defined ... start program proper +// // Try and load an appropriate language if required @@ -182,59 +183,43 @@ if (!empty($_SERVER['HTTP_ACCEPT_LANGUAGE']) && !$language) } } } + + // No appropriate language found ... so let's use the first one in the language + // dir, this may or may not be English + if (!$language) + { + $dir = @opendir($phpbb_root_path . 'language'); + while ($file = readdir($dir)) + { + $path = $phpbb_root_path . 'language/' . $file; + + if (!is_file($path) && !is_link($path) && file_exists($path . '/iso.txt')) + { + $language = $file; + break; + } + } + } } include($phpbb_root_path . 'language/' . $language . '/lang_main.'.$phpEx); include($phpbb_root_path . 'language/' . $language . '/lang_admin.'.$phpEx); - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -// If we're upgrading include that script -if ($upgrade) +// Here we do a number of tests and where appropriate reset the installation level +// depending on the outcome of those tests. It's perhaps a little clunky but +// it means we have a fairly clear and logical path through the installation and +// this source ... well, till I go and fill it with fudge ... damn, dribbled +// on my keyboard +if (isset($_POST['retest'])) { - require('upgrade.' . $phpEx); + $stage = 0; } - - - - - -// Do the installation -if (isset($_POST['install'])) +else if (isset($_POST['testdb'])) +{ + $stage = 1; +} +else if (isset($_POST['install'])) { // Check for missing data $var_ary = array( @@ -254,11 +239,10 @@ if (isset($_POST['install'])) } } - // Check the entered email address and password if ($admin_pass1 != $admin_pass2 && $admin_pass1 != '') { - $error['admin'][] = $lang['PASSWORD_MISMATCH']; + $error['admin'][] = $lang['INSTALL_PASSWORD_MISMATCH']; } if ($board_email1 != $board_email2 && $board_email1 != '') @@ -266,11 +250,10 @@ if (isset($_POST['install'])) $error['admin'][] = $lang['INSTALL_EMAIL_MISMATCH']; } - // Test the database connectivity if (!@extension_loaded($available_dbms[$dbms]['MODULE'])) { - if (!@ini_get('enable_dl') || strtolower(@ini_get('enable_dl')) == 'off' || @ini_get('safe_mode') || strtolower(@ini_get('safe_mode')) == 'on' || !@dl($available_dbms[$dbms]['MODULE'] . '.' . $suffix)) + if (!can_load_dll($available_dbms[$dbms]['MODULE'])) { $error['db'][] = 'Cannot load the PHP module for the selected database type'; } @@ -296,14 +279,6 @@ if (isset($_POST['install'])) $stage = 1; } } -else if (isset($_POST['testdb'])) -{ - $stage = 1; -} -else if (isset($_POST['retest'])) -{ - $stage = 0; -} else if (isset($_POST['dldone'])) { // A minor fudge ... we're basically trying to see if the user uploaded @@ -317,37 +292,13 @@ else if (isset($_POST['dldone'])) } - - - - - - - - - - - -// First stage of installation +// Zero stage of installation // // Here we basically imform the user of any potential issues such as no database // support, missing directories, etc. We also give some insight into "missing" // modules which we'd quite like installed (but which are not essential) if ($stage == 0) { - - $user->lang = array_merge($lang, array( - 'DLL_firebird' => 'Firebird 1.5+', - 'DLL_mysql' => 'MySQL 3.23.x', - 'DLL_mysql4' => 'MySQL 4.x', - 'DLL_mssql' => 'MSSQL Server 2000', - 'DLL_mssql-odbc' => 'MSSQL Server 2000 via ODBC', - 'DLL_msaccess' => 'MS Access via ODBC', - 'DLL_oracle' => 'Oracle', - 'DLL_postgres' => 'PostgreSQL 7.x') - ); - - // Test for DB modules $dlls_db = array(); $passed['db'] = false; @@ -357,25 +308,23 @@ if ($stage == 0) if (!extension_loaded($dll)) { - if (!@ini_get('enable_dl') || strtolower(@ini_get('enable_dl')) == 'off' || @ini_get('safe_mode') || strtolower(@ini_get('safe_mode')) == 'on' || !@dl($dll . ".$suffix")) + if (!can_load_dll($dll)) { - $dlls_db[$db_name] = '' . 'Unavailable' . ''; + $dlls_db[$db_name] = '' . $lang['UNAVAILABLE'] . ''; continue; } } - $dlls_db[$db_name] = '' . 'Available' . ''; + $dlls_db[$db_name] = '' . $lang['AVAILABLE'] . ''; $passed['db'] = true; } - - // Test for other modules $dlls_other = array(); foreach ($php_dlls_other as $dll) { if (!extension_loaded($dll)) { - if (!@ini_get('enable_dl') || strtolower(@ini_get('enable_dl')) == 'off' || @ini_get('safe_mode') || strtolower(@ini_get('safe_mode')) == 'on' || !@dl($dll . ".$suffix")) + if (!can_load_dll($dll)) { $dlls_other[$dll] = '' . 'Unavailable' . ''; continue; @@ -384,21 +333,21 @@ if ($stage == 0) $dlls_other[$dll] = '' . 'Available' . ''; } - inst_page_header($instruction_text, "install.$phpEx"); + inst_page_header(); ?> -

Before proceeding with full installation phpBB will carry out some tests on your server and basic install. Please ensure you read through the results thoroughly and do not proceed until all tests are passed.

+

-

PHP and Applications

+

-

Required

+

-

You must be running at least PHP 4.1.0 with support for at least one compatible database. If no support modules are shown as available you should contact your hosting provider or review the relevant PHP installation documentation for advice.

+

- + - + 0) ? '' : ''; ?> - +
• PHP version >= 4.1.0: • : No'; + echo '' . $lang['NO'] . ''; } else { - echo 'Yes'; + // We also give feedback on whether we're running in safe mode + echo '' . $lang['YES']; if (@ini_get('safe_mode') || strtolower(@ini_get('safe_mode')) == 'on') { - echo ', safe mode'; + echo ', ' . $lang['PHP_SAFE_MODE']; } echo ''; } @@ -421,7 +371,7 @@ if ($stage == 0) ?>
• Supported Databases: • :
lang['DLL_' . $dll]; ?>
-

Optional

+

-

These modules or applications are optional, you do not need these to use phpBB 2.2. However if you do have them they will will enable greater functionality.

+

@@ -451,16 +401,10 @@ if ($stage == 0) // Optional modules which may be useful to us foreach ($dlls_other as $dll => $yesno) { - // TEMPORARY LANGUAGE STRINGS - $user->lang = array_merge($user->lang, array( - 'DLL_mbstring' => 'Multi-byte character support', - 'DLL_zlib' => 'zlib Compression support', - 'DLL_ftp' => 'Remote FTP support') - ); ?> - + - - + +
• lang['DLL_' . $dll]; ?>: • :
• Imagemagick support: Available, ' . $imagemagick . '' : 'Cannot determine location'; ?>• : ' . $lang['AVAILABLE'] . ', ' . $imagemagick . '' : '' . $lang['NO_LOCATION'] . ''; ?>
-

Tests passed' : 'style="color:red">Tests failed'; ?>

+

' . $lang['TESTS_PASSED'] : 'style="color:red">' . $lang['TESTS_FAILED']; ?>


@@ -620,35 +564,27 @@ if ($stage == 0) } - - - - - - - - - - +// Second stage installation +// +// The basic tests have been passed so now we will proceed with asking +// the user for detailed information on their database, server, etc. if ($stage == 1) { - // - // ASK THE QUESTIONS - // - // ASK THE QUESTIONS - // + // If the user has decided to test the connection to their database + // then give it a go if (isset($_POST['testdb'])) { + // Let's try and load the required module if need be if (!@extension_loaded($available_dbms[$dbms]['MODULE'])) { - if (!@ini_get('enable_dl') || strtolower(@ini_get('enable_dl')) == 'off' || @ini_get('safe_mode') || strtolower(@ini_get('safe_mode')) == 'on' || !@dl($available_dbms[$dbms]['MODULE'] . '.' . $suffix)) + if (!can_load_dll($available_dbms[$dbms]['MODULE'])) { $error['db'][] = 'Cannot load the PHP module for the selected database type'; } } // Include the DB layer - include($phpbb_root_path . 'includes/db/' . $dbms . '.' . $phpEx); + include_once($phpbb_root_path . 'includes/db/' . $dbms . '.' . $phpEx); // Instantiate it and set return on error true $db = new sql_db(); @@ -668,14 +604,12 @@ if ($stage == 1) } - - $available_dbms_temp = array(); foreach ($available_dbms as $type => $dbms_ary) { if (!extension_loaded($dbms_ary['MODULE'])) { - if (!@ini_get('enable_dl') || strtolower(@ini_get('enable_dl')) == 'off' || @ini_get('safe_mode') || strtolower(@ini_get('safe_mode')) == 'on' || !@dl($dbms_ary['MODULE'] . ".$suffix")) + if (!can_load_dll($dbms_ary['MODULE'])) { continue; } @@ -686,16 +620,11 @@ if ($stage == 1) $available_dbms = &$available_dbms_temp; - - // 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. - - // Step 0 gather the pertinant info for database setup... - // Namely dbms, dbhost, dbname, dbuser, and dbpasswd. + // Here we guess at some server information, however we only + // do this if no "errors" exist ... if they do then the user + // has relady set the info and we can bypass it if (!sizeof($error)) { - // Guess at some basic info used for install.. if (!empty($_SERVER['SERVER_NAME']) || !empty($_ENV['SERVER_NAME'])) { $server_name = (!empty($_SERVER['SERVER_NAME'])) ? $_SERVER['SERVER_NAME'] : $_ENV['SERVER_NAME']; @@ -718,7 +647,7 @@ if ($stage == 1) $server_port = '80'; } - $script_path = preg_replace('#install\/install\.'.$phpEx.'#i', '', $_SERVER['PHP_SELF']); + $script_path = preg_replace('#install\/install\.' . $phpEx . '#i', '', $_SERVER['PHP_SELF']); } // Generate list of available DB's @@ -729,15 +658,9 @@ if ($stage == 1) $dbms_options .= ''; } - - - $s_hidden_fields = ''; - - - - inst_page_header($instruction_text, "install.$phpEx"); + inst_page_header(); ?> @@ -808,7 +731,7 @@ if ($stage == 1) - + @@ -884,6 +807,9 @@ if ($stage == 1) // we'll offer the user various options if ($stage == 2) { + // Here we are checking to see one final time which modules + // we need to load and whether we can load them. This includes + // modules in addition to that required by the DB layer $load_extensions = array(); $check_exts = array_merge($available_dbms[$dbms]['MODULE'], $php_dlls_other); @@ -891,7 +817,7 @@ if ($stage == 2) { if (!extension_loaded($dll)) { - if (!@ini_get('enable_dl') || strtolower(@ini_get('enable_dl')) == 'off' || @ini_get('safe_mode') || strtolower(@ini_get('safe_mode')) == 'on' || !@dl($dll . ".$suffix")) + if (!can_load_dll($dll)) { continue; } @@ -901,7 +827,7 @@ if ($stage == 2) $load_extensions = implode(',', $load_extensions); - // Write out the config file. + // Define the contents of config.php $config_data = "'; // Done this to prevent highlighting editors getting confused! -// $stage = 3; - // Attempt to write out the config directly ... - if (is_writeable($phpbb_root_path . 'config.'.$phpEx)) + if (filesize($phpbb_root_path . 'config.' . $phpEx) == 0 && is_writeable($phpbb_root_path . 'config.' . $phpEx)) { // Lets jump to the DB setup stage ... if nothing goes wrong below $stage = 3; @@ -940,6 +864,7 @@ if ($stage == 2) @fclose($fp); } + // We couldn't write it directly so we'll give the user three alternatives if ($stage == 2) { $ignore_ftp = false; @@ -951,8 +876,9 @@ if ($stage == 2) { if (@ftp_login($conn_id, $ftp_user, $ftp_pass)) { - // Write out a temp file... - $tmp_path = (!@ini_get('safe_mode')) ? false : './' . $config['avatar_path'] . '/tmp'; + // Write out a temp file ... if safe mode is on we'll write it to our + // local cache/tmp directory + $tmp_path = (!@ini_get('safe_mode')) ? false : $phpbb_root_path . 'cache/tmp'; $filename = tempnam($tmp_path, uniqid(rand()) . 'cfg'); $fp = @fopen($filename, 'w'); @@ -961,15 +887,17 @@ if ($stage == 2) if (@ftp_chdir($conn_id, $ftp_dir)) { - - // Now ftp it across ... if it works, jump to next stage ... else - // we'll offer more options + // So far, so good so now we'll try and upload the file. If it + // works we'll jump to stage 3, else we'll fall back again if (@ftp_put($conn_id, 'config.' . $phpEx, $filename, FTP_ASCII)) { $stage = 3; } else { + // Since we couldn't put the file something is fundamentally wrong, e.g. + // the file is owned by a different user, etc. We'll give up trying + // FTP at this point $ignore_ftp = true; } } @@ -977,6 +905,9 @@ if ($stage == 2) { $error['ftp'][] = 'Could not change to the given directory, please check the path.'; } + + // Remove the temporary file now + @unlink($filename); } else { @@ -987,12 +918,16 @@ if ($stage == 2) } else if (isset($_POST['dlftp'])) { + // The user requested a download, so send the relevant headers + // and dump out the data header("Content-Type: text/x-delimtext; name=\"config.$phpEx\""); header("Content-disposition: attachment; filename=config.$phpEx"); echo $config_data; exit; } + // Here we give the users up to three options to complete the setup + // of config.php, FTP, download and a retry and direct writing if ($stage == 2) { inst_page_header($instruction_text, "install.$phpEx"); @@ -1111,23 +1046,19 @@ if ($stage == 2) } - - - - - - - - -// Do the installation +// Everything should now be in place so we'll go ahead with the actual +// setup of the database. Hopefully nothing will go wrong from this +// point on ... it really shouldn""""""ttttttt if ($stage == 3) { + // If we get here and the extension isn't loaded we know that we + // can go ahead and load it without fear of failure ... probably if (!extension_loaded($available_dbms[$dbms]['MODULE'])) { @dl($available_dbms[$dbms]['MODULE'] . ".$prefix"); } - // Load the appropriate database class + // Load the appropriate database class if not already loaded include_once($phpbb_root_path . 'includes/db/' . $dbms . '.' . $phpEx); // Instantiate the database @@ -1143,6 +1074,8 @@ if ($stage == 3) $delimiter = $available_dbms[$dbms]['DELIM']; $delimiter_basic = $available_dbms[$dbms]['DELIM_BASIC']; + // We ship the Access schema complete, we don't need to create tables nor + // populate it (at this time ... this may change). So we skip this section if ($dbms != 'msaccess') { // NOTE: trigger_error does not work here. @@ -1165,6 +1098,12 @@ if ($stage == 3) $sql = trim($sql); if (!$db->sql_query($sql)) { + // TODO + // + // This is a fudgy way of dealing with attempts at installing to a DB + // which already contains the relevant tables. Next thing to do is + // to quit back to stage 1 and inform the user that this table extension + // is already in use $ignore_tables[] = preg_replace('#^CREATE TABLE ([a-z_]+?) .*$#is', '\1', $sql); $error = $db->sql_error(); die($error['message']); @@ -1199,7 +1138,8 @@ if ($stage == 3) $current_time = time(); - // Set default config and post data + // Set default config and post data, this applies to all DB's including + // MS Access $sql_ary = array( 'INSERT INTO ' . $table_prefix . "config (config_name, config_value) VALUES ('board_startdate', $current_time)", @@ -1273,13 +1213,13 @@ if ($stage == 3) if (!$db->sql_query($sql)) { $error = $db->sql_error(); + die($error['message']); } } $stage = 4; } - // Install completed ... log the user in ... we're done if ($stage == 4) { @@ -1301,15 +1241,23 @@ if ($stage == 4) $user->start(); $auth->login($admin_name, $admin_pass1); - echo $admin_name . " :: ". $admin_pass1 . " :: "; + inst_page_header(); + +?> + +

Congratulations

+ +

You have now successfully installed phpBB 2.2. Clicking the button below will take you to your Administration Control Panel (ACP). Take some time to examine the options available to you. Remember that help is available online via the Userguide and the phpBB support forums, see the README for further information.

+ +">

Login

+ +HERE'; -exit; - - - // addslashes to vars if magic_quotes_gpc is off this is a security precaution @@ -1327,7 +1275,7 @@ function slash_input_data(&$data) } // Output page -> header -function inst_page_header($l_instructions, $s_action) +function inst_page_header() { global $phpEx, $lang; @@ -1355,11 +1303,9 @@ td.cat { background-image: url('../adm/images/cellpic1.gif') }
:
DSN stands for Data Source Name and is relevant only for ODBC installs.
:
-


+

-

- -
+" name="installation" method="post"> \ No newline at end of file diff --git a/phpBB/language/en/lang_admin.php b/phpBB/language/en/lang_admin.php index e688a92e45..299f14a807 100644 --- a/phpBB/language/en/lang_admin.php +++ b/phpBB/language/en/lang_admin.php @@ -628,6 +628,13 @@ $lang = array_merge($lang, array( 'USERNAME_ALPHA_ONLY' => 'Alphanumeric only', 'USERNAME_ALPHA_SPACERS' => 'Alphanumeric and spacers', + 'KARMA_SETTINGS' => 'Karma Settings', + 'KARMA_SETTINGS_EXPLAIN'=> 'Here you can enable and disable the user Karma rating system. You can also modify the weighting factors used to derive each users karma.', + + + 'AVATARS_GALLERY' => 'Avatar Gallery', + 'AVATARS_PERSONAL' => 'Personal Avatars', + 'PHP_INFO_EXPLAIN' => 'This page lists information on the version of PHP installed on this server. It includes details of loaded modules, available variables and default settings. This information may be useful when diagnosing problems. Please be aware that some hosting companies will limit what information is displayed here for security reasons. You are advised to not give out any details on this page except when asked by support or other Team Member on the support forums.', @@ -1053,34 +1060,64 @@ $lang = array_merge($lang, array( 'NOT_ASSIGNED' => 'Not assigned', - 'WELCOME_INSTALL' => 'Welcome to phpBB 2 Installation', - 'INITIAL_CONFIG' => 'Basic Configuration', - 'DB_CONFIG' => 'Database Configuration', - 'ADMIN_CONFIG' => 'Admin Configuration', - 'CONTINUE_UPGRADE' => 'Once you have downloaded your config file to your local machine you may\'Continue Upgrade\' button below to move forward with the upgrade process. Please wait to upload the config file until the upgrade process is complete.', - 'UPGRADE_SUBMIT' => 'Continue Upgrade', - 'INSTALLER_ERROR' => 'An error has occurred during installation', - 'Previous_Install' => 'A previous installation has been detected', - 'INSTALL_DB_ERROR' => 'An error occurred trying to update the database', - 'INSTALL_EMAIL_MISMATCH' => 'The emails you entered did not match', - 'Re_install' => 'Your previous installation is still active.

If you would like to re-install phpBB 2 you should click the Yes button below. Please be aware that doing so will destroy all existing data, no backups will be made! The administrator username and password you have used to login in to the board will be re-created after the re-installation, no other settings will be retained.

Think carefully before pressing Yes!', - 'INST_STEP_0' => 'Thank you for choosing phpBB 2. In order to complete this install please fill out the details requested below. Please note that the database you install into should already exist. If you are installing to a database that uses ODBC, e.g. MS Access you should first create a DSN for it before proceeding.', - 'START_INSTALL' => 'Start Install', - 'FINISH_INSTALL' => 'Finish Installation', - 'DEFAULT_LANG' => 'Default board language', - 'DB_HOST' => 'Database Server Hostname / DSN', - 'DB_NAME' => 'Your Database Name', - 'DB_USERNAME' => 'Database Username', - 'DB_PASSWORD' => 'Database Password', - 'Database' => 'Your Database', - 'Install_lang' => 'Choose Language for Installation', - 'DBMS' => 'Database Type', - 'TABLE_PREFIX' => 'Prefix for tables in database', - 'ADMIN_USERNAME' => 'Administrator Username', - 'ADMIN_EMAIL_CONFIRM' => 'Admin Email Address [ Confirm ]', - 'ADMIN_PASSWORD' => 'Administrator Password', - 'ADMIN_PASSWORD_CONFIRM' => 'Administrator Password [ Confirm ]', - 'INST_STEP_2' => 'Your admin username has been created. At this point your basic installation is complete. You will now be taken to a screen which will allow you to administer your new installation. Please be sure to check the General Configuration details and make any required changes. Thank you for choosing phpBB 2.', + + + 'WELCOME_INSTALL' => 'Welcome to phpBB 2 Installation', + + 'INSTALL_ADVICE_EXPLAIN'=> 'Before proceeding with full installation phpBB will carry out some tests on your server and basic install. Please ensure you read through the results thoroughly and do not proceed until all tests are passed.', + 'PHP_AND_APPS' => 'PHP and Applications', + 'INSTALL_REQUIRED_PHP' => 'You must be running at least PHP 4.1.0 with support for at least one compatible database. If no support modules are shown as available you should contact your hosting provider or review the relevant PHP installation documentation for advice.', + 'PHP_VERSION_REQD' => 'PHP version >= 4.1.0', + 'PHP_SAFE_MODE' => 'Safe Mode', + 'PHP_REQD_DB' => 'Supported Databases', + 'DLL_FIREBIRD' => 'Firebird 1.5+', + 'DLL_MYSQL' => 'MySQL 3.23.x', + 'DLL_MYSQL4' => 'MySQL 4.x', + 'DLL_MSSQL' => 'MSSQL Server 2000', + 'DLL_MSSQL-ODBC' => 'MSSQL Server 2000 via ODBC', + 'DLL_MSACCESS' => 'MS Access via ODBC', + 'DLL_ORACLE' => 'Oracle', + 'DLL_POSTGRES' => 'PostgreSQL 7.x', + 'INSTALL_OPTIONAL_PHP' => 'These modules or applications are optional, you do not need these to use phpBB 2.2. However if you do have them they will will enable greater functionality.', + 'DLL_MBSTRING' => 'Multi-byte character support', + 'DLL_ZLIB' => 'zlib Compression support', + 'DLL_FTP' => 'Remote FTP support', + 'APP_MAGICK' => 'Imagemagick support', + + 'INSTALL_REQUIRED' => 'Required', + 'INSTALL_OPTIONAL' => 'Optional', + 'NO_LOCATION' => 'Cannot determine location', + + 'TESTS_PASSED' => 'Tests passed', + 'TESTS_FAILED' => 'Tests failed', + + 'DBMS' => 'Database Type', + 'DB_HOST' => 'Database Server Hostname or DSN', + 'DB_HOST_EXPLAIN' => 'DSN stands for Data Source Name and is relevant only for ODBC installs.', + 'DB_NAME' => 'Your Database Name', + 'DB_USERNAME' => 'Database Username', + 'DB_PASSWORD' => 'Database Password', + 'TABLE_PREFIX' => 'Prefix for tables in database', + + 'INITIAL_CONFIG' => 'Basic Configuration', + 'DEFAULT_LANG' => 'Default board language', + 'ADMIN_USERNAME' => 'Administrator Username', + 'ADMIN_EMAIL_CONFIRM' => 'Admin Email Address [ Confirm ]', + 'ADMIN_PASSWORD' => 'Administrator Password', + 'ADMIN_PASSWORD_CONFIRM'=> 'Administrator Password [ Confirm ]', + + 'ADMIN_CONFIG' => 'Admin Configuration', + + 'INSTALLER_ERROR' => 'An error has occurred during installation', + 'INSTALL_EMAIL_MISMATCH' => 'The emails you entered did not match.', + 'INSTALL_PASSWORD_MISMATCH' => 'The passwords you entered did not match.', + + + + 'UNAVAILABLE' => 'Unavailable', + 'AVAILABLE' => 'Available', + + 'UNWRITEABLE_CONFIG' => 'Your config file is un-writeable at present. A copy of the config file will be downloaded to your when you click the button below. You should upload this file to the same directory as phpBB 2. Once this is done you should log in using the administrator name and password you provided on the previous form and visit the admin control centre (a link will appear at the bottom of each screen once logged in) to check the general configuration. Thank you for choosing phpBB 2.', 'DOWNLOAD_CONFIG' => 'Download Config', 'FTP_CHOOSE' => 'Choose Download Method', @@ -1100,6 +1137,9 @@ $lang = array_merge($lang, array( 'Install_No_PHP4' => 'phpBB2 requires you have at least PHP 4.0.4 installed

Contact your hosting provider or see www.php.net for more information', 'INSTALL_EXT_FAILED' => 'The PHP configuration on your server does not support the database type that you choose

Contact your hosting provider or see www.php.net for more information', 'Install_No_PCRE' => 'phpBB2 requires the Perl-Compatible Regular Expressions module for PHP to be available

Contact your hosting provider or see www.php.net for more information', + + + )); ?> \ No newline at end of file