Problem with Mantis 1.2.15 installation on PostgreSQL 9.2

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
bkrajmalnik
Posts: 2
Joined: 25 Oct 2013, 22:20

Problem with Mantis 1.2.15 installation on PostgreSQL 9.2

Post by bkrajmalnik »

I installed Mantis 1.2.15 on a system running Postgres 9.2.
When I run /admin/check.php?showall=1 everything is coming back as good, but when I attempt to access the system, I get the following:

APPLICATION ERROR #400
Database connection failed. Error received from database was #0: PHP Support for database is not enabled.

Please use the "Back" button in your web browser to return to the previous page. There you can correct whatever problems were identified in this error or select another action. You can also click an option from the menu bar to go directly to a new section.

If I check the database, there is an account created for the administrator, so obviously database access is fine and worked during the creation of the database.
Web server logs show no errors. Php error logs show no errors. Postgres logs show no errors.

Anybody experiencing the same problem?
atrol
Site Admin
Posts: 8536
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Problem with Mantis 1.2.15 installation on PostgreSQL 9.

Post by atrol »

Did you check database settings in file config_inc.php?
Are you able to connect to the database with another client using the credentials from config_inc.php?
Please use Search before posting and read the Manual
bkrajmalnik
Posts: 2
Joined: 25 Oct 2013, 22:20

Re: Problem with Mantis 1.2.15 installation on PostgreSQL 9.

Post by bkrajmalnik »

Issue has to been resolved. I had set the database type in the config file to postgresql (which is one of the valid types in ADODB), but after checking again noticed it should have been pgsql. After correcting that I was able to get the connection to work.
Post Reply