📄 english.php
字号:
define('ERROR_TEXT_SESSION_SAVE_PATH','PHP "session.save_path" is not writable');
define('ERROR_CODE_SESSION_SAVE_PATH','74');
define('ERROR_TEXT_MAGIC_QUOTES_RUNTIME','PHP "magic_quotes_runtime" is active');
define('ERROR_CODE_MAGIC_QUOTES_RUNTIME','75');
define('ERROR_TEXT_DB_VER_UNKNOWN','Database Engine version information unknown');
define('ERROR_CODE_DB_VER_UNKNOWN','76');
define('ERROR_TEXT_DB_MYSQL5','MySQL 5 support not fully tested');
define('ERROR_CODE_DB_MYSQL5','90');
define('ERROR_TEXT_UPLOADS_DISABLED','File Uploads are disabled');
define('ERROR_CODE_UPLOADS_DISABLED','77');
define('ERROR_TEXT_ADMIN_PWD_REQUIRED','Admin Password required to proceed with upgrade');
define('ERROR_CODE_ADMIN_PWD_REQUIRED','78');
define('ERROR_TEXT_PHP_SESSION_SUPPORT','PHP Session Support is required');
define('ERROR_CODE_PHP_SESSION_SUPPORT','80');
define('ERROR_TEXT_PHP_AS_CGI','PHP running as cgi not recommended unless server is Windows');
define('ERROR_CODE_PHP_AS_CGI','81');
define('ERROR_TEXT_DISABLE_FUNCTIONS','Required PHP functions are disabled on your server');
define('ERROR_CODE_DISABLE_FUNCTIONS','82');
define('ERROR_TEXT_OPENSSL_WARN','OpenSSL is "one" way in which a server can be configured to offer SSL (https://) support for your site.<br /><br />If this is showing as unavailable, possible causes could be:<br />(a) your webhost doesn\'t support SSL<br />(b) your webserver doesn\'t have OpenSSL installed, but MIGHT have another form of SSL services available<br />(c) your web host may not yet be aware of your SSL certificate details so that they can enable SSL support for your domain<br />(d) PHP may not be configured to know about OpenSSL yet.<br /><br />In any case, if you DO require encryption support on your web pages (SSL), you should be contacting your web hosting provider for assistance.');
define('ERROR_CODE_OPENSSL_WARN','79');
define('ERROR_TEXT_DB_PREFIX_NODOTS','Database Table-Prefix may not contain any of these characters: / or \\ or . ');
define('ERROR_CODE_DB_PREFIX_NODOTS','83');
define('ERROR_TEXT_PHP_SESSION_AUTOSTART','PHP Session.autostart should be disabled.');
define('ERROR_CODE_PHP_SESSION_AUTOSTART','84');
define('ERROR_TEXT_PHP_SESSION_TRANS_SID','PHP Session.use_trans_sid should be disabled.');
define('ERROR_CODE_PHP_SESSION_TRANS_SID','86');
define('ERROR_TEXT_DB_PRIVS','Permissions Required for Database User');
define('ERROR_CODE_DB_PRIVS','87');
define('ERROR_TEXT_COULD_NOT_WRITE_CONFIGURE_FILES','Error encountered while writing /includes/configure.php');
define('ERROR_CODE_COULD_NOT_WRITE_CONFIGURE_FILES','88');
define('ERROR_TEXT_GD_SUPPORT','GD Support Details');
define('ERROR_CODE_GD_SUPPORT','89');
define('ERROR_TEXT_OPEN_BASEDIR','Could have problems uploading files or doing backups');
define('ERROR_CODE_OPEN_BASEDIR','92');
define('ERROR_CODE_CURL_SUPPORT','cURL support not detected');
define('ERROR_TEXT_CURL_SUPPORT','93');
$error_code ='';
if (isset($_GET['error_code'])) {
$error_code = $_GET['error_code'];
}
switch ($error_code) {
case ('1'):
define('POPUP_ERROR_HEADING', 'PHP Version 4.1.2 Detected');
define('POPUP_ERROR_TEXT', 'Some releases of PHP Version 4.1.2 have a bug which affects super global arrays. This may result in the admin section of Zen Cart™ not being accessible. You are advised to upgrade your PHP version if possible.<br /><br />PHP 4.3.2 or greater is the minimum requirement for Zen Cart™.<br />We STRONGLY recommend using PHP 4.3.11 or greater (in the v4.x series).');
break;
case ('2'):
define('POPUP_ERROR_HEADING', '/admin/includes/configure.php does not exist');
define('POPUP_ERROR_TEXT', 'The file /admin/includes/configure.php does not exist. You can create this either as a blank file or by renaming /admin/includes/dist-configure.php to configure.php. After creating it, you need to mark it read-write or CHMOD 666 or CHMOD 777.');
break;
case ('3'):
define('POPUP_ERROR_HEADING', '/includes/configure.php does not exist');
define('POPUP_ERROR_TEXT', 'The file /includes/configure.php does not exist. You can create this either as a blank file or by renaming /includes/dist-configure.php to configure.php. After creating it, you need to mark it read-write or CHMOD 666 or CHMOD 777 for installation.');
break;
case ('4'):
define('POPUP_ERROR_HEADING', 'Physical Path');
define('POPUP_ERROR_TEXT', 'The physiscal path is the path to the directory where your Zen Cart™ files are installed. For example on some linux systems the HTML files are stored in /var/www/html. If you then put your Zen Cart™ files in a directory called \'store\', the physical path would be /var/www/html/store. The installer usually can be trusted to guess this directory correctly.');
break;
case ('5'):
define('POPUP_ERROR_HEADING', 'Virtual HTTP Path');
define('POPUP_ERROR_TEXT', 'This is the address you would need to put into a web browser to view your Zen Cart™ website. If the site is in the \'root\' of your domain, this would be \'http://www.yourdomain.com\'. If you had put the files under a directory called \'store\' then the path would be \'http://www.yourdomain.com/store\'.');
break;
case ('6'):
define('POPUP_ERROR_HEADING', 'Virtual HTTPS Server');
define('POPUP_ERROR_TEXT', 'This is the web server address for your secure/SSL server. This address varies depending on how SSL/Secure mode is implemented on your server. You are advised to read the <a href="http://www.zen-cart.com/modules/xoopsfaq/index.php?cat_id=2#46" target="_blank">FAQ Entry</a> on SSL to ensure this is set correctly.');
break;
case ('7'):
define('POPUP_ERROR_HEADING', 'Virtual HTTPS Path');
define('POPUP_ERROR_TEXT', 'This is the address you would need to put into a web browser to view your Zen Cart™ website in secure/SSL mode. You are advised to read the <a href="http://www.zen-cart.com/modules/xoopsfaq/index.php?cat_id=2#46" target="_blank">FAQ Entry</a> on SSL to ensure this is set correctly.');
break;
case ('8'):
define('POPUP_ERROR_HEADING', 'Enable SSL');
define('POPUP_ERROR_TEXT', 'This setting determines whether SSL/Secure (HTTPS:) mode is used on security-vulnerable pages of your Zen Cart™ website.<br /><br />Any page where personal information is entered e.g. login, checkout, account details can be protected by SSL/Secure mode. It can also be actived for the Administration area.<br /><br />You must have access to an SSL server (denoted by using HTTPS instead of HTTP). <br /><br />IF YOU ARE NOT SURE if you have an SSL server then please leave this setting set to NO for now, and check with your hosting provider. Note: As with all settings, this can be changed later by editing the appropriate configure.php file.');
break;
case ('9'):
define('POPUP_ERROR_HEADING', 'Physical Path is empty');
define('POPUP_ERROR_TEXT', 'You have left the entry for the Physical path empty. You must make a valid entry here.');
break;
case ('10'):
define('POPUP_ERROR_HEADING', 'Physical Path is incorrect');
define('POPUP_ERROR_TEXT', 'The entry you have made for the Physical Path does not appear to be valid. Please correct and try again.');
break;
case ('11'):
define('POPUP_ERROR_HEADING', 'Virtual HTTP is empty');
define('POPUP_ERROR_TEXT', 'You have left the entry for the Virtual HTTP path empty. You must make a valid entry here.');
break;
case ('12'):
define('POPUP_ERROR_HEADING', 'Virtual HTTPS is empty');
define('POPUP_ERROR_TEXT', 'You have left the entry for the Virtual HTTPS path empty as well as enabling SSL mode. You must make a valid entry here or disable SSL mode.');
break;
case ('13'):
define('POPUP_ERROR_HEADING', 'Virtual HTTPS server is empty');
define('POPUP_ERROR_TEXT', 'You have left the entry for the Virtual HTTPS server empty as well as enabling SSL mode. You must make a valid entry here or disable SSL mode');
break;
case ('14'):
define('POPUP_ERROR_HEADING', 'Database Type');
define('POPUP_ERROR_TEXT', 'Zen Cart™ is designed to support multiple database types. Unfortunately at the moment that support is not complete. For now you should always leave this set to MySQL.');
break;
case ('15'):
define('POPUP_ERROR_HEADING', 'Database Host');
define('POPUP_ERROR_TEXT', 'This is the name of the webserver on which your host runs their database program. In most cases this can always be left set to \'localhost\'. In some exceptional cases you will need to ask your hosting provider for the server name of their database server.<br /><br />Most hosts use "localhost"<br />Yahoo Hosting always uses "mysql"<br />Other hosts will tell you the host-name via your control panel.');
break;
case ('16'):
define('POPUP_ERROR_HEADING', 'Database User Name');
define('POPUP_ERROR_TEXT', 'All databases require a username and password to access them. The username for your database may well have been assigned by your hosting provider and you should contact them for details.<br /><br />Sometimes the name is prefixed by your webhosting account name, followed by the database-user-name you chose. ie: myaccount_zencartuser');
break;
case ('17'):
define('POPUP_ERROR_HEADING', 'Database Password');
define('POPUP_ERROR_TEXT', 'All databases require a username and password to access them. The password for your database may well have been assigned by your hosting provider and you should contact them for details.<br /><br />Remember that the password is case-sensitive.');
break;
case ('18'):
define('POPUP_ERROR_HEADING', 'Database Name');
define('POPUP_ERROR_TEXT', 'This is the name of the database that will be used for Zen Cart™. If you are unsure as to what this should be, then you should contact your hosting provider for more information.<br /><br />Sometimes the name is prefixed by your webhosting account name, followed by the database-name you chose. ie: myaccount_zencartdb');
break;
case ('19'):
define('POPUP_ERROR_HEADING', 'Database Table-Prefix');
define('POPUP_ERROR_TEXT', 'Zen Cart™ allows you to add a prefix to the table names it uses to store its information. This is especially useful if your host only allows you one database, and you want to install other scripts on your system that use that database. <br /><strong>Normally you should just leave the default setting as it is.</strong>');
break;
case ('20'):
define('POPUP_ERROR_HEADING', 'Database Create');
define('POPUP_ERROR_TEXT', 'This setting determines whether the installer should attempt to create the main database for Zen Cart™. Note \'create\' in this context has nothing to do with adding the tables that Zen Cart™ needs, which will be done automatically anyway. Many hosts will not give their users \'create\' permissions, but provide another method for creating blank databases, e.g. cPanel or phpMyAdmin.');
break;
case ('21'):
define('POPUP_ERROR_HEADING', 'Database Connection');
define('POPUP_ERROR_TEXT', 'Persistent connections are a method of reducing the load on the database. You should consult your server host before setting this option. Enabling "persistent connections" could cause your host to experience database problems if they haven\'t configured to handle it.<br /><br />Again, be sure to talk to your host before considering use of persistent connections.');
break;
case ('22'):
define('POPUP_ERROR_HEADING', 'Database Sessions');
define('POPUP_ERROR_TEXT', 'This detemines whether session information is stored in a file or in the database. While file-based sessions are slightly faster, <strong>database sessions are recommended</strong> for all online stores using SSL connections, for the sake of security.');
break;
case ('23'):
define('POPUP_ERROR_HEADING', 'Enable SSL');
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -