Mantis FAQ
Generated on 27-Jul-2003 02:07:04
Table of Contents
General
1.1. I want to change or add or remove some of the META tags.
1.2. I want the project to change automatically when I select it!
1.3. Will you integrate Mantis into <insert favorite CMS or framework>?
1.4. Will you port Mantis to Perl/Java/Ruby/Python?
1.5. Will you port Mantis to use Perl?
1.6. What is Mantis?
Configuration
2.1. Can I run Mantis on a different http port, like 1080?
2.2. Can I use Mantis with multiple virtual servers?
2.3. How can I use Mantis with SSL?
Customization
Appearance
4.1. The tables are all centered in IE6.
http://mantisbt.sourceforge.net/dev/faq/index.php?f_edit=0#item_4_2
4.3. I want to change some of the CSS.
4.4. I want some nice graphs when I look at bug stats.
4.5. I want to have a custom company logo at the top of every page
4.6. I want to see a listing of bugs sorted by reporter (or assignee).
4.7. How do you change the date format?
4.8. Can I set my own colors?
4.9. I want to have the menu bar at the bottom as well as the top of each page.
Database
5.1. How do I backup the MySQL database?
5.2. I need support for PostgreSQL/Oracle/MSSQL
5.3. I need transactions!
5.4. Why did you pick MySQL?
5.5. When will Mantis have Database Abstraction?
Email
6.1. When is email notification sent out?
6.2. The email validation isn't working correctly. How can I fix this?
6.3. Why does it take a really long time for a report to get submitted? Everything else is pretty responsive.
6.4. I forgot my password. How can I have it automatically emailed to me?
6.5. I don't want all developers to recieve email from projects they aren't a part of.
Encryption
7.1. I don't have crypt() installed. Can I run Mantis?
7.2. I'm getting this error message: Fatal error: Call to unsupported or undefined function crypt() in core_user_API.php on line 134
Errors
8.1. I'm getting the following error: Warning: Missing argument 5 for print_manage_user_sort_link() in /usr/local/share/doc/apache/mantis/core_print_API.php on line 548. I'm using Mantis 0.15.3
8.2. I'm getting this error message: Fatal error: Call to unsupported or undefined function XYZ in ABC.php on line 123
8.3. Running Windows. Warning: unexpected error in date() in c:\program files\nusphere\apache\htdocs\mantis\manage_page.php3 on line xxx
8.4. Can I move existing bugs to other projects?
License
9.1. Why did you choose the GPL?
9.2. What license does Mantis use?
9.3. Doesn't the GPL mean that we have to make any customizations we make available to everyone else?
Functionality
10.1. I am not able to login to Mantis?
10.2. Does Mantis have target releases or milestones?
10.3. Can all bugs in a certain category automatically be assigned to a user?
10.4. Can I rearrange which fields are avialable in the simple and advanced report forms?
10.5. Does Mantis have fulltext searching?
10.6. I want a nice quick way of linking to other bugs.
10.7. Can I specify which fields are required?
10.8. I'm getting permission denied errors uploading files in win2k.
10.9. Can I customize the view bugs screen? I want to see more fields.
10.10. I'd like a daily/weekly/monthly digest of events that have occurred.
10.11. Why can't I sort by multiple sort keys?
10.12. Does Mantis support multiple projects?
10.13. Can Mantis store user-created custom queries?
10.14. Does Mantis support file uploads?
10.15. How can I view bugs across multiple projects at the same time?
10.16. Does Mantis have graphs for showing bug statistics?
10.17. Is there bug history logging in Mantis?
Localization
11.1. Does Mantis support other languages?
Modification
12.1. Can you add a discussion forum to Mantis?
Requirements
13.1. What are the minimum requirements?
13.2. Do you require register_globals to be set to On?
13.3. Could you use a flat file in place of a database?
13.4. I don't have a database. Can I still run Mantis?
13.5. Does Mantis require Javascript to be turned on?
13.6. I don't use cookies. Can I still use Mantis?
13.7. Does this actually run on Windows?
Paranoia
14.1. I can't use Mantis because it will infect all my software with the GNU GPL!
1. General
1.1 I want to change or add or remove some of the META tags.
Edit the
meta_inc.php
file.
1.2 I want the project to change automatically when I select it!
This is enabled via Javascript.
1.3 Will you integrate Mantis into <insert favorite CMS or framework>?
No. At some point we may consider unified login capabilities but that would be the extent of the integration.
1.4 Will you port Mantis to Perl/Java/Ruby/Python?
We have no plans to port to <insert language>.
1.5 Will you port Mantis to use Perl?
If you want Perl then use an existing Perl based package.
1.6 What is Mantis?
Mantis is a php/MySQL/web based bug tracking system. It is free for all to use and is distributed under the conditions of the GNU GPL.
Go to top
2. Configuration
2.1 Can I run Mantis on a different http port, like 1080?
Just access Mantis through the URL you need to run on that port.
2.2 Can I use Mantis with multiple virtual servers?
Just access Mantis through the URLs you have given each of the virtual servers.
2.3 How can I use Mantis with SSL?
Just access Mantis via the https:// protocol.
Go to top
3. Customization
Go to top
4. Appearance
4.1 The tables are all centered in IE6.
This issue has been fixed. Please upgrade to a newer version of Mantis.
4.2 What are these @null@ values that I'm seeing?
Release 0.15.0 converted the ENUM values to INT in order to achieve full localization. As a result these INT values index into an array which corresponds to their actual text. If the value stored in the database has no textual match then @null@ is displayed. This indicates that there is a mismatch between the stored value and corrseponding string.
4.3 I want to change some of the CSS.
Edit the
css_inc.php
file.
4.4 I want some nice graphs when I look at bug stats.
There is preliminary support available via the JpGraphs package. You will need to download and install the package and enable use in
config_inc.php
4.5 I want to have a custom company logo at the top of every page
This is undergoing a rewrite.
4.6 I want to see a listing of bugs sorted by reporter (or assignee).
You can filter the bug listing to only show bugs reported by a specified user.
4.7 How do you change the date format?
Edit the proper global.
4.8 Can I set my own colors?
Yes, however, the procedure is currently undergoing revision.
4.9 I want to have the menu bar at the bottom as well as the top of each page.
Enable this by toggling the
g_show_footer_menu
global.
Go to top
5. Database
5.1 How do I backup the MySQL database?
Run the mysqldump command and pipe the output to a file.
mysqldump -u[username] -p[password] [database] > [output filename]
To import, just run:
mysql -u[username] -p[password] [database] < [input filename]
5.2 I need support for PostgreSQL/Oracle/MSSQL
Other's have managed to hack ports to other databases, but we will not be devoting any resources to database porting until Mantis is feature complete.
5.3 I need transactions!
Probably not. In any case, MySQL is not in a position to support these by default anytime soon. It seems to have served the Mozilla project just fine.
5.4 Why did you pick MySQL?
The main reasons for using MySQL were that is ubiquitous, runs most anywhere, and is extremely simple. I fully realize how it is almost laughable when compared with 'real' databases like Oracle. Other databases will be supported as resources become available. This will likely happen around the 1.0 release when things become more stable.
5.5 When will Mantis have Database Abstraction?
Sometime in the future. It will probably make use of the ADODB or PEAR::DB package.
Go to top
6. Email
6.1 When is email notification sent out?
Email notification can be sent out on the following events
A NEW bug is reported
A BUGNOTE is added
A bug is set to ASSIGNED
A bug is set to FEEDBACK
A bug is set to RESOLVED
A bug is set to CLOSED
A bug is REOPENED (FEEDBACK)
6.2 The email validation isn't working correctly. How can I fix this?
You can disable the email validation by toggling the config variable in config_inc.php. You can try to just disable the mx record check, which checks to see that the domain supplied has a valid mail record, or also disable the email format validation check.
6.3 Why does it take a really long time for a report to get submitted? Everything else is pretty responsive.
The most likely cause is that the email system isn't properly configured. Take a look at your settings and your mail server and make sure that everything is functioning correctly.
6.4 I forgot my password. How can I have it automatically emailed to me?
Currently you cannot since the encryption process is one-way. That means your password is relatively secure but cannot be recovered. You will need the administrator to reset your password.
If email is enabled then the password is recreated and emailed. Otherwise it is set to blank.
6.5 I don't want all developers to recieve email from projects they aren't a part of.
You should set each project to be private and raise the access threshold to above developer. Then manually add each user that you want into that project. Alernatively, you can add the developer to a project and 'demote' his access level.
Go to top
7. Encryption
7.1 I don't have crypt() installed. Can I run Mantis?
Yes! Previously you could not. Now you can choose to use MD5 or plaintext. MD5 is similar to crypt() but should be supported across all PHP platforms. Like crypt it is also one-way so you cannot retrieve the original password. Plaintext is self-explanatory. Just remember that anyone who can read the database can read your password, so don't pick a critical password!
7.2 I'm getting this error message: Fatal error: Call to unsupported or undefined function crypt() in core_user_API.php on line 134
All builds of PHP4 and up are supposed to have crypt() built-in. However, due to some errors the 4.0.5 and possibly the 4.0.6 builds do not have this built-in. This applies to Windows in particular but also to several other platforms (OpenBSD, etc.)
Go to top
8. Errors
8.1 I'm getting the following error: Warning: Missing argument 5 for print_manage_user_sort_link() in /usr/local/share/doc/apache/mantis/core_print_API.php on line 548. I'm using Mantis 0.15.3
Change the last argument in the function call to $p_hide=0
8.2 I'm getting this error message: Fatal error: Call to unsupported or undefined function XYZ in ABC.php on line 123
Your particular build of PHP does not have these functions builtin. You may have to upgrade or recompile to fix these errors. In some cases, Mantis has global variables that can disable the usage of these functions. Particularly problematic functions are crypt(), is_uploaded_file, getmxrr().
8.3 Running Windows. Warning: unexpected error in date() in c:\program files\nusphere\apache\htdocs\mantis\manage_page.php3 on line xxx
This is a result of an error in Windows/PHP when the date is all zeroes. Of course, the date should never be all zeroes so that's a bug on Mantis' part. It should be fixed. To quick fix you will need to run a sql query to update any time field that is equal to all zeroes to something non-zero.
8.4 Can I move existing bugs to other projects?
Yes. Do this from the Manage -> Manage Projects -> edit Project screen.
Go to top
9. License
9.1 Why did you choose the GPL?
While I have no great love of the GPL it happens to best fit my personal beliefs and philosophy regarding the software. My personal belief is that development tools should be free for others to use. They are the ultimate tools of empowerment.
As a side benefit I can freely import existing code from the great many other PHP based GPL packages without worry about license conflicts.
9.2 What license does Mantis use?
Mantis is distributed under the GNU General Public License (GPL).
9.3 Doesn't the GPL mean that we have to make any customizations we make available to everyone else?
No. The GPL states that the source code needs to be available only to those you distribute the package. However, you cannot prevent those people from distributing the source. The important point is that if you never distribute Mantis you never need to make the source changes available. This includes customers who just visit the bug tracker to make a report.
Go to top
10. Functionality
10.1 I am not able to login to Mantis?
This is a common problem that sometimes occur with new installations. The possible reasons are:
Cookies are disabled (version 0.18.0 to identify this problem).
The encryption technique in config_inc.php is different from the one that was used to encrypt the password stored in the database.
CAPS lock is active. Mantis passwords are case sensitive.
Account for the specified user name was disabled by the administrator.
Wrong user name or password. New installations should use administrator / root
10.2 Does Mantis have target releases or milestones?
It is currently not planned to add these fields to Mantis. According to user feedback, the development team found that users' needs are different in terms of fields to be added. However, most of the users agreed that Mantis should not be overcomplicated with more and more fields. Hence, it was decided to support such fields by adding Custom Fields support. Thus, users will be able to define their own fields which can include these ones.
10.3 Can all bugs in a certain category automatically be assigned to a user?
Yes, each project:category combination has a user associated with it. This user has to have a handler access level or more. All defects that are added into this directory without being explicitly assigned, are automatically assigned to this user.
10.4 Can I rearrange which fields are avialable in the simple and advanced report forms?
Not unless you modify the code.
10.5 Does Mantis have fulltext searching?
There is a simple bug search but not a full search through all fields.
10.6 I want a nice quick way of linking to other bugs.
Just prefix a bug id with the # sign. So if you type #742 then it will automatically create a link to bug #742. This prefix is defined in a system global. You could set it to be bug:// or whatever you like.
10.7 Can I specify which fields are required?
Not unless you modify the code.
10.8 I'm getting permission denied errors uploading files in win2k.
Make sure the path is set properly in the project settings and that the folder has the proper security permissions.
Also make sure you have read permissions from the temp directory. Otherwise the filesize will come out incorrect.
10.9 Can I customize the view bugs screen? I want to see more fields.
You can do this by hand if you know a little php and html but there is currently no browser-based method to do this.
10.10 I'd like a daily/weekly/monthly digest of events that have occurred.
Not yet.
10.11 Why can't I sort by multiple sort keys?
The main reason is because there isn't a good way to do this given the current UI and code layout. Eventually a more complex query builder and advanced filtering interface will allow for this to happen.
10.12 Does Mantis support multiple projects?
Yes
10.13 Can Mantis store user-created custom queries?
Not yet.
10.14 Does Mantis support file uploads?
Yes. You can upload to disk or to the database.
10.15 How can I view bugs across multiple projects at the same time?
Select All Projects. Note that this feature is inherently buggy and limiting.
10.16 Does Mantis have graphs for showing bug statistics?
There is preliminary support in place. You will have to grab the
JpGraph package
10.17 Is there bug history logging in Mantis?
There will be in 0.18.0
Go to top
11. Localization
11.1 Does Mantis support other languages?
Yes. The localization files are stored as .txt files. All that is required to support a language is the translation of those language strings.
Go to top
12. Modification
12.1 Can you add a discussion forum to Mantis?
There is a Phorum integration HOWTO available
here
Other forum integrations may follow (phpbb, etc.)
Go to top
13. Requirements
13.1 What are the minimum requirements?
Mantis requires a web server, PHP and MySQL. You will need PHP 4.0.3 or higher installed and compiled with MySQL support. You will also need a web server setup to process PHP scripts.
13.2 Do you require register_globals to be set to On?
Not anymore! Mantis oeprates as if register_globas is turned Off.
13.3 Could you use a flat file in place of a database?
No. You must have a database running to use Mantis
13.4 I don't have a database. Can I still run Mantis?
No. You must have a database running to use Mantis
13.5 Does Mantis require Javascript to be turned on?
No. There are now some Javascript niceities but they degrade nicely when Javascript is turned off.
13.6 I don't use cookies. Can I still use Mantis?
No. You must enable cookies to use the package.
13.7 Does this actually run on Windows?
Mantis is known to run on Windows NT and 2000 using a variety of web servers (IIS, Apache, Bad Blue, etc.). There are occasionally platform specific problems depending on the webserver used and the version of PHP.
Go to top
14. Paranoia
14.1 I can't use Mantis because it will infect all my software with the GNU GPL!
This is an incorrect myth that is being spread by various corporations that make their living off of proprietary software. The GPL will only come into play when you distribute your software which includes portions (or the entirety) of any other GPL software. You may make customizations all you want and never have to open your source as long as you never distribute the software that includes GPL code.
Go to top