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

Julien Jomier julien.jomier at kitware.com
Tue Nov 25 16:14:57 UTC 2008


Chris,

What version of CDash are you using?

Julien

Chris J. Garrett wrote:
> 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
> _______________________________________________
> Cdash mailing list
> Cdash at public.kitware.com
> http://public.kitware.com/cgi-bin/mailman/listinfo/cdash
> 



More information about the CDash mailing list