Home  >  Article  >  Backend Development  >  Summary of problems in the installation, configuration and use of mantis, summary of mantis_PHP tutorial

Summary of problems in the installation, configuration and use of mantis, summary of mantis_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 10:23:21823browse

Summary of problems in the installation, configuration and use of mantis, summary of mantis

For 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. Install.

It’s not all smooth sailing, but quite bumpy. Here’s a summary for future reference. (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 cannot be created and must be created manually. Just run the long series of sql statements shown above. Of course, do not copy the warning information inside. My personal experience is to combine the create table and the alter that follows. The tables are separated because many times, the following statements are not executed. During the use, I found that many queries reported errors such as unkown column. It is because of this.

2.config_inc.php will prompt that it cannot be created. It is just a php file with some configurations for connecting to the database. Create it directly and copy the prompt content directly 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 will know the reason.

2. Problems encountered during use

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

2. For Chinese display, find config_defaults_inc.php directly in the root directory of mantis and change it to line 588 like this $g_default_language= 'chinese_simplified';

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

4. When you click to view the allocation (view.php?id=1), an error will be reported, or it is 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 correct the sql statement or anything).

5. Email 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, as long as they are written correctly, there will be no problem.

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

Help with mantis installation issues

This is hard to say. There may be many reasons. Most computers have prompts. It is easier to solve the problem by following the prompts.

Mantis configuration problem, I hope brothers and sisters can help solve it quickly

Database connection error
The reason for this error is that there is a problem logging in and connecting to the database

I also used easyphp at the beginning, but it didn’t work either
I don’t know what is wrong with this software. , or you don’t know how to use it yourself

It is recommended to use a separate mysql. It’s really not difficult to set up PHP by yourself
I have specially written a document. If you need it, you can ask me and I will send it to you. , it can definitely be set up, it’s very easy, don’t rush

Q: 20507354
Or you can leave an email and I will send it to you

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/840640.htmlTechArticleSummary of problems in the installation, configuration and use of mantis, summary of mantis development needs, installation of mantis (Mantis Bug Tracker, defects Tracking system defect management platform), the latest version is downloaded, the official website address is...
Statement:
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