Mantis Logo
Mantis Manual
Manual
Troubleshooting

Installation
jpgraph
File Downloads


Partner Links


Installation
Last Modified: September 16, 2004 05:09AM
(Any)
Description

Some points to consider for errors after installing Mantis.

  • Database Errors.
    Ensure that you have run the administrative upgrades at http://www.example.com/mantis/admin/upgrade.php.

User Contributed Notes
Installation
Add Notes About Notes
no@spam.invalid
27-Jun-2004 6:31
#160
Note that it is technically possible to install Mantis without having shell access to the webserver. You will need to untar/gunzip all files locally and transfer them to the server individually. You will also need a way to setup the MySQL database on the server (e. g. Confixx, phpMyAdmin).
newbie
27-Oct-2004 13:32
#250
3. Next we will create the necessary database tables. Make sure you have
created the database ahead of time. You should know your mysql username and password as well.

-> how do I create the database?
nul@device.com
04-Nov-2004 10:44
#255

Your webspace must include mySQL databases for using it, free webspace or the small, private ones often don't.

If yes, login to the admin panel of your hoster and look around for a mySQL database configuration etc. pp.

good luck
N.
baiz@NOSPAMto-in.co.jp
08-Nov-2004 2:14
#257
If your ISP provides phpMyAdmin as MySQL management interface, you can add the tables etc using following steps:

1. Navigate to the database you created,
2. Click 'SQL' tab,
3. In 'Location of the textfile:', paste the path to sql/db_generate.sql on your system,
4. In 'Compression:', select 'None',
5. Click the 'Go' button.

All naccessary tables are created.
sean.riley@pxti.com
07-Dec-2004 23:30
#281
I have had an issue with runnin Mantis 0.19.1 on MySQL 4.1 on a Windows 2000 Server.

The error I was getting was on the admin/check.php page were "Opening connection to database " was BAD.

I tried to go to the mantis/login.php page and got a MySQL #1251 error.

After doing a load of googling I found that I had a client mismatch. There is an issue with password length.

I had to change my Mysql ini file (my.ini) and include the line under
[mysqld]
old-password = 1

I then re-cycled my mysql service I also connected using the command line interface as root
i.e.
mysql -uroot -pXXX

I then ran

mysql>SET PASSWORD FOR 'root'@'localhost' = old_password('ABC');

when I tried the admin/check.php page again I had a lovely green GOOD next to my "Opening connection to database " check.

Hope this helps.
bcl@brianlane.com
15-Dec-2004 22:17
#290
To create the database manually (if you have shell access) do this:

mysqladmin create mantis -u root -p

That will create the database

Log into the mysql database to add a user with access to the new mantis database:

mysql mysql -u root -p

> GRANT select,update,insert,delete,create on mantis.* to mantis@localhost identified by 'ASekRetPassword';
jahwa_lu@ringline.com.tw
20-Dec-2004 4:49
#294
Dear Sir
  I upgrade php from 4.x to 5.0 and run mantis, get error message "Fatal error: Call to undefined function mysql_connect() in D:\mantis-0.19.2\core\adodb\drivers\adodb-mysql.inc.php on line 338" . I have seen PHP doc and no answer, how do I fix this problem? thks...
lukasz_ladniak@wp.pl
01-Jan-2005 21:01
#305
I have the same problem as you:

Fatal error: Call to undefined function mysql_connect() in ******\MANTIS\core\adodb\drivers\adodb-mysql.inc.php on line 338

I have PHP server 5.0.3 installed and latest mantis 0.19.2. What should I do? Please help.
sanmcp@hotmail.com
03-Jan-2005 15:05
#307
I am having trouble running the mantis. I have mantis 0.19.2, MySql 4.1.8 and PHP 5.0.3 all running on IIS5.0 with windows 2000 server.

After configuring PHP, if I run the <? phpinfo() ?> file I get long list of config. information. So I know php works. After installing MySQL, I can create databases. But when I try to connect to a database from php, I can't. If I run ..mantis/admin/check.php I get the following.

You have PHP 5.0.3
----------------------------
Tryting to connect to database in [localhost] using user [root]
-----------------------------

I see something similar to above and that's it. If I comment $link = @db_connect (.....) line, I get a list items with "good" in it except the database part.

What am I doing wrong?

Thanks
tomas.skala@aquion.cz
10-Jan-2005 12:36
#315
Probably must set in config_inc.php

