Problems in mantis installation, configuration and use

不言
Release: 2023-03-25 07:08:02
Original
1541 people have browsed it

This article mainly introduces a summary of the problems in the installation, configuration and use of the open source PHP defect management platform mantis. Mantis is an open source defect management platform for PHP. Friends in need can refer to the

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

is not smooth sailing. But it is quite bumpy. Now I will summarize it for future use. (PS: the latest version of 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.
This means that the data has not been created and has to be created manually, which means that a long list will be displayed in front of it. Just run the sql statement. Of course, do not copy the warning message inside. My personal experience is to separate the create table from the subsequent alter table, because many times, the subsequent statements are not executed. During use, I found that Many queries report errors such as unknown column, because of this.

2.config_inc.php will prompt that it cannot be created. It is just a php file that writes some configurations for connecting to the database. Create it directly and put Just copy the content of the prompt into it.

3. After the installation is completed, remove the entire admin file and change the password of the default administrator (it is recommended to rebuild the administration and then disable the administrator). You know the reason.

2. Problems encountered during use

1. Function time problem. Functions such as date() will prompt that it is unsafe, and then it will say that the time zone has been set. Or something. This is OK if you set a default time zone in php.inc. Generally, we set Asia/Shanghai.

2. For Chinese display, you can find config_defaults_inc.php directly in the mantis root directory at line 588. Change it to this $g_default_language= 'chinese_simplified';

3.database_version (This is the reason why the mantis_config_table data is not inserted, it will be ok after re-executing).

4.Click to view the distribution (view .php?id=1), an error will be reported, or Unknown column 'user_id', check the alter statement related to the mantis_bug_file_table table, and execute it (it feels a bit nonsense, the official will not neaten the sql statement) ).

5. Mail configuration, I use smtp, this configuration is universal (I use 163) Baidu, you will know that there are relevant parameters in .config_defaults_inc.php, just write it correctly No problem.

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


##

The above is the detailed content of Problems in mantis installation, configuration and use. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
use
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!