Mantis作为bug管理工具和项目跟踪工具非常好用,但是安装过程并不顺利,所遇到的问题点击率如下:
1. 用phpmyadmin建立数据库名和用户名,执行www.myurl.com/install.php,填写相关信息进行安装。
2.安装会遇到这样的信息:Your database has not been created yet. Please create the database, then install the tables and data using the information above before proceeding.
这就是说数据没能创建,得手动创,就是把前面显示一长串的sql语句运行下就好。
3.安装结束后,删除admin整个文件,更改默认administrator的密码
4.函数时间问题,date()这类的函数,会提示不安全,然后,说已设置时区什么的.这个要在php.inc里面设置个默认时区就ok,一般我们是设置 Asia/Shanghai.
5.中文显示,这个直接在mantis根目录下找config_defaults_inc.php在588行改成这样$g_default_language= ‘chinese_simplified’;
6.database_version(这个是mantis_config_table数据没有被插入的原因,重新执行语句:
INSERT INTO mantis_config_table ( value, type, access_reqd, config_id, project_id, user_id ) VALUES ('183', 1, 90, 'database_version', 0, 0 );).