Summary of Problems in mantis Installation Configuration and Use

  • 2021-07-09 07:28:54
  • OfStack

For development needs, install mantis (Mantis Bug Tracker, defect management platform of defect tracking system), which is the latest version. The official website address is http://www.mantisbt.org/download.php. Install.

It is not a smooth sail, but rather bumpy. Now summarize it for later use. (PS: Latest version mantisbt-1. 2.11)

1. 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.
That is to say, the data could not be created, Have to manually create, is the front show a long string of sql statement run under the good, of course, the warning message inside do not copy. Personal experience, is the create table and the following alter table separate, because many times, the following statement did not execute, the use of the process found that many queries are reported unkown column this kind of error, because of this.

2. config_inc. php This will prompt failed to create, is an php file, write a connection to the database of 1 configuration. Directly create, the prompt content directly copy into the good.

3. After installation, remove the entire admin file and change the default administrator password (it is recommended to rebuild a management and then disable administrator). You know why.

2. Problems encountered in use

1. Function time problem, date () this kind of function, will prompt is not safe, then, said has set the time zone or something. This wants to set a default time zone in php. inc on ok, 1 like we are setting Asia/Shanghai.

2. In Chinese, find config_defaults_inc directly in the root directory of mantis. php is changed to $g_default_language= 'chinese_simplified' in line 588;

3. database_version (this is the reason why mantis_config_table data was not inserted, and ok will be executed again).

4. Click View Allocation (view. php? id=1), an error will be reported, or Unknown column 'user_id', mantis_bug_file_table, which is related to the table, will be checked and executed (it feels a bit ridiculous, and the official will not make the sql statement whole or something).

5. Mail configuration, I use smtp, this configuration is universal (I use 163) under Baidu 1, you will know. config_defaults_inc. php has relevant parameters, and there is no problem if it is written correctly.

After the previous steps, mantis is ok. Next, enjoy the fun of mantis, dear friends.


Related articles: