Hi,
For accessing the bug in another machine,I changed code in config_inc.php. But I got an error as "localhost is currently unable to handle this request.
HTTP ERROR 500".
Please help me to solve this problem.
Thanks
<?php
define( 'COMPRESSION_DISABLED', true );
# --- For find IP Address ---
$a_hostadd = $_SERVER['SERVER_ADDR'];
if ( '/' == $t_path || '\\' == $t_path ) {
$t_path = 'http://'.$a_hostadd.'/mantisbt/';
}
$g_path = $t_protocol . '://' . $t_host . $t_path.'/';
} else {
$g_path = 'http://'.$a_hostadd.'/mantisbt/';
}
$g_hostname = '127.0.0.1';
$g_db_type = 'mysqli';
$g_database_name = 'bitnami_mantis';
$g_db_username = 'bn_mantis';
$g_db_password = 'd5eee87f94';
$g_default_timezone = 'America/Los_Angeles';
$g_crypto_master_salt = 'D3E6EPTLosw2MeLxZj8f2mBFljU2zJaPl4vO9lZVi2g=';
# --- Email Configuration ---
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_smtp_host = 'smtp.gmail.com';
$g_smtp_port = '465';
$g_smtp_connection_mode = 'ssl';
$g_smtp_username = 'xxxxxxx@xxxx.com';
$g_smtp_password = 'xxxxx';
$g_administrator_email = 'xxxxxxxx@xxx.com';
$g_webmaster_email = 'xxxxxxxxxxx@xx.com';
$g_from_email = 'xxxxxxxxxxxx@xx.com';
$g_return_path_email = 'xxxxxxxxx@xx.com';
$g_default_timezone = 'UTC';
$g_log_level = LOG_EMAIL | LOG_EMAIL_RECIPIENT;
$g_log_destination = 'file:C:\mantisbt.log';
#--$g_path = 'http://'.$a_hostadd.'/mantisbt/';
?>
How can iI change local host name to IP address
Moderators: Developer, Contributor
-
- Posts: 1
- Joined: 04 May 2018, 07:02