This article describes how to install, configure, and use mantis, an open-source PHP defect management platform. mantis is an open-source PHP defect management platform. If you need it, refer to the development requirements, install mantis (Mantis Bug Tracker, defect tracking system defect management platform), under is the latest version, the official site is http://www.mantisbt.org/download.php. install.
Not smooth sailing, but rather rough. Now summarized, convenient later with. (PS: the latest version of 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 cannot be created. You have to manually create the data, that is, run the SQL statement that is shown in the previous step. Of course, do not copy the warning information in it. in my personal experience, the create TABLE and the alter TABLE are separated, because in many cases, the subsequent statements are not executed, and we will find that during use, the error "unkown column" is reported for many queries.
2. In config_inc.php, a prompt is displayed, indicating that the file cannot be created. It is a PHP file and some configuration is written to connect to the database. Create the file directly and copy the prompt content directly.
3. After the installation is complete, remove the entire admin file and change the default administrator password (we recommend that you re-set the administrator password and disable it). The reason is, you know.
Ii. Problems Encountered during use
1. function time problems, such as date (), will prompt insecure, and then say that you have set the time zone or something. this is in php. in inc, setting a default time zone is OK. Generally, we set Asia/Shanghai.
2. The chinese characters are displayed. Change config_defaults_inc.php in the root directory of mantis to $ g_default_language = 'Chinese _ simplified 'in line 588 ';
3. database_version (this is the reason why mantis_config_table data is not inserted. If you execute it again, OK ).
4. Click view assignment (view. php? When id = 1), an error will be reported, or the Unknown column 'user _ id', mantis_bug_file_table table-related alter statement can be viewed and executed, the official website will not take SQL statements as a whole ).
5. mail configuration, smtp I use, this configuration is universal (I use 163) Baidu, you will know. config_defaults_inc.php contains related parameters. If you write the parameters correctly, no problem occurs.
After several steps above, mantis will be OK. Next, enjoy the fun of mantis.