$g_hostname = "localhost";
$g_db_username = "aquion";
$g_db_password = "...";
$g_database_name = "aquion";

it wrote "[root]" when I forgot username
user@domain.com
13-Jan-2005 11:03
#320
PHP 5.x Windows binaries DO NOT currently come with MySQL support. If you're getting errors with the /admin/check.php page stopping after the "Opening connection to database..." line, or a "Fatal error: Call to undefined function mysql_connect()" error, either revert to the PHP 4.x binaries or download and compile the source for PHP 5 with MySQL support.
anonymous
14-Jan-2005 8:49
#327
PHP5 binaries for Windows are OK, you have to modify the php.ini and load the drivers for mysql (take a look at php.ini). At the moment the binaries of PHP5 doesn't work with mysql 4.1 or 5, but with mysql 4 works fine.
Add Notes
siena@bamba.lt
15-Mar-2005 4:09
#380
can1t login after install >
"Your account may be disabled or blocked or the username/password you entered is incorrect."
??
tim.lemasters@NOSPAMprizum.com
22-Mar-2005 17:10
#387
I am getting the same error as Siena:
"Your account may be disabled or blocked or the username/password you entered is incorrect."
First, I logged into Mantis using the default administrator, created another admin account, and deleted administrator. The delete process seemed to have ended abnormally. After the delete, a page came up that said only "Mantis" at the top--no other content. I tried to refresh and was kicked back to the login page. When I tried to log in as the new admin, I got the above error.
By the way, it appears the administrator is gone from the mantis_user_table, and it appears that the new user is present and has an "enabled" field set to 1.
Is there some DB field I can flip to get in? Is there a quickie patch I can apply to a php file?
default administrator user/pass
05-Apr-2005 0:16
#398
the default user/pass (as in 0.19.2) is:

administrator
63a9f0ea7bb98050796b649e85481845

or check out the last line of sql/db_generate.sql to find the password.
gaehle@naw.de
19-Apr-2005 4:02
#412
The mysql-connect problem in my case was that i have the mysql.sock file under a different directory (not /tmp/mysql). (Take a look into the my.cnf File)
Editing the php.ini as follows will solve the problem:

mysql.default_socket = <yourdir>/mysql.sock

Greetings SG
jaswinder_singh@hotmail.com
10-May-2005 3:44
#434
After configuring Apache Server 2.0.54, mySQL and PHP while trying to access http://localhost/MySQL/mantis-1.0.0a2/admin/check.php ... it gives..."Page Not Found" Error ...any pointers to this PLEASE
soyjuha@yahoo.es
07-Jun-2005 12:38
#457
I have already installed my web server (Apache2), PHP5 and MySQL4.1. Everything seems to work properly, then I have downloaded the latest version of Mantis, and have tried to install it, but I get no results.
I have created a database (as told in point 3 of this manual), and finally I have changed the configuration file (config_inc.php).

I can´t run the admin/check.php file, I only can edit it with notepad or internet explorer...

Where do I have to copy the Mantis files? On a separeted directory?

Do I have to make any other changes on PHP files?

Thanx for your help in advance
fbarrear@hotmail.com
08-Jun-2005 13:49
#461
I was having the problem "PHP Fatal error: Call to undefined function mysql_connect() in C:\\mantis\\core\\adodb\\drivers\\adodb-mysql.inc.php on line 338".
I checked php.ini and the line "extension=php_mysql.dll" was comented. That's why it wasn't working the connection.
junk _at_ almirun _dot_ com
13-Jun-2005 21:51
#467
Better than renaming the installed directory, just make a symlink - when it's time to upgrade you can then just install the new version and change the symlink. Eg:

ln -s mantis-0.19.2/ Mantis

- Joshua Mostafa
ty_temp@removeYAHOOthis.com
29-Jun-2005 6:43
#491
I installed 1.0.0a3 in a new folder, the install procedure went fine. Database is created with all tables ok.

But when I try to access http://server:1234/mantis_yeni/login_page.php I always get the following error...

I'm a PHP newbie but this looks like a db connection problem. I checked config_inc.php and everything seems fine (the installation procedure would've crashed otherwise)

Fatal error: 401 in c:\program files\apache group\apache\htdocs\mantis_yeni\core\database_api.php on line 109

Any ideas?

