Summary of problems in installation, configuration and use of Mantis _php example

Source: Internet
Author: User
Tags administrator password mantis bug mantis bug tracker

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

It's not plain sailing, it's rather bumpy. Now the summary, convenient for later use. (PS: Latest version of mantisbt-1.2.11)

First, the installation of problems encountered

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 failed to create, manual creation, is to put a long list of SQL statements to run the next, of course, the warning message inside do not copy. Personal experience is to separate the CREATE table from the subsequent ALTER TABLE, because many times, the following statement is not executed, using the process to find, A lot of queries report unkown column This kind of mistake, is because of this.

2.config_inc.php This will be prompted not to create, is a PHP file, write a connection to the database of some configuration. Directly create, the hint content directly copy in the good.

3. After the installation is complete, remove the admin entire file, change the default administrator password (recommend rebuilding management, then disable the Administrator), cause, you know.

Ii. problems encountered in the use of

1. Function time problem, date () This kind of function, will prompt unsafe, then, said has set the time zone or something. This is to set a default time zone in the php.inc 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 to change into such $g_default_language= ' chinese_simplified ';

3.database_version (This is the reason that the mantis_config_table data is not inserted, the execution is OK again).

4. Click to view the distribution (view.php?id=1), will be an error, or unknown column ' user_id ', mantis_bug_file_table This table related to alter the statement view, execution (feel a little bit of an egg, The official will not put the SQL statement to a full well.

5. Mail configuration, I use the SMTP, this configuration is generic (I use is 163) Baidu, you know. Config_defaults_inc.php has the relevant parameters, only the right to write there is no problem.

After a few steps in the past, Mantis OK, next, enjoy the fun of mantis, kiss them.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.