squirrelmail-webmail
1.4.22
About: SquirrelMail is a standards-based webmail package with strong MIME support, address books, and folder manipulation (written in PHP4).
![]() ![]() |
Go to the source code of this file.
Namespaces | |
squirrelmail | |
Functions | |
do_err ($str, $exit=TRUE) | |
if(empty($gpc_order)) do_err('Your gpc_order setting seems to be empty. Make sure it is undefined in any PHP ini files htaccess etc and not specifically set to an empty value or SquirrelMail may not correctly G P C Your gpc_order setting is insufficient for SquirrelMail to function It needs to be set to but you have it set to session pcre Required PHP extensions enable_dl safe_mode mb_internal_encoding mbstring func_overload You have enabled mbstring overloading It can cause problems with SquirrelMail scripts that rely on single byte string functions register_globals register_globals off You have enabled PHP register_globals Running PHP installation with< tt > magic_quotes_gpc</tt > or< tt > magic_quotes_sybase</tt > in your PHP configuration We recommend all those settings to be off SquirrelMail may work with them but when experiencing stray backslashes in your mail or other strange it may be advisable to turn them off short_open_tag You have configured PHP not to allow short | tags (< tt >short_open_tag=off</tt >). This shouldn\ 't be a problem with ' . 'SquirrelMail or any plugin coded coded according to the ' . 'SquirrelMail Coding Guidelines |
Variables | |
const | PAGE_NAME 'configtest' |
const | SM_PATH '../' |
if(file_exists(SM_PATH . 'config/config.php')) | $IND = str_repeat(' ',4) |
$test_location = get_location() | |
$included = array_map('basename', get_included_files() ) | |
if(!in_array('config.php', $included)) | if (!in_array( 'strings.php', $included)) |
$webOwnerID = 'N/A' | |
$webOwnerInfo = array('name' => 'N/A') | |
$webGroupID = 'N/A' | |
$webGroupInfo = array('name' => 'N/A') | |
if((bool) ini_get('session.auto_start') &&ini_get('session.auto_start') !='off') | $safe_mode = ini_get('safe_mode') |
if($safe_mode) | $variables_order = strtoupper(ini_get('variables_order')) |
if(empty($variables_order)) do_err('Your variables_order setting seems to be empty. Make sure it is undefined in any PHP ini files htaccess | files |
if(empty($variables_order)) do_err('Your variables_order setting seems to be empty. Make sure it is undefined in any PHP ini files htaccess etc and not specifically set to an empty value or SquirrelMail may not function correctly G P C S Your variables_order setting is insufficient for SquirrelMail to function It needs at least | GPCS |
if(empty($variables_order)) do_err('Your variables_order setting seems to be empty. Make sure it is undefined in any PHP ini files htaccess etc and not specifically set to an empty value or SquirrelMail may not function correctly G P C S Your variables_order setting is insufficient for SquirrelMail to function It needs at least but you have it set to t even available | $gpc_order = strtoupper(ini_get('gpc_order')) |
if(empty($gpc_order)) do_err('Your gpc_order setting seems to be empty. Make sure it is undefined in any PHP ini files htaccess etc and not specifically set to an empty value or SquirrelMail may not function correctly G P C Your gpc_order setting is insufficient for SquirrelMail to function It needs to be set to | GPC |
if(empty($gpc_order)) do_err('Your gpc_order setting seems to be empty. Make sure it is undefined in any PHP ini files htaccess etc and not specifically set to an empty value or SquirrelMail may not function correctly G P C Your gpc_order setting is insufficient for SquirrelMail to function It needs to be set to but you have it set to session pcre Required PHP extensions | missing |
if(empty($gpc_order)) do_err('Your gpc_order setting seems to be empty. Make sure it is undefined in any PHP ini files htaccess etc and not specifically set to an empty value or SquirrelMail may not function correctly G P C Your gpc_order setting is insufficient for SquirrelMail to function It needs to be set to but you have it set to session pcre Required PHP extensions enable_dl safe_mode mb_internal_encoding mbstring func_overload You have enabled mbstring overloading It can cause problems with SquirrelMail scripts that rely on single byte string functions register_globals register_globals off You have enabled PHP register_globals Running PHP installation with | register_globals |
if(empty($gpc_order)) do_err('Your gpc_order setting seems to be empty. Make sure it is undefined in any PHP ini files htaccess etc and not specifically set to an empty value or SquirrelMail may not function correctly G P C Your gpc_order setting is insufficient for SquirrelMail to function It needs to be set to but you have it set to session pcre Required PHP extensions enable_dl safe_mode mb_internal_encoding mbstring func_overload You have enabled mbstring overloading It can cause problems with SquirrelMail scripts that rely on single byte string functions register_globals register_globals off You have enabled PHP register_globals Running PHP installation with< tt > magic_quotes_gpc</tt > or< tt > magic_quotes_sybase</tt > in your PHP configuration We recommend all those settings to be off SquirrelMail may work with them | on |
if(empty($gpc_order)) do_err('Your gpc_order setting seems to be empty. Make sure it is undefined in any PHP ini files htaccess etc and not specifically set to an empty value or SquirrelMail may not function correctly G P C Your gpc_order setting is insufficient for SquirrelMail to function It needs to be set to but you have it set to session pcre Required PHP extensions enable_dl safe_mode mb_internal_encoding mbstring func_overload You have enabled mbstring overloading It can cause problems with SquirrelMail scripts that rely on single byte string functions register_globals register_globals off You have enabled PHP register_globals Running PHP installation with< tt > magic_quotes_gpc</tt > or< tt > magic_quotes_sybase</tt > in your PHP configuration We recommend all those settings to be off SquirrelMail may work with them but when experiencing stray backslashes in your mail or other strange | behaviour |
if(empty($gpc_order)) do_err('Your gpc_order setting seems to be empty. Make sure it is undefined in any PHP ini files htaccess etc and not specifically set to an empty value or SquirrelMail may not correctly G P C Your gpc_order setting is insufficient for SquirrelMail to function It needs to be set to but you have it set to session pcre Required PHP extensions enable_dl safe_mode mb_internal_encoding mbstring func_overload You have enabled mbstring overloading It can cause problems with SquirrelMail scripts that rely on single byte string functions register_globals register_globals off You have enabled PHP register_globals Running PHP installation with< tt > magic_quotes_gpc</tt > or< tt > magic_quotes_sybase</tt > in your PHP configuration We recommend all those settings to be off SquirrelMail may work with them but when experiencing stray backslashes in your mail or other strange it may be advisable to turn them off short_open_tag You have configured PHP not to allow short but if you experience problems with PHP code being displayed in some of the pages and changing setting to on solves the | problem |
if(empty($gpc_order)) do_err('Your gpc_order setting seems to be empty. Make sure it is undefined in any PHP ini files htaccess etc and not specifically set to an empty value or SquirrelMail may not correctly G P C Your gpc_order setting is insufficient for SquirrelMail to function It needs to be set to but you have it set to session pcre Required PHP extensions enable_dl safe_mode mb_internal_encoding mbstring func_overload You have enabled mbstring overloading It can cause problems with SquirrelMail scripts that rely on single byte string functions register_globals register_globals off You have enabled PHP register_globals Running PHP installation with< tt > magic_quotes_gpc</tt > or< tt > magic_quotes_sybase</tt > in your PHP configuration We recommend all those settings to be off SquirrelMail may work with them but when experiencing stray backslashes in your mail or other strange it may be advisable to turn them off short_open_tag You have configured PHP not to allow short but if you experience problems with PHP code being displayed in some of the pages and changing setting to on solves the please file a bug report against the failing plugin The correct contact information is most likely to be found in the plugin documentation plugins You have enabled the< i ></i > | plugin |
if(empty($gpc_order)) do_err('Your gpc_order setting seems to be empty. Make sure it is undefined in any PHP ini files htaccess etc and not specifically set to an empty value or SquirrelMail may not correctly G P C Your gpc_order setting is insufficient for SquirrelMail to function It needs to be set to but you have it set to session pcre Required PHP extensions enable_dl safe_mode mb_internal_encoding mbstring func_overload You have enabled mbstring overloading It can cause problems with SquirrelMail scripts that rely on single byte string functions register_globals register_globals off You have enabled PHP register_globals Running PHP installation with< tt > magic_quotes_gpc</tt > or< tt > magic_quotes_sybase</tt > in your PHP configuration We recommend all those settings to be off SquirrelMail may work with them but when experiencing stray backslashes in your mail or other strange it may be advisable to turn them off short_open_tag You have configured PHP not to allow short but if you experience problems with PHP code being displayed in some of the pages and changing setting to on solves the please file a bug report against the failing plugin The correct contact information is most likely to be found in the plugin documentation plugins You have enabled the< i ></i > but I cannot find it plugins setup php You have enabled the< i ></i > but I cannot read its setup php file functions plugin php Some output is produced when plugins are loaded Usually this means there is an error in one of the plugin setup or configuration files The output | was |
$plugin_err = boolean_hook_function('configtest', NULL, 1) | |
if($plugin_err) | else |
foreach ( $theme as $thm) | |
if(! $stream) | $smtpline = fgets($stream, 1024) |
$stream | |
if(! $stream) | $imapline = fgets($stream, 1024) |
$capline = fgets($stream, 1024) | |
if((!ini_get('safe_mode'))||!strcmp(ini_get('safe_mode_allowed_env_vars'),'')||preg_match('/^( | else [\w_]+,) *TZ/', ini_get('safe_mode_allowed_env_vars'))) |
do_err | ( | $str, | |
$exit = TRUE |
|||
) |
Definition at line 17 of file configtest.php.
if (empty( $gpc_order)) do_err( 'Your gpc_order setting seems to be empty. Make sure it is undefined in any PHP ini files htaccess etc and not specifically set to an empty value or SquirrelMail may not correctly G P C Your gpc_order setting is insufficient for SquirrelMail to function It needs to be set to but you have it set to session pcre Required PHP extensions enable_dl safe_mode mb_internal_encoding mbstring func_overload You have enabled mbstring overloading It can cause problems with SquirrelMail scripts that rely on single byte string functions register_globals register_globals off You have enabled PHP register_globals Running PHP installation with<tt> magic_quotes_gpc</tt> or<tt> magic_quotes_sybase</tt> in your PHP configuration We recommend all those settings to be off SquirrelMail may work with them but when experiencing stray backslashes in your mail or other strange it may be advisable to turn them off short_open_tag You have configured PHP not to allow short tags | ( | < tt > | short_open_tag = off</tt> | ) |
$capline = fgets($stream, 1024) |
Definition at line 449 of file configtest.php.
if (empty( $variables_order)) do_err( 'Your variables_order setting seems to be empty. Make sure it is undefined in any PHP ini files htaccess etc and not specifically set to an empty value or SquirrelMail may not function correctly G P C S Your variables_order setting is insufficient for SquirrelMail to function It needs at least but you have it set to t even available $gpc_order = strtoupper(ini_get('gpc_order')) |
Definition at line 175 of file configtest.php.
if (! $stream) $imapline = fgets($stream, 1024) |
Is the first response 'OK'?
Definition at line 438 of file configtest.php.
$included = array_map('basename', get_included_files() ) |
Definition at line 61 of file configtest.php.
Definition at line 41 of file configtest.php.
Referenced by do_err().
$plugin_err = boolean_hook_function('configtest', NULL, 1) |
This hook was added in 1.5.2 and 1.4.10. Each plugins should print an error message and return TRUE if there are any errors in its setup/configuration.
Definition at line 319 of file configtest.php.
if ((bool) ini_get( 'session.auto_start') &&ini_get( 'session.auto_start') !='off') $safe_mode = ini_get('safe_mode') |
Definition at line 129 of file configtest.php.
if (! $stream) $smtpline = fgets($stream, 1024) |
Definition at line 392 of file configtest.php.
$stream |
Can we open a connection?
Definition at line 429 of file configtest.php.
Referenced by deliverMessage(), Deliver_SendMail\finalizeStream(), Deliver_SMTP\finalizeStream(), Deliver_SMTP\initStream(), Deliver_SendMail\initStream(), Deliver\initStream(), Deliver\mail(), Deliver_IMAP\send_mail(), Deliver\send_mail(), SendMDN(), start_filters(), Deliver\writeBody(), Deliver\writeBodyPart(), and Deliver\writeToStream().
$test_location = get_location() |
Definition at line 45 of file configtest.php.
if ( $safe_mode) $variables_order = strtoupper(ini_get('variables_order')) |
Definition at line 151 of file configtest.php.
$webGroupID = 'N/A' |
Definition at line 102 of file configtest.php.
$webGroupInfo = array('name' => 'N/A') |
Definition at line 103 of file configtest.php.
$webOwnerID = 'N/A' |
Definition at line 92 of file configtest.php.
$webOwnerInfo = array('name' => 'N/A') |
Definition at line 93 of file configtest.php.
if (empty( $gpc_order)) do_err( 'Your gpc_order setting seems to be empty. Make sure it is undefined in any PHP ini files htaccess etc and not specifically set to an empty value or SquirrelMail may not function correctly G P C Your gpc_order setting is insufficient for SquirrelMail to function It needs to be set to but you have it set to session pcre Required PHP extensions enable_dl safe_mode mb_internal_encoding mbstring func_overload You have enabled mbstring overloading It can cause problems with SquirrelMail scripts that rely on single byte string functions register_globals register_globals off You have enabled PHP register_globals Running PHP installation with<tt> magic_quotes_gpc</tt> or<tt> magic_quotes_sybase</tt> in your PHP configuration We recommend all those settings to be off SquirrelMail may work with them but when experiencing stray backslashes in your mail or other strange behaviour |
Definition at line 223 of file configtest.php.
if ((!ini_get( 'safe_mode'))||!strcmp(ini_get( 'safe_mode_allowed_env_vars'),'')||preg_match('/^( else[\w_]+,) *TZ/', ini_get( 'safe_mode_allowed_env_vars'))) |
Definition at line 526 of file configtest.php.
if (!empty( $addrbook_dsn)||!empty( $prefs_dsn)||!empty( $addrbook_global_dsn)) else |
Definition at line 322 of file configtest.php.
if (empty( $gpc_order)) do_err( 'Your gpc_order setting seems to be empty. Make sure it is undefined in any PHP ini files htaccess files |
Definition at line 152 of file configtest.php.
foreach($theme as $thm) |
Definition at line 328 of file configtest.php.
if (empty( $gpc_order)) do_err( 'Your gpc_order setting seems to be empty. Make sure it is undefined in any PHP ini files htaccess etc and not specifically set to an empty value or SquirrelMail may not function correctly G P C Your gpc_order setting is insufficient for SquirrelMail to function It needs to be set to GPC |
Definition at line 176 of file configtest.php.
if (empty( $variables_order)) do_err( 'Your variables_order setting seems to be empty. Make sure it is undefined in any PHP ini files htaccess etc and not specifically set to an empty value or SquirrelMail may not function correctly G P C S Your variables_order setting is insufficient for SquirrelMail to function It needs at least GPCS |
Definition at line 152 of file configtest.php.
if(substr($imapline, 0, 4) !=' *OK') |
Check the IMAP server
Definition at line 69 of file configtest.php.
if (empty( $gpc_order)) do_err( 'Your gpc_order setting seems to be empty. Make sure it is undefined in any PHP ini files htaccess etc and not specifically set to an empty value or SquirrelMail may not function correctly G P C Your gpc_order setting is insufficient for SquirrelMail to function It needs to be set to but you have it set to session pcre Required PHP extensions missing |
Definition at line 176 of file configtest.php.
if (empty( $gpc_order)) do_err( 'Your gpc_order setting seems to be empty. Make sure it is undefined in any PHP ini files htaccess etc and not specifically set to an empty value or SquirrelMail may not function correctly G P C Your gpc_order setting is insufficient for SquirrelMail to function It needs to be set to but you have it set to session pcre Required PHP extensions enable_dl safe_mode mb_internal_encoding mbstring func_overload You have enabled mbstring overloading It can cause problems with SquirrelMail scripts that rely on single byte string functions register_globals register_globals off You have enabled PHP register_globals Running PHP installation with<tt> magic_quotes_gpc</tt> or<tt> magic_quotes_sybase</tt> in your PHP configuration We recommend all those settings to be off SquirrelMail may work with them on |
Definition at line 223 of file configtest.php.
const PAGE_NAME 'configtest' |
This is the configtest page
Definition at line 28 of file configtest.php.
if (empty( $gpc_order)) do_err( 'Your gpc_order setting seems to be empty. Make sure it is undefined in any PHP ini files htaccess etc and not specifically set to an empty value or SquirrelMail may not correctly G P C Your gpc_order setting is insufficient for SquirrelMail to function It needs to be set to but you have it set to session pcre Required PHP extensions enable_dl safe_mode mb_internal_encoding mbstring func_overload You have enabled mbstring overloading It can cause problems with SquirrelMail scripts that rely on single byte string functions register_globals register_globals off You have enabled PHP register_globals Running PHP installation with<tt> magic_quotes_gpc</tt> or<tt> magic_quotes_sybase</tt> in your PHP configuration We recommend all those settings to be off SquirrelMail may work with them but when experiencing stray backslashes in your mail or other strange it may be advisable to turn them off short_open_tag You have configured PHP not to allow short but if you experience problems with PHP code being displayed in some of the pages and changing setting to on solves the please file a bug report against the failing plugin The correct contact information is most likely to be found in the plugin documentation plugins You have enabled the<i></i> but I cannot find it plugins setup php You have enabled the<i></i> plugin |
Definition at line 250 of file configtest.php.
if (empty( $gpc_order)) do_err( 'Your gpc_order setting seems to be empty. Make sure it is undefined in any PHP ini files htaccess etc and not specifically set to an empty value or SquirrelMail may not correctly G P C Your gpc_order setting is insufficient for SquirrelMail to function It needs to be set to but you have it set to session pcre Required PHP extensions enable_dl safe_mode mb_internal_encoding mbstring func_overload You have enabled mbstring overloading It can cause problems with SquirrelMail scripts that rely on single byte string functions register_globals register_globals off You have enabled PHP register_globals Running PHP installation with<tt> magic_quotes_gpc</tt> or<tt> magic_quotes_sybase</tt> in your PHP configuration We recommend all those settings to be off SquirrelMail may work with them but when experiencing stray backslashes in your mail or other strange it may be advisable to turn them off short_open_tag You have configured PHP not to allow short but if you experience problems with PHP code being displayed in some of the pages and changing setting to on solves the problem |
Definition at line 250 of file configtest.php.
if (empty( $gpc_order)) do_err( 'Your gpc_order setting seems to be empty. Make sure it is undefined in any PHP ini files htaccess etc and not specifically set to an empty value or SquirrelMail may not function correctly G P C Your gpc_order setting is insufficient for SquirrelMail to function It needs to be set to but you have it set to session pcre Required PHP extensions enable_dl safe_mode mb_internal_encoding mbstring func_overload You have enabled mbstring overloading It can cause problems with SquirrelMail scripts that rely on single byte string functions register_globals register_globals off You have enabled PHP register_globals Running PHP installation with register_globals |
Definition at line 223 of file configtest.php.
const SM_PATH '../' |
@ignore
Definition at line 31 of file configtest.php.
if (empty( $gpc_order)) do_err( 'Your gpc_order setting seems to be empty. Make sure it is undefined in any PHP ini files htaccess etc and not specifically set to an empty value or SquirrelMail may not correctly G P C Your gpc_order setting is insufficient for SquirrelMail to function It needs to be set to but you have it set to session pcre Required PHP extensions enable_dl safe_mode mb_internal_encoding mbstring func_overload You have enabled mbstring overloading It can cause problems with SquirrelMail scripts that rely on single byte string functions register_globals register_globals off You have enabled PHP register_globals Running PHP installation with<tt> magic_quotes_gpc</tt> or<tt> magic_quotes_sybase</tt> in your PHP configuration We recommend all those settings to be off SquirrelMail may work with them but when experiencing stray backslashes in your mail or other strange it may be advisable to turn them off short_open_tag You have configured PHP not to allow short but if you experience problems with PHP code being displayed in some of the pages and changing setting to on solves the please file a bug report against the failing plugin The correct contact information is most likely to be found in the plugin documentation plugins You have enabled the<i></i> but I cannot find it plugins setup php You have enabled the<i></i> but I cannot read its setup php file functions plugin php Some output is produced when plugins are loaded Usually this means there is an error in one of the plugin setup or configuration files The output was |
Definition at line 250 of file configtest.php.