Installation on Windows has somehow got screwed up

Ask community to help.

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
davids
TestLink user
Posts: 1
Joined: Mon Feb 01, 2010 11:12 am

Installation on Windows has somehow got screwed up

Post by davids »

For some reason I can no longer start Testlink - I am getting
-1 - Database connection failed

I am using PostgreSQL 8.4 and I can connect to the DB quite happlily using pgAdmin.

Here is some pertinent stuff from the log file:

01:03:24][took 0.733256 secs]
[>>][4b4fbedc55d25930655544][DEFAULT][/testlink/login.php][10/Jan/15 01:03:24]
[10/Jan/15 01:03:24][WARNING][<nosession>][GUI]
E_STRICT
Declaration of ADODB_postgres64::MetaIndexes() should be compatible with that of ADOConnection::MetaIndexes() - in C:\Program Files\Apache2.2.14\htdocs\testlink\third_party\adodb\drivers\adodb-postgres64.inc.php - Line 860
[10/Jan/15 01:03:24][ERROR][<nosession>][GUI]
Connect to database fails!!! -1 - Database connection failed
[<<][4b4fbedc55d25930655544][DEFAULT][/testlink/login.php][10/Jan/15 01:03:24][10/Jan/15 01:03:24][took 0.326778 secs]
[>>][4b4fbedca624a391403512][DEFAULT][/testlink/login.php][10/Jan/15 01:03:24]
[10/Jan/15 01:03:24][WARNING][<nosession>][GUI]
E_NOTICE
Undefined index: link_to_op - in C:\Program Files\Apache2.2.14\htdocs\testlink\gui\templates_c\%%4A^4A2^4A2CD998%%workAreaSimple.tpl.php - Line 25
[10/Jan/15 01:03:24][ERROR][<nosession>][GUI]
Connection fail page shown.
[<<][4b4fbedca624a391403512][DEFAULT][/testlink/login.php][10/Jan/15 01:03:24][10/Jan/15 01:03:24][took 0.193978 secs]
[>>][4b4fbee299245546073282][DEFAULT][/testlink/login.php]

Wondering how I can get Testlink back on track.

David
:cry:
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Post by fman »

you can fix this changing definition of metaindexes functions
in this way:
OLD -> function MetaIndexes ($table, $primary = FALSE)
NEW -> function MetaIndexes ($table, $primary = FALSE, $owner = false)
Post Reply