Thanks
not_email@comcast.net
29-Jun-2005 17:13
#492
Ty_temp,

I have had the same problem. I haven't had a lot of time to look into it. Let me know if you figure it out. I am running Win 2k on one server and linux 7 on the other. I have the same error on both.

I also created the tables manually. I do get a 'pink' bad for the MD5 support though I'm not sure why. md5 support is standard with PHP.

RAH.
ihearithurts[at]gmail.com
05-Jul-2005 20:01
#500
That's what it was. I guess I assumed it would automatically create the tables it needed. I guess I could have actually READ the documentation huh? Thanks!
nishu_mittal02@yahoo.com
07-Jul-2005 10:50
#505
I completed the installation, created the database objects and everything looks good but on accessing it returns blank page. There is no code beind that page. /admin/check.php reports everything O.K except for " register_globals - WARNING" and a note about file upload size. I put in phpinfo() in the index.php and it shows all php variables. I'm lost...

any help is appreciated.

Thanks
c.magnin@gmail.com
08-Jul-2005 5:41
#506
I want to use mantis 1.03 on wamp with correct php and mysql (no pwd to acces mysql). when i check my config with "admin/install.php", i have all "good" but "Checking that configuration file can be created".

Then, when I go to "index.php" at the root of my server, I get "Fatal error: 401 in c:\wamp\www\mantis\core\database_api.php on line 109".

If I understand how all of these things wok, I'm not a bloody killer in all these things. Anyone can help ?
paul.hulskamp@mapds.com.au
20-Jul-2005 3:24
#528
I receive the following SQL error when trying to use
http://localhost/mantis/manage_custom_field_page.php
or
http://localhost/mantis/my_view_page.php

I have MySql version: 4.1


APPLICATION ERROR #401
Database query failed. Error received from database was #1064: You have an error in your SQL syntax near 'on cft.id = cfpt.field_id
JOIN mantis_project_table as pt o' at line 3 for the query: SELECT distinct cft.id as id, cft.name as name
FROM mantis_custom_field_table as cft
JOIN mantis_custom_field_project_table as cfpt on cft.id = cfpt.field_id
JOIN mantis_project_table as pt on cfpt.project_id = pt.id
LEFT JOIN mantis_project_user_list_table as pult
on cfpt.project_id = pult.project_id and pult.user_id = 2
JOIN mantis_user_table as ut on ut.id = 2
WHERE pt.view_state = 10 OR
( pt.view_state = 50 and pult.user_id = 2 ) OR
( pult.user_id is null and ut.access_level >= 90 )
ORDER BY name ASC
thomas .AT. pixtur .DOT. de
28-Jul-2005 4:20
#544
This is my first try of mantis 1.0.rc1
I use php5.3 / mysql 4.1 / win xp home

Some comments:
- if creation of accounts requires mail-function, you might check for those before installation
- the default-administration-password should be written somewhere (just found it in the above comments)
- It would be very convinient to link a page or give some hints how I can install the mail-functions on my system

The rest is just fine. Excellent work!

 tom
gregbloch at hotmail
05-Aug-2005 12:04
#555
I am trying to install Mantis onto my server.

I have no shell access so I had untar the archive on my windows system.
I granted all the proper database access permissions to mantis and the installation seem to be fine.

However, when try to login, after I type in the user and password I get this error

SYSTEM WARNING: Cannot modify header information - headers already sent by
right after in the brackets I get the location of the config_inc.php file that I had to create because mantis was unable to.

Anybody has any suggestion to solve this problem ?
gregbloch at hotmail
05-Aug-2005 12:22
#556
I forgot to mention that I cannot make register_globals off as it is not my server and it seemst that it is a secuirty recomendation but maybe it is the reason for mantis not to work ? (could it be )
benbrisbane@NOSPAMhotmail.com
13-Aug-2005 10:48
#563
Using Linux, if you are getting this problem:

1. " Call to undefined function: mysql_connect() "
or
2. The test is failing for " Checking PHP support for database type " for mantis/admin/install.php

then do this to fix it:

(1) Find the file php.ini which is in your apache directory (suggestion: /etc/php4/apache2/php.ini)

(2) find the section:
;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;

(3) and uncomment or add:

extension=mysql.so

the same applies for the gd extension (if you would like to use it):
extension=gd.so

(4) restart apache (etc/init.d/apache2 restart) and thats it

