[Tickets #11436] PDOException when using SQL-Sessionhandler with Postgresql
bugs at horde.org
bugs at horde.org
Wed Sep 19 12:35:56 UTC 2012
BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE
E-MAIL-ADRESSE WERDEN NICHT GELESEN.
Ticket-URL: http://bugs.horde.org/ticket/11436
------------------------------------------------------------------------------
Ticket | 11436
Erstellt Von | piper at hrz.uni-marburg.de
Zusammenfassung | PDOException when using SQL-Sessionhandler with
| Postgresql
Warteschlange | Horde Base
Version | 4.0.15
Typ | Bug
Status | Unconfirmed
Priorität | 3. High
Milestone |
Patch | 1
Zuständige |
------------------------------------------------------------------------------
piper at hrz.uni-marburg.de (2012-09-19 12:35) hat geschrieben:
When using "conf ['sessionhandler']['type'] = 'Sql';" with a
Postgresql Database, I am getting these errors:
EMERG: HORDE Could not instantiate PDO with DSN
"pgsql:driverconfig=horde;umask=63;host=db.hrz.uni-marburg.de;dbname=horde".
PDOException: SQLSTATE[08006] [7] invalid connection option
"driverconfig" [pid 26846 on line 46 of
"/var/www/horde/pear/php/Horde/Db/Adapter/Pdo/Base.php"]
EMERG: HORDE Could not instantiate PDO with DSN
"pgsql:umask=63;host=db.hrz.uni-marburg.de;dbname=horde".
PDOException: SQLSTATE[08006] [7] invalid connection option "umask"
[pid 13889 on line 46 of
"/var/www/horde/pear/php/Horde/Db/Adapter/Pdo/Base.php"]
Clearing the options 'driverconfig' and 'umask' in
pear/php/Horde/Db/Adapter/Pdo/Base.php solves this issue, see attached
patch.
A predecessor to this bug is #8239.
piper at hrz.uni-marburg.de (2012-09-19 12:35) hat hochgeladen:
Horde_Db_Adapter_Pdo_Base.php.patch
http://bugs.horde.org/h/services/download/?module=whups&actionID=download_file&file=Horde_Db_Adapter_Pdo_Base.php.patch&ticket=11436&fn=%2FHorde_Db_Adapter_Pdo_Base.php.patch
More information about the bugs
mailing list