Troubleshooting in mantis installation, configuration, and use _ php instance

Source: Internet
Author: User
Tags mantis bug mantis bug tracker
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.

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.