Thanks to http://www.linuxsolved.com/forums/ftopic884.html
Problem after the installation
28-Sep-2005 6:29
#623
i made all steps for install mantis and everything semms okay. when i see the check.php all proprieties are GOOD.
and i upgrated the system it gives me this error :
ERROR: can't drop 'votes'. it dosn't exist

how can i resolve this prob.....?

and when i try to go in login.php it redirect me to admin/install.php
did i forget someting ?

I'm waiting for your help !
fabien.veyradier@free.fr
14-Oct-2005 17:53
#648
Installation problem

I use :
Apache 2.0.54
PHP 5.0.5
MySQL 4.1.14

and I cannot run the admin/install.php properly.

I have login/password root/root and admin/admin in MySQL

in php.ini I uncommented extension=php_mysql.dll

but I always get the message in red when I click on install/upgrade Database button :
Checking PHP support for database type
BAD
database is not supported by PHP. Check that it has been compiled into your server.

How to fix this problem ? I cannot go any further.
mls2@wp.pl
19-Oct-2005 11:45
#652
Hello,

when I am trying to log in first time to mantis using default administrator user and root password I get error message:

SYSTEM WARNING: Cannot modify header information - headers already sent by (output started at c:\Inetpub\wwwroot\mantis\config_inc.php:13)


Anybody know how to resolve it?
xpert01@gmx.de
21-Oct-2005 17:19
#659
Hello,

after installing mantis the check.php shows good for all subjects.
When I try to run mantis I got the following several times for different line and php files:
Strict Standards: var: Deprecated. Please use the public/private/protected modifiers in c:\programme\e-novative\WAMP\www\mantis\core\timer_api.php on line 33

Anyone has an idea what it means?

Iam running php 5.03, appache 2.xx and mantis 1.00rc2

Thanks,

THomas
pine@localhost
28-Oct-2005 20:01
#684
Hello, everyone.

I'm having problem with mantis (0.19.3 & 1.0.0rc2) not redirecting at all and showing blank page.
I looked into the index.php file (there is an if/else for redirecting to login_page.php and main_page.php)

Both versions have the same problem.

If I entered the page directly (host/login_page.php), it shows the login page). After I enter my admin account, Mantis redirected me to blank page on login.php.

I set this up in Windows 2003 with Apache 2, PHP 5.0.4, MySQL 4.1.

Great product.

Why does it need to too many redirects?

Is the PHP version/configuration is a problem in itself?


Please advise me on showing this problem?
rossauk@hotmail.com
05-Nov-2005 22:14
#699
Hi

Can you tell me where the install.php is as after reading your manual it says its in the admin folder.. However after downloading everything there is, it wasn't there.

Thanks
pliska@gmail.com
08-Dec-2005 14:45
#751
The install.php file does not exist in this tarball. Anyone know if it's just plain missing or if it has been renamed?
noemail
09-Dec-2005 0:48
#753
If you get mailer problems when first setting up accounts then you can add this line to config_inc.php and not have to deal with setting up system mailer daemons:

$g_phpMailer_method = 1;
simon_hobbs@hotmail.com
09-Dec-2005 7:16
#755
admin/install.php is not in the tar. Can someone who has this file please post a link to it?
simon_hobbs@hotmail.com
09-Dec-2005 8:06
#756
Does anyone know how to install 0.19.3 without the missiong install.php? (incedentally, I check the tars for 19.0, 19.1, 19.2 and none of them have it.)

E.g. can some kind person post an example config file, and instructions for where to put it etc? There doesnt seem to be a conf dir or any example conf files in the distribution.
simon_hobbs@hotmail.com
09-Dec-2005 10:35
#757
Got the answer to missing install.php: use the instructions in doc/INSTALL and do it manually.
no@email
13-Dec-2005 6:24
#759
Hi

I'm having problems with MySQL access. Going to login.php gives:

APPLICATION ERROR #400
Database connection failed. Error received from database was #2004: Can't create TCP/IP socket (10106)
 
check.php reports the following:
Opening connection to database on host [localhost:3306] with username [admin] BAD

I'm running PHP 5.1.1, MySQL 4.1, Windows XP.

I'm new to PHP so it could be a problem there??


Thanks for any help!

