|
polliwog,
Does running admin/check/index.php display any errors or warnings?
The the additional information listed below may also be useful:
- Exact version of MantisBT, PHP, Database, Web server, Browser and Operating System
- Relevant customizations (e.g. changes in config_inc.php, etc)
- Installed plugins or custom functions ?
- Was the MantisBT source code modified in any way ?
|
|
Thank you for interest.
MantesBT version : 2.13.1,
PHP version : 7.2.4
Web server : Apache 2.4.33 win64 VC15
Browser : Chrome
OS : Windows 10 64bit
-------------------------------------- what is set in config_inc.php --------------------------------------------
$g_hostname = '127.0.0.1:*******';
$g_db_username = '*****';
$g_db_password = '******';
$g_database_name = 'mantis';
$g_db_type = 'mysqli';
# --- Security ---
$g_crypto_master_salt = ''; // I inserted 24 letter. So I think it is no problem.
# --- Anonymous Access / Signup ---
$g_allow_signup = ON;
$g_allow_anonymous_login = OFF;
$g_anonymous_account = '';
# --- Email Configuration ---
$g_validate_email = ON;
$g_use_phpMailer = ON;
$g_enable_email_notification = OFF;
$g_phpMailer_method = PHPMAILER_METHOD_SMTP; #PHPMAILER_METHOD_MAIL; # or PHPMAILER_METHOD_SMTP, PHPMAILER_METHOD_SENDMAIL
$g_smtp_host = 'smart.whoismail.net'; # used with PHPMAILER_METHOD_SMTP
$g_smtp_connection_mode = 'tls'; # ssl? tls?
$g_smtp_port = 587;
$g_smtp_username = '******@****.com'; // My email address.
$g_smtp_password = '*******'; // my password # used with PHPMAILER_METHOD_SMTP
$g_administrator_email = '********@gmail.com'; // My mail address
$g_webmaster_email = '********@gmail.com'; // My mail address
$g_from_name = 'Mantis Bug Tracker'; // My mail address
$g_from_email = '********@gmail.com'; # the "From: " field in emails
$g_return_path_email = 'admin@example.com'; # the return address for bounced mail
# $g_email_receive_own = OFF;
# $g_email_send_using_cronjob = OFF;
# --- Attachments / File Uploads ---
$g_allow_file_upload = ON;
$g_file_upload_method = DISK; # or DISK
$g_absolute_path_default_upload_folder = 'E:/mantisfile/'; # used with DISK, must contain trailing \ or /.
$g_max_file_size = 5000000; # in bytes
# $g_preview_attachments_inline_max_size = 256 * 1024;
$g_allowed_files = ''; # extensions comma separated, e.g. 'php,html,java,exe,pl'
$g_disallowed_files = ''; # extensions comma separated
# --- Branding ---
# $g_window_title = 'MantisBT';
# $g_logo_image = 'images/mantis_logo.png';
# $g_favicon_image = 'images/favicon.ico';
# --- Real names ---
$g_show_realname = ON;
$g_show_user_realname_threshold = ANYBODY; # Set to access level (e.g. VIEWER, REPORTER, DEVELOPER, MANAGER, etc)
# --- Others ---
# $g_default_home_page = 'my_view_page.php'; # Set to name of page to go to after login
$g_default_language = "korean";
I changed \core\prepare_api.php to show name of reporters.
function prepare_user_name( $p_user_id ) {
# Catch a user_id of NO_USER (like when a handler hasn't been assigned)
if( NO_USER == $p_user_id ) {
return '';
}
$t_username = user_get_username( $p_user_id );
$t_name = user_get_name( $p_user_id );
$t_nameviewing = $t_username;
$t_tooltip = '';
if (ON == config_get( 'show_realname') ) {
if ( !empty($t_name)) {
$t_tooltip = ' title="' . $t_username . '"';
$t_nameviewing = string_attribute( $t_name);
}
} else {
if( $t_username != $t_name ) {
$t_tooltip = ' title="' . string_attribute( $t_name ) . '"';
} else {
$t_tooltip = '';
}
}
$t_username = string_display_line( $t_username );
if( user_exists( $p_user_id ) && user_get_field( $p_user_id, 'enabled' ) ) {
return '<a ' . $t_tooltip . ' href="' . string_sanitize_url( 'view_user_page.php?id=' . $p_user_id, true ) . '">' . $t_nameviewing . '</a>';
}
return '<del ' . $t_tooltip . '>' . $t_nameviewing . '</del>';
}
I didn't modify source codes. Because I can't
Thank you for help! |
|
PHP version : 7.2.4
MantesBT version : 2.13.1
There are known issues using Mantis 2.13.1 with PHP 7.2.x
You have to use at least Mantis 2.14.0 with this PHP version.
Independent from that, I recommend to use PHP 7.0.x or 7.1.x at the moment as PHP 7.2.x seams not to be stable, at least on Windows.
The checking stops with a FAIL message, so some checks are missing.
Search the web for how to change database collation in mysql for measures to fix it.
After that, run again admin/check/index.php |