[Tickets #8239] PDO adapter with incorrect parameters

bugs at horde.org bugs at horde.org
Mon May 4 16:34:34 UTC 2009


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/8239
------------------------------------------------------------------------------
  Ticket             | 8239
  Created By         | goncalo.queiros at portugalmail.net
  Summary            | PDO adapter with incorrect parameters
  Queue              | Horde Framework Packages
  Version            | Git master
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


goncalo.queiros at portugalmail.net (2009-05-04 12:34) wrote:

When using the git version of horde and kronolith with postgres when i  
click on "Calendar" to see the month view i get this message under the  
calendar:

Fatal error: Uncaught exception 'Horde_Db_Exception' with message  
'Could not instantiate PDO with DSN  
"pgsql:persistent=;port=5432;protocol=tcp;charset=utf-8;phptype=pgsql;dbname=horde;host=localhost". PDOException: SQLSTATE[08006] [7] invalid connection option "persistent"' in  
/home/xpto/www/horde-git/framework/Db/lib/Horde/Db/Adapter/Pdo/Abstract.php:45
Stack trace:
#0  
/home/xpto/www/horde-git/framework/Db/lib/Horde/Db/Adapter/Pdo/Pgsql.php(82):  
Horde_Db_Adapter_Pdo_Abstract->connect()
#1  
/home/xpto/www/horde-git/framework/Db/lib/Horde/Db/Adapter/Abstract.php(129):  
Horde_Db_Adapter_Pdo_Pgsql->connect()
#2 /home/xpto/www/horde-git/framework/Db/lib/Horde/Db/Adapter.php(40):  
Horde_Db_Adapter_Abstract->__construct(Array)
#3 /home/xpto/www/horde/horde-hatchery/kronolith/lib/Tagger.php(46):  
Horde_Db_Adapter::factory(Array) #4  
/home/xpto/www/horde/horde-hatchery/kronolith/lib/Kronolith.php(2261):  
Kronolith_Tagger->__construct()
#5  
/home/xpto/www/horde/horde-hatchery/kronolith/templates/panel.inc(27):  
Kronolith::getTagg in  
/home/xpto/www/horde-git/framework/Db/lib/Horde/Db/Adapter/Pdo/Abstract.php on  
line 45

If i comment the persistent parameter i get the same error but with  
another parameter. Here's the list of all parameters that give me error:
protocol
charset
phptype






More information about the bugs mailing list