no mail pls
13-Dec-2005 11:24
#769
Same problem here.
I'm now using 1.0.0rc4 and works great!
karkaju@gmaill.com
11-Jan-2006 12:33
#823
I saw some of ours using Mantis under PHP5.x.x
How could you do that ?
My Mantis is 0.19.4 and my PHP is 5.05 and I receive the error message "Fatal error: Call to undefined function mysql_connect() in ..."

Thanx in Advance for any help.
bill s at worklate dot gone
26-Jan-2006 23:23
#843
I discovered another fix for what seems to be a common problem with PHP and MySQL (...after a VERY large number of hair-pulling hours reading this thread and every other thread for my own version of the problem...)

For the error:
Opening connection to database on host [localhost] with username [root]
Giving result: BAD

Where the underlying error is:
 mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13)

I found a casual remark on http://www.onlamp.com/pub/a/php/2004/02/19/php_foundations.html that lead to a solution. The remark was (and all credit to the author John Coggeshall):
Note: when specifying a server using the hostname, it is worthy to note that the MySQL extension in PHP will attempt to connect using a local socket (or named pipe in Windows) instead of via TCP/IP, if the hostname is of the form localhost, or localhost:port is used. Although this is generally desirable (and recommended), you can also force a TCP/IP connection by using the IP address 127.0.0.1 instead.

As soon as I changed $g_hostname = "127.0.0.1", my database went GREEN!!! (wooo-hooo!)

My environment:
Red Hat Enterprise Linux 3 - RHEL 3 - 2.4.21-4.EL
MySQL Server 5.0.18-standard
PHP 4.3.2-26 (BTW - to get the php-mysql-4.3.2-26.ent package, I had to log in to Red Hat Network and download it under my Red Hat subscription - up2date could not get it on its own for some reason..)
Mantis 0.19.4
pashev.igor@gmail.com
05-Feb-2006 7:59
#866
I have upgraded from 0.19.4 to 1.0.0

Described above method didn't work for me.
(Table mantis_project_hierarhy was not created)

Here what I did:
Created new installation, pumped all data from old (0.19.4) DB (just INSERT) into new (1.0.0).

I was not successful with install.php (!). So I ask it to show SQL statements and perform they all by 'hands'.
Stasi.Divine
10-Mar-2006 7:26
#930
I have followed the instructions in detail, and completed the installation, getting the report 'Install was completed successfully'. However, when I click the 'Continue to log into Mantis' I get redirected back to the install page.

The only problems reported during install were:
"POSSIBLE PROBLEM
Please ensure that you installation supports the new password scheme used in MySQL 4.1.0 and later. See http://dev.mysql.com/doc/mysql/en/password-hashing.html."

and not being able to update the config_inc.php file, which I updated manually.

I can check the install using check.php and can use the admin functions to [ Check your installation ][ Upgrade your installation ][ Modify stylesheets ][ System Utilities ].

I have tried typing in the URL for login_page.php, login.php, among some others, but these all re-direct me back to install.php.

