manits fails when connecting to the database

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
doozer

manits fails when connecting to the database

Post by doozer »

Hi,

I just upgraded manits and I'm havng trouble connecting to the database again (I think). Every page just gives the error:

Fatal error: main(): Failed opening required '/usr/share/mantis/gui/core/adodb/adodb.inc.php' (include_path='.') in /usr/share/mantis/gui/core/database_api.php on line 26

If it helps I am using the latest Debian package of mantis which they have down as 0.19.2-4 (upgrading is not an option).

Many thanks for you help.

Graham
doozer

Fixed

Post by doozer »

Thanks to all those that had a look at this post. It is a Debian specific problem the solution to which is below. This problem will sort itself out fairly quicly though

Someone beat me to the bug report. The bug report indicates that this only affects unstable but it also affects testing.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=323914

Solution: A symlink is created in /usr/share/mantis/gui/core to ../../../adodb which has moved to ../../../php/adodb. Simply delete the existing symlink and add a new one e.g.

cd /usr/share/mantis/gui/core
rm adodb
ln -s ../../../php/adodb .
Post Reply