This tool checks your website to make sure there are no problems in your hosting configuration.
Your hosting support can solve all problems found here.
';
$html .= ''
. ''
. '| Test Title | '
. 'Result | '
. '
';
$html .= '| Bridge Version | ' . BRIDGE_VERSION . ' | |
';
$html .= '| PHP Version | ' . phpversion() . ' | |
';
$html .= '| Temporary Directory Exists and Writable | '
. (($res = test_temp_directory()) ? TEST_YES : TEST_NO) . ' | ';
if (!$res) {
$html .= 'Create temporary dir ' . getcwd() . '/tmp and set permissions to write | ';
}
$html .= '
| Temporary Directory has enough free space | '
. (($res = test_temp_free_space()) ? TEST_YES : TEST_NO) . ' | ';
if (!$res) {
$html .= 'Delete unused and temporary files or request more disk space from your hosting provider. | ';
}
$html .= '
| Post Maximum Size | '
. ini_get('post_max_size') . ' | ';
$html .= '
| Zlib PHP Extension Loaded | '
. (($res = test_is_gz_avaliable()) ? TEST_YES : TEST_NO) . ' | ';
if (!$res) {
$html .= 'Ask your hosting provider to enable Zlib php extension | ';
}
$html .= '
| Apache mod_security Disabled | '
. (($res = test_apache_mod_security()) ? TEST_YES : (test_is_cgi_mode() === true ? TEST_SKIP : TEST_NO)) . ' | ';
if (!$res) {
$html .= 'Ask your hosting provider to disable mod_security extension for bridge.php | ';
}
$html .= '
| Suhosin PHP extension Disabled | '
. (($res = test_suhosin_extension_loaded()) ? TEST_YES : TEST_NO) . ' | ';
if (!$res) {
$html .= 'Ask your hosting provider to disable Suhosin extension for bridge.php
or set suhosin.request.max_value_length equal 1048576 (currently ' . (int)ini_get('suhosin.request.max_value_length') . ')
| ';
}
$html .= '
| Default Login and Password Changed | '
. (($res = test_default_password_is_changed()) ? TEST_YES : TEST_NO) . ' | ';
if (!$res) {
$html .= 'Change your login credentials in bridge.php to make your connection secure | ';
}
$html .= '
| Post (multipart/form-data) Allowed | '
. (($res = test_post_to_self()) ? TEST_YES : TEST_NO) . ' | ';
if (!$res) {
$html .= 'Method POST is not allowed. Please check your Apache configuration or contact your hosting provider to solve this problem. | ';
}
if (LIMIT_QUERY_SIZE) {
$html .= '
| Size of database data at one query | '
. LIMIT_QUERY_SIZE . 'Kb | ';
}
$html .= '
| Check Default Timezone Set | '
. ((ini_get('date.timezone') != '') ? 'Ok ('.date_default_timezone_get().')' : 'Ok ('.date_default_timezone_get().')') . ' | ';
$html .= '
| Database Permissions Check | |
'
. '| Create Table | '
. (($res = test_create_table()) ? TEST_OK : TEST_FAIL) . ' | ';
if (!$res) {
$html .= 'Error details: "' . $GLOBALS['testResult'] . '" | ';
}
$html .= '
| Insert Data Row | '
. (($res = test_insert_row()) ? TEST_OK : TEST_FAIL) . ' | ';
if (!$res) {
$html .= 'Error details: "' . $GLOBALS['testResult'] . '" | ';
}
$html .= '
| Update Data Row | '
. (($res = test_update_row()) ? TEST_OK : TEST_FAIL) . ' | ';
if (!$res) {
$html .= 'Error details: "' . $GLOBALS['testResult'] . '" | ';
}
$html .= '
| Delete Data Row | '
. (($res = test_delete_row()) ? TEST_OK : TEST_FAIL) . ' | ';
if (!$res) {
$html .= 'Error details: "' . $GLOBALS['testResult'] . '" | ';
}
$html .= '
| Drop Table | '
. (($res = test_drop_table()) ? TEST_OK : TEST_FAIL) . ' | ';
if (!$res) {
$html .= 'Error details: "' . $GLOBALS['testResult'] . '" | ';
}
$html .= '
Type: ' . getCartType() . '
'
. '