Am I doing something wrong?
wally@beaver.cleaver.net
03-Apr-2006 1:06
#972
While it is entirely possible that I am not the brightest candle in many respects, I was able to install MySQL using the very nice installation package for OS X (in my case, 10.4.4 running on a new 20" iMac 2.1-GHz G5 [iSight] with 2.5GB of memory and a 250GB 7,200RPM HD). I was able to do this installation of MySQL, because in keeping with stellar style of Apple installations, it required me to do absolutely NOTHING beyond launching the installation package. This is the way it works over here in the Apple universe--and, this is great when you have virtually no idea what "sudo" means (even though you have a university degree in Computer Science).

I also found a PHP installation package for OS X, and it was very simple to install--since, again, all it required me to do was launch the setup.

I like things like this, since I truly have no interest in knowing what "sudo" is or what it does. Knowing that my Apple computer actually has something called a "root" is a bit frightening, really--especially, considering that I switched from Windows to the Mac just under five years go, mostly because Microsoft entered a completely different universe from the one with which I was quite happy, and Windows computers have a "root".

WHY?

When you get an Apple computer, everything just works--and, the computer does not require you to do busy activities that involve such things as "sudo" and "root".

NO!

If the folks doing Mantis have time to find an Apple-friendly way to get what looks to be a truly marvelous bug tracking system installed, then fabulous.

Am I missing something obvious?

From my perspective, I cannot see how installing Manitis should be any more complex than installing MySQL. There is an Apache webserver on my iMac (although I have no idea where it is or how to do anything with it), and now I have MySQL (which I know is working, since I was able to do some queries on a few of the tables) and in theory there should be PHP 4.3.11 on it, as well (although, how should I know, since all I did was run the installation program, which [a] ran and [b] finished).

Some of the instructions suggest putting the Mantis stuff in my webserver space, but where might that be?

Is this something everyone is supposed to know?

I have no idea, really!

Fabulous!

What else do I have to do?

NOTHING!

Anything that is more complex than running a simple, fully contained, and sufficient Apple-friendly installtion program which does everything is NOT something I can do at present--and, since there does not appear to be one of these Apple-friendly setups for Mantis, then I need to look somewhere else (except that all the bug tracking systems that run in the Apple universe appear to be just as difficult to install, because although they are [a] easy to install, this ease of installation occurs only after [b] you perform two or three pages of low-level commands and instructions written in some strange language from a planet located in the Neopolitan Nebula).

Just a suggestion, but perhaps it mskes sense to add some smarts to the Mantis installation procedure (at least for Apple folks)?

Thanks!

  
jordansommerfeld@hotmail.com
14-Apr-2006 20:55
#1002
Hey I have been having trouble getting my website up. Im on Windows Xp and I have made many changes to get my server up and running. But now im at phpmyadmin and I get to the login screen fine going to http://localhost:60/blackflag but when I login this comes up: ERROR #2004 - Can't create TCP/IP socket (10106). I don't know what this means or what I should do to fix this, any ideas will help thanks!
sarat.karedla@gmail.com
22-Apr-2006 6:29
#1018
Hi,
  I have succesfully installed mantis... But I can not find the login page
every time i try to login with the following url htpp://myserver/mantis/login.php i am redirected to admin/install.php.. please someone help me
vivek@glopoeims.com
28-Apr-2006 3:14
#1029
hi
  I am getting the following errors

   ADONewConnection: Unable to load database driver ''
Checking your installation
Opening connection to database [

APPLICATION WARNING #100: Configuration option 'database_name' not found.
] on host [

APPLICATION WARNING #100: Configuration option 'hostname' not found.
] with username [

APPLICATION WARNING #100: Configuration option 'db_username' not found.
]

Please helpm me soon ..
vivek@gloporeims.com
03-May-2006 5:46
#1036
hi My check.php shows


   [ Back to Administration ] Check Installation


Version

Mantis requires at least PHP 4.0.6. If you are not running this version or above, you or your administrator will need to upgrade your build of PHP.

You are running PHP 5.0.4

Checking your installation
Opening connection to database [mysql] on host [gloporeims-10] with username [admin] GOOD
Checking to see if your absolute_path config option has a trailing slash: "C:\Program Files\xampp\htdocs\gloporeims\mantis\" GOOD
validate_email = OFF? BAD
check_mx_record = OFF? GOOD
magic_quotes_gpc 1
gpc_order
variables_order EGPCS
include_path .;C:\Program Files\xampp\php\pear\
short_open_tag 1
Bug attachments download thresholds (view_attachments_threshold, download_attachments_threshold, delete_attachments_threshold) GOOD
Bug attachments allow own flags (allow_view_own_attachments, allow_download_own_attachments, allow_delete_own_attachments) GOOD
check mail configuration: send_reset_password = ON requires allow_blank_email = OFF BAD
check mail configuration: send_reset_password = ON requires enable_email_notification = ON GOOD
check mail configuration: allow_signup = ON requires enable_email_notification = ON GOOD
check mail configuration: allow_signup = ON requires send_reset_password = ON GOOD
check language configuration: fallback_language is not 'auto' GOOD
$g_bug_link_tag is not empty ("#";) GOOD
$g_bugnote_link_tag is not empty ("~";) GOOD
filters: dhtml_filters = ON requires use_javascript = ON GOOD

WARNING - register_globals - WARNING

You have register_globals enabled in PHP, which is considered a security risk. Since version 0.18, Mantis has no longer relied on register_globals being enabled. PHP versions later that 4.2.0 have this option disabled by default. For more information on the security issues associated with enabling register_globals, see this page. If you have no other PHP applications that rely on register_globals, you should add the line

register_globals = Off

to your php.ini file; if you do have other applications that require register_globals, you could consider disabling it for your Mantis installation by adding the line

php_value register_globals off

to a .htaccess file or a <Directory> or <Location> block in your apache configuration file. See the apache documentation if you require more information.


File Uploads

File uploads are ENABLED.

File uploads will be stored in the DATABASE.

The following size settings are in effect. Maximum upload size will be whichever of these is SMALLEST.

PHP variable 'upload_max_filesize': 16000000 bytes
PHP variable 'post_max_size': 16000000 bytes
Mantis variable 'max_file_size': 5000000 bytes

There may also be settings in your web server and database that prevent you from uploading files or limit the maximum file size. See the documentation for those packages if you need more information. Your current settings will most likely need adjustments to the PHP max_execution_time or memory_limit settings, the MySQL max_allowed_packet setting, or equivalent.

Testing Email

You can test the mail() function with this form. Just check the recipient and click submit. If the page takes a very long time to reappear or results in an error then you will need to investigate your php/mail server settings. Note that errors can also appear in the server error log. More help can be found at the PHP website.
Email Address: vivek@gloporeims.com

Which types of Crypt() does your installation support:

Standard DES: Yes
Extended DES: No
MD5: Yes
Blowfish: No
cedi@NO-SPAMsonata-software.NoSpam.com
12-Jun-2006 2:42
#1130
HI,
I have trouble installing Mantis on Red Hat 9

I'm able to get to the first page ( Checking Installation... - here both are green, ). After I enter the details in Installation Options section and I click on 'Install/Upgrade Database' the 'The page cannot be displayed' error is displayed.

My Environment:
PHP 4.2.2
Mysql 3.23.54
Apache 2.0.40

I've tested with Phpinfo() and it gives proper results.

Can someone let me know how I can solve this poblem?

Thanks,
Ed
andrew@atomice.plus.com
27-Jun-2006 4:24
#1149
It is possible to install Mantis even if your host only provides one database (as many cheap hosts do), though it's not highly recommended.
All you need to do is provide your user credentials when it asks for the admin, and then provide the name of the existing database as the database name (in phpMyAdmin it can be found by clicking the databases link on the front page).
I'm not sure about any potential problems this will cause, but I have been using it basically for the past few weeks and there seems to be no problems.
anony mouse
03-Aug-2006 13:29
#1211
To the person who asked above, installing Mantis on Mac OS X is a breeze. I'm going to discuss about the client version, not the server version. For reference, I am using a G5 Dual 2 Ghz machine running Mac OS X 10.4.7.

I'm going to assume you have PHP and a database (I used Postgresql) installed already. As mentioned, it is very easy to install those.

Apache is built into Mac OS X. All that is required is to turn on Personal Web Sharing in the Sharing System Preference. Do this now.

To install Mantis, download the version you want (I used 1.0.5) and drop the file onto Stuffit Expander. A folder is the result. Rename the folder to exactly "mantis". Move the "mantis" folder into /Library/WebServer/Documents from the Finder. You are now done!

To access it, open up Safari (or Firefox or whatever) and type in the following URL:
<http://localhost/mantis/>

So to install just type:
<http://localhost/mantis/admin/install.php>

If you have problems, just ask here.
dtrpeter@yahoo.com
09-Aug-2006 9:52
#1225
I need help on setting up mySQL database with php script using win2k server IIS 5.0, MySQL 4.1.21 (win32), and PHP5.1.4.

I have used the shell windows to create a database but unable to link up with login php script, kept saying bad connection.

I stored the files in http://127.0.0.1/php/login.php

Any help or tutorial sites are greatly appreciated!

Thanks in advance!!
turbolenceNOSPAM@NOSPAMgmail.com
05-Sep-2006 10:26
#1257
I installed mantis without problem on a linux server (hosted on aruba.it). But even if I did not get any error I was unable to make Mantis send any emails.

The problem was that my server titi.com refused to send email with address different from xxx@titi.com.

The solution of the problem was simply to add in the config_inc.php file the line

  $g_from_email ='info@titi.com';

so that the email sent by mantis had a domain name compatible with that one of my server.

I hope this can be usefull also to other people!
Regards, gwl
germanus_2206@hotmail.com
19-Nov-2006 16:40
#1296
hi every body i need your help
i wish to install mantis into a debian 3.1 . i have installed apache as a server web and mysql-server then when i do : apt-get install mantis
it can't do it telling me that no detected connection to database.

can you help mle plz
thx
dontm@il.me
20-Nov-2006 13:36
#1297
im trying to run the pre-installation steps.
i have created an administrator account with all the privilege via the
phpMyAdmin.

can i use the same user (administrator) account for both the
Username and Admin Username fields?

Username (for Database)
Password (for Database)
Admin Username (to create Database)
Admin Password (to create Database)

im getting an error when i ran the script!
BAD
Does administrative user have access to the database? ( Access denied for user 'administrator'@'localhost' (using password: YES) )

any idea???
children_of_the_seaAThotmailDOTcom
21-Nov-2006 7:57
#1300
I used the same for both user and admin, administrator/root i think it was as default...
pkebets@yahoo.com
04-Dec-2006 20:37
#1312
install.php does not execute in IE7 browser – How to install it?

Dear colleagues,

I’m trying to install Mantis 1.0.6 on:
WinXP Pro
IIS 5.1,
MySQL ver. 5.0.24a,
PHP 5.2.0
IE7

When I try to run http://localhost/mantis/admin/install.php in IE7 it prompts to Save or Open a file. When I click Open popup closes and noting displayed in IE window.
Is there any other way to install?

Any help will be highly appreciated
Thanks in advance. – P.K.
marveljojo
05-Dec-2006 7:32
#1313
im trying to run the pre-installation steps.
I have apache server running on port 5900, and I'm using easyphp...these are both running fine.

But what am I supposed to enter here :
Type of Database MySql (default)
Hostname (for Database Server) localhost:5900
Username (for Database) root
Password (for Database) ? (there is no pwd by default)
Database name (for Database) bugtracker
Admin Username (to create Database) ?
Admin Password (to create Database) ?

I just install easyphp, apache, change the port'apache server and nothing else ... :

I'm getting an error when i ran the script!
BAD
Does administrative user have access to the database? ( Lost connection to MySQL server during query )

any idea please ...???
valvarela@gmail.com
10-Jan-2007 9:21
#1345
It is advertised that Mantis supports PostGres but as I see running the install.php I get a BAD issue saying that 'database not supported by PHP. Check that it has been compiled in your server.'

Any comments on this ?
vini_naag2001@yahoo.com.sg
17-Jan-2007 1:18
#1353
Hi This will explain How to install in One step.
I took 6 hrs & searched over the net. At last i found some info which i am posting here.

You just install XAMPP for win32. This will install Apache2.2.3,MySQL5.0.2 & PHP. It will also configures. You no need to anything. except clicking on Next Next :)

