Installation - Database driver not available (MYSQL)

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
Reactor5
Posts: 1
Joined: 04 Jan 2010, 07:13

Installation - Database driver not available (MYSQL)

Post by Reactor5 »

Hey, I'm trying install mantis now. The installation errors at the following:

Code: Select all

Fatal error: Call to a member function ExecuteSQLArray() on a non-object in /f5/bugonauts/public/admin/install.php on line 709
Installing Database
Create database if it does not exist	GOOD
Checking Database Server Version 
Running mysql version 5.0.77	GOOD
Attempting to connect to database as user	GOOD
Database driver '/nfsn/apps/php/lib/php/adodb/datadict/datadict-mysql.inc.php' not available
SYSTEM WARNING: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'Array' was given

Schema CreateTableSQL ( mantis_config_table )
Any suggestions on how to fix this error?

Mantis version 1.1.8
atrol
Site Admin
Posts: 8553
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Installation - Database driver not available (MYSQL)

Post by atrol »

which PHP version do you use?
Please use Search before posting and read the Manual
calieigh
Posts: 3
Joined: 13 Jan 2010, 03:28

Re: Installation - Database driver not available (MYSQL)

Post by calieigh »

Hi Reactor.
Right now I am using PHP5 version.
I used this as a lampp package. so I don't need to install any other drivers for that.
Have a good day.
pleochroic
Posts: 2
Joined: 26 Jan 2010, 23:59

Re: Installation - Database driver not available (MYSQL)

Post by pleochroic »

i just tried to install mantis on my web host, and have exactly the same problem.

mantis: 1.1.8
mysql: 5.0.84
php: 5.2.12.

help?
atrol
Site Admin
Posts: 8553
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Installation - Database driver not available (MYSQL)

Post by atrol »

Database driver '/nfsn/apps/php/lib/php/adodb/datadict/datadict-mysql.inc.php' not available
seems that PHP is not looking for the driver which is delivered with MantisBT in directory <your MantisBT installation>/core/adodb/datadict
and the other driver is not compatible with this.
Please use Search before posting and read the Manual
pleochroic
Posts: 2
Joined: 26 Jan 2010, 23:59

Re: Installation - Database driver not available (MYSQL)

Post by pleochroic »

*ack*. i have no power over what the php installation does, since that's my web host's. i'm not a php programmer either, though i can probably find my way around the code. is there some work-around i could add to mantis?
Post Reply