mantis安装、配置和使用中的问题小结,mantis小结
mantis安装、配置和使用中的问题小结,mantis小结
开发需要,安装mantis(Mantis Bug Tracker,缺陷跟踪系统 缺陷管理平台),下的是最新版,官网地址是http://www.mantisbt.org/download.php .安装.
并不是一帆风顺,而是相当坎坷.现总结下,方便以后用.(PS:最新版mantisbt-1.2.11)
一、安装时遇到的问题
1.Your database has not been created yet. Please create the database, then install the tables and data using the information above before proceeding.
这就是说数据没能创建,得手动创,就是把前面显示一长串的sql语句运行下就好,当然里面的警告提示信息就不要复制了.个人的经验,是把create表和后面的alter表分开,因为很多时候,后面的语句没有执行,使用过程中就发现,很多查询都报unkown column这类的错,就是因为这个.
2.config_inc.php 这个会提示没能创建,就是个php文件,写了连接数据库的一些配置.直接创建,把提示内容直接copy进去就好.
3.安装结束后,移除admin整个文件,更改默认administrator的密码(推荐重建个管理,然后把administrator禁用),原因,你懂的.
二、使用中遇到的问题
1.函数时间问题,date()这类的函数,会提示不安全,然后,说已设置时区什么的.这个要在php.inc里面设置个默认时区就ok,一般我们是设置 Asia/Shanghai.
2.中文显示,这个直接在mantis根目录下找config_defaults_inc.php在588行改成这样$g_default_language= 'chinese_simplified';
3.database_version(这个是mantis_config_table数据没有被插入的原因,重新执行下就ok).
4.点击查看分配(view.php?id=1)的时候,会报错,还是Unknown column 'user_id',mantis_bug_file_table这个表相关的alter的语句查看下,执行之(感觉有点扯蛋了,官方不会把sql语句整整好啥的).
5.邮件配置,我用的smtp,这个配置是通用的(我用的是163)百度一下,你就知道.config_defaults_inc.php里面有相关的参数,只写正确就没有问题的.
经过以前上几步,mantis就ok啦,接下来,尽情享受mantis来来的乐趣吧,亲们.
这个很难说,原因可能有很多.一般电脑都有提示.依照提示比较好解决.
数据库的连接错误
这个地方的错误原因,就是登陆连接数据库出了问题
我最开始也是用的easyphp,一样不行
不知道到底是这个软件有问题,还是自己不会用
建议还是用单独的mysql吧,自己再搭个PHP,真的不是很难
我专门写成了文档,有需要,你找我,我传你,绝对可以搭好的,很容易的,不要急
Q:20507354
或者你留个邮箱我发你也行

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



CrystalDiskMark is a small HDD benchmark tool for hard drives that quickly measures sequential and random read/write speeds. Next, let the editor introduce CrystalDiskMark to you and how to use crystaldiskmark~ 1. Introduction to CrystalDiskMark CrystalDiskMark is a widely used disk performance testing tool used to evaluate the read and write speed and performance of mechanical hard drives and solid-state drives (SSD). Random I/O performance. It is a free Windows application and provides a user-friendly interface and various test modes to evaluate different aspects of hard drive performance and is widely used in hardware reviews

If you have successfully downloaded the installation file of Baidu Netdisk, but cannot install it normally, it may be that there is an error in the integrity of the software file or there is a problem with the residual files and registry entries. Let this site take care of it for users. Let’s introduce the analysis of the problem that Baidu Netdisk is successfully downloaded but cannot be installed. Analysis of the problem that Baidu Netdisk downloaded successfully but could not be installed 1. Check the integrity of the installation file: Make sure that the downloaded installation file is complete and not damaged. You can download it again, or try to download the installation file from another trusted source. 2. Turn off anti-virus software and firewall: Some anti-virus software or firewall programs may prevent the installation program from running properly. Try disabling or exiting the anti-virus software and firewall, then re-run the installation

foobar2000 is a software that can listen to music resources at any time. It brings you all kinds of music with lossless sound quality. The enhanced version of the music player allows you to get a more comprehensive and comfortable music experience. Its design concept is to play the advanced audio on the computer The device is transplanted to mobile phones to provide a more convenient and efficient music playback experience. The interface design is simple, clear and easy to use. It adopts a minimalist design style without too many decorations and cumbersome operations to get started quickly. It also supports a variety of skins and Theme, personalize settings according to your own preferences, and create an exclusive music player that supports the playback of multiple audio formats. It also supports the audio gain function to adjust the volume according to your own hearing conditions to avoid hearing damage caused by excessive volume. Next, let me help you

NetEase Mailbox, as an email address widely used by Chinese netizens, has always won the trust of users with its stable and efficient services. NetEase Mailbox Master is an email software specially created for mobile phone users. It greatly simplifies the process of sending and receiving emails and makes our email processing more convenient. So how to use NetEase Mailbox Master, and what specific functions it has. Below, the editor of this site will give you a detailed introduction, hoping to help you! First, you can search and download the NetEase Mailbox Master app in the mobile app store. Search for "NetEase Mailbox Master" in App Store or Baidu Mobile Assistant, and then follow the prompts to install it. After the download and installation is completed, we open the NetEase email account and log in. The login interface is as shown below

Cloud storage has become an indispensable part of our daily life and work nowadays. As one of the leading cloud storage services in China, Baidu Netdisk has won the favor of a large number of users with its powerful storage functions, efficient transmission speed and convenient operation experience. And whether you want to back up important files, share information, watch videos online, or listen to music, Baidu Cloud Disk can meet your needs. However, many users may not understand the specific use method of Baidu Netdisk app, so this tutorial will introduce in detail how to use Baidu Netdisk app. Users who are still confused can follow this article to learn more. ! How to use Baidu Cloud Network Disk: 1. Installation First, when downloading and installing Baidu Cloud software, please select the custom installation option.

MetaMask (also called Little Fox Wallet in Chinese) is a free and well-received encryption wallet software. Currently, BTCC supports binding to the MetaMask wallet. After binding, you can use the MetaMask wallet to quickly log in, store value, buy coins, etc., and you can also get 20 USDT trial bonus for the first time binding. In the BTCCMetaMask wallet tutorial, we will introduce in detail how to register and use MetaMask, and how to bind and use the Little Fox wallet in BTCC. What is MetaMask wallet? With over 30 million users, MetaMask Little Fox Wallet is one of the most popular cryptocurrency wallets today. It is free to use and can be installed on the network as an extension

Installing Android applications on Linux has always been a concern for many users. Especially for Linux users who like to use Android applications, it is very important to master how to install Android applications on Linux systems. Although running Android applications directly on Linux is not as simple as on the Android platform, by using emulators or third-party tools, we can still happily enjoy Android applications on Linux. The following will introduce how to install Android applications on Linux systems.

Understanding Linux Bashrc: Function, Configuration and Usage In Linux systems, Bashrc (BourneAgainShellruncommands) is a very important configuration file, which contains various commands and settings that are automatically run when the system starts. The Bashrc file is usually located in the user's home directory and is a hidden file. Its function is to customize the Bashshell environment for the user. 1. Bashrc function setting environment