After successfull installation. Copy downloaded mantis under %XAMPP_DIR%\htdocs folder.
Point your browser to http://localhost/mantis/admin/install.php
That's it.
The no default password for root user of installed MYSQL. Means empty.

Thanks
Naag
querpfeife@gmx.de
18-Jan-2007 4:53
#1357
Hello,

my host doesn't allow to create a database, thus I would like to just generate the tables as part of an existing db. Unfortunately there is no sql-file any more in the installation package. Is it possible to extract the sql statements from the php-files in order to start them from the mysql administration shell?

thanks a lot for any help

Claudia
luigi.belli@email.it
27-Jan-2007 21:20
#1370
I HAVE SUCCESFULLY INSTALLED on a Debian Linux box.

Follow instructions exactly as explained in the supplied file in "docs" directory. Its too easy!

If during install occurr a "lost connection during query" error, try switch "dbserver" config.php var to server name instead of its ip address.

be sure to provide correct MySQL client .

hope this heeelps

maxi_robainaNOSPAM@NOSPAMhotmail.com
17-Feb-2007 12:37
#1679
Hi,

I've a problem installing mantis 1.0.6 in a windows xp professional with apache 2.2.4, php 5.2.1 and MySQL 5.0.27

The http server and php work fine. Now, I run http://127.0.0.1/mantis/index.php (this rediect me to http://127.0.0.1/mantis/admin/install.php) and in the step 2 an error ocurr in "Checking PHP support for database type" with the message "BAD
database is not supported by PHP. Check that it has been compiled into your server".

I enable extensions in php.ini for mySQL

extension=php_mysql.dll
extension=php_mysqli.dll


What is the problem ?
Any idea ?


Thank in advance.
Add Notes About Notes
Last updated: Wed, 20 Aug 2008 - 4:55:54

Mantis @ SourceForge