Hi, If neither sqlite nor mysql are installed - but postgresql is - the setup of ownCloud is blocked. Attached is a patch to solve this.
Daniel
>From 1ce67fe411d25823c2aab64b1baddddfb70eb803 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20K=C3=B6b?= <[email protected]> Date: Fri, 30 Dec 2011 20:38:56 +0100 Subject: [PATCH] Include PostgreSQL when checking for available database drivers. --- lib/util.php | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/util.php b/lib/util.php index 0f79948..9cf78da 100644 --- a/lib/util.php +++ b/lib/util.php @@ -175,8 +175,8 @@ class OC_Util { $errors=array(); //check for database drivers - if(!is_callable('sqlite_open') and !is_callable('mysql_connect')){ - $errors[]=array('error'=>'No database drivers (sqlite or mysql) installed.<br/>','hint'=>'');//TODO: sane hint + if(!is_callable('sqlite_open') and !is_callable('mysql_connect') and !is_callable('pg_connect')){ + $errors[]=array('error'=>'No database drivers (sqlite, mysql, or postgresql) installed.<br/>','hint'=>'');//TODO: sane hint } $CONFIG_DBTYPE = OC_Config::getValue( "dbtype", "sqlite" ); $CONFIG_DBNAME = OC_Config::getValue( "dbname", "owncloud" ); -- 1.7.4.1
_______________________________________________ Owncloud mailing list [email protected] https://mail.kde.org/mailman/listinfo/owncloud
