This article mainly introduces the open source PHP defect Management Platform Mantis installation, configuration and use of the problem summary, Mantis is a PHP open source defect management platform, the need for friends can refer to the following
Development needs, installation Mantis (Mantis Bug Tracker, defect tracking system defect management platform), under the latest version, the official address is http://www.mantisbt.org/download.php. installation.
It is not smooth sailing, but rather bumpy. Now summarize, convenient for later use. (PS: Latest version mantisbt-1.2.11)
I. Problems encountered during installation
1.Your database has not been created yet. Please create the database, then install the tables and data using the information above before proceeding.
This means that the data can not be created, manual creation, is to display a long list of SQL statements in front of the operation is good, of course, the warning message will not be copied. Personal experience is to separate the CREATE table and the subsequent ALTER TABLE, because many times, the following statement is not executed, the use of the process is found, Many queries report unkown column for this kind of error, because of this.
2.config_inc.php This will prompt not be able to create, is a php file, write some configuration of the connection database. Create directly, copy the hint directly into it.
3. After the installation, remove the admin entire file, change the default administrator password (recommend rebuilding a management, then put administrator disabled), reason, you understand.
Second, the use of problems encountered
1. Function time problem, date () This kind of function, will prompt unsafe, then, say has set time zone what. This is to set a default time zone in the php.inc is OK, generally we are set Asia/shanghai.
2. Chinese display, this directly in the Mantis root directory to find config_defaults_inc.php in 588 lines changed to such $g_default_language= ' chinese_simplified ';
3.database_version (This is the reason that the mantis_config_table data is not plugged in, re-execution is OK).
4. Click to view the allocation (view.php?id=1), will be error, or unknown column ' user_id ', mantis_bug_file_table the table related to the ALTER statement under the view, execution (feel a little bit of a jerk, The official will not put the SQL statement exactly what).
5. Mail configuration, I use the SMTP, this configuration is generic (I use 163) Baidu a bit, you know. config_defaults_inc.php there are relevant parameters, only write correctly there is no problem.
After a few steps in the past, Mantis is OK, next, enjoy the fun mantis come, pro.