安装完mantisbt后,用浏览器打开提示以下错误信息:
SYSTEM WARNING: date_default_timezone_get(): It is not safe to rely on the system’s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected ‘Asia/Hong_Kong’ for ‘HKT/8.0/no DST’ instead
解决办法:
vi config_defaults_inc.php
change:
$g_default_timezone = ”;
to:
$g_default_timezone = ‘Asia/Hong_Kong’;
然后再用浏览器打开就不会提示错误信息了!
PS:默认安装完后用户名和密码是:administrator/root