| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0008191 | CDash | public | 2008-11-28 09:54 | 2009-03-28 17:10 | |||||
| Reporter | Rolf Eike Beer | ||||||||
| Assigned To | Julien Jomier | ||||||||
| Priority | normal | Severity | major | Reproducibility | always | ||||
| Status | closed | Resolution | fixed | ||||||
| Platform | OS | OS Version | |||||||
| Product Version | |||||||||
| Target Version | Fixed in Version | 1.4 | |||||||
| Summary | 0008191: pdo_query() does not work if it is not MySQL | ||||||||
| Description | I'm using trunk and found this: pdo_query() does get_link_identifier(...)->query(...); get_link_identifier() does return pdo_connect(...); pdo_connect() does return true; | ||||||||
| Tags | No tags attached. | ||||||||
| Attached Files | |||||||||
| Relationships | |
| Relationships |
| Notes | |
|
(0014221) Julien Jomier (manager) 2008-11-28 10:00 |
Could you describe the problem more precisely? |
|
(0014222) Rolf Eike Beer (reporter) 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 (manager) 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 (reporter) 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 (manager) 2008-11-28 13:06 |
Should be all better now, otherwise let me know. Thanks for the report! |
| Notes |
| Issue History | |||
| Date Modified | Username | Field | Change |
| 2008-11-28 09:54 | Rolf Eike Beer | New Issue | |
| 2008-11-28 10:00 | Julien Jomier | Note Added: 0014221 | |
| 2008-11-28 10:48 | Rolf Eike Beer | Note Added: 0014222 | |
| 2008-11-28 11:21 | Julien Jomier | Status | new => assigned |
| 2008-11-28 11:21 | Julien Jomier | Assigned To | => Julien Jomier |
| 2008-11-28 11:21 | Julien Jomier | Note Added: 0014224 | |
| 2008-11-28 12:19 | Rolf Eike Beer | Note Added: 0014227 | |
| 2008-11-28 13:06 | Julien Jomier | Note Added: 0014228 | |
| 2008-11-28 13:06 | Julien Jomier | Status | assigned => resolved |
| 2008-11-28 13:06 | Julien Jomier | Fixed in Version | => 1.3 |
| 2008-11-28 13:06 | Julien Jomier | Resolution | open => fixed |
| 2009-03-28 17:10 | Julien Jomier | Status | resolved => closed |
| 2009-03-28 17:10 | Julien Jomier | Fixed in Version | 1.3 => 1.4 |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |