6.0.0-beta1
7/7/25

[#8239] PDO adapter with incorrect parameters
Summary PDO adapter with incorrect parameters
Queue Horde Framework Packages
Queue Version Git master
Type Bug
State Resolved
Priority 1. Low
Owners chuck (at) horde (dot) org
Requester goncalo.queiros (at) portugalmail (dot) net
Created 05/04/2009 (5908 days ago)
Due
Updated 05/26/2009 (5886 days ago)
Assigned 05/26/2009 (5886 days ago)
Resolved 05/26/2009 (5886 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
05/26/2009 11:34:53 AM Jan Schneider State ⇒ Resolved
 
05/26/2009 10:53:31 AM goncalo (dot) queiros (at) portugalmail (dot) net Comment #3 Reply to this comment
Yep, it seems to be working now ;)

Thanks
05/26/2009 03:23:20 AM Chuck Hagenbuch Comment #2
State ⇒ Feedback
Reply to this comment
05/12/2009 02:01:29 PM Jan Schneider State ⇒ Assigned
Assigned to Chuck Hagenbuch
 
05/04/2009 04:34:34 PM goncalo (dot) queiros (at) portugalmail (dot) net Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ PDO adapter with incorrect parameters
Queue ⇒ Horde Framework Packages
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
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

Saved Queries