Notes |
|
(0014221)
|
Julien Jomier
|
2008-11-28 10:00
|
|
Could you describe the problem more precisely? |
|
|
(0014222)
|
Rolf Eike Beer
|
2008-11-28 10:48
|
|
If you click on the name of the build host in test overview for example you get a PDO exception because a non-object is used as base for query(). That non-object is probably "true". |
|
|
(0014224)
|
Julien Jomier
|
2008-11-28 11:21
|
|
I cannot reproduce the error. Could you tell me which PHP page is causing trouble? Are you able to access other pages? |
|
|
(0014227)
|
Rolf Eike Beer
|
2008-11-28 12:19
|
|
viewSite.php
Error is:
PDOException Object ( [message:protected] => SQLSTATE[08006] [7] FATAL: the database system is starting up [string:private] => [code:protected] => 0 [file:protected] => SERVERROOT/htdocs/cdash/pdo.php [line:protected] => 260 [trace:private] => Array ( [0] => Array ( [file] => SERVERROOT/htdocs/cdash/pdo.php [line] => 260 [function] => __construct [class] => PDO [type] => -> [args] => Array ( [0] => pgsql:host=localhost;dbname=cdash [1] => cdash [2] => 5%hBV1p9pD ) ) [1] => Array ( [file] => SERVERROOT/htdocs/cdash/login.php [line] => 132 [function] => pdo_select_db [args] => Array ( [0] => cdash [1] => 1 ) ) [2] => Array ( [file] => SERVERROOT/htdocs/cdash/login.php [line] => 189 [function] => auth [args] => Array ( [0] => ) ) [3] => Array ( [file] => SERVERROOT/htdocs/cdash/viewSite.php [line] => 21 [args] => Array ( [0] => SERVERROOT/htdocs/cdash/login.php ) [function] => include ) ) [errorInfo] => )
Fatal error: Call to a member function query() on a non-object in SERVERROOT/htdocs/cdash/pdo.php on line 207
As the subject says: you need a database that is not MySQL (in my case PostgreSQL 8.2.11) |
|
|
(0014228)
|
Julien Jomier
|
2008-11-28 13:06
|
|
Should be all better now, otherwise let me know. Thanks for the report! |
|