[Cdash] Postgres install getting Fatal error: Call to a member function query() on a non-object : Solved

Chris J. Garrett chris.garrett at calgaryscientific.com
Tue Nov 25 16:11:47 UTC 2008


Just wanted to post this in the hopes it can help someone tripping up on the same error: 

Fatal error: Call to a member function query() on a non-object in /CSI/server/cdash/cdash/pdo.php on line 207

I had to install php-dev and pdo packages. On ubuntu this looks like: 

sudo apt-get install php-pear
sudo pecl install pdo
sudo apt-get install php5-dev
sudo pecl install pdo
sudo pecl install pdo_pgsql

I also had to change the database type in config.php to: 

$CDASH_DB_TYPE = 'pgsql';

HTH
Chris



More information about the CDash mailing list