6.0.0-beta1
7/6/25

[#8152] Horde_Db_Adapter cannot work with mysqli
Summary Horde_Db_Adapter cannot work with mysqli
Queue Horde Framework Packages
Queue Version Git master
Type Bug
State Resolved
Priority 1. Low
Owners chuck (at) horde (dot) org
Requester duck (at) obala (dot) net
Created 04/06/2009 (5935 days ago)
Due
Updated 04/14/2009 (5927 days ago)
Assigned 04/06/2009 (5935 days ago)
Resolved 04/14/2009 (5927 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
04/14/2009 08:56:52 PM Chuck Hagenbuch Comment #4
Assigned to Chuck Hagenbuch
State ⇒ Resolved
Reply to this comment
I've fixed that error.
04/07/2009 07:08:58 AM Duck Comment #3 Reply to this comment
Wouldn't it be better not to hardcode the pdo driver, since we *do*
have a Mysqli adapter?
But does not work for me.



( ! ) Fatal error: Call to undefined method 
Horde_Db_Adapter_Mysqli_Result::fetch() in 
/usr/share/php5/Horde/Rdo/List.php on line 161

Call Stack

#        Time        Memory        Function        Location

1        0,0007        57536        {main}( )        ../list.php:0

2        0,5716        3324612        Horde_Rdo_List->rewind( )        ../List.php:0

3        0,5716        3324796        Horde_Rdo_List->next( )        ../List.php:119
04/06/2009 10:25:44 PM Chuck Hagenbuch Comment #2
State ⇒ Feedback
Reply to this comment
Wouldn't it be better not to hardcode the pdo driver, since we *do* 
have a Mysqli adapter?
04/06/2009 09:00:45 AM Duck Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Horde_Db_Adapter cannot work with mysqli
Queue ⇒ Horde Framework Packages
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
Before RDO was moved to Horde_Db we use to convert mysql improved 
configuration to normal mysql driver as PDO has only this 
implementation. We should do the same directly in in Horde_DB.



Stack trace:



Horde_Db_Exception: Adapter class "Horde_Db_Adapter_Pdo_Mysqli" not 
found in /usr/share/php5/Horde/Db/Adapter.php on line 37

Call Stack

#        Time        Memory        Function        Location

1        0,0008        74156        {main}( )        ../index.php:0

2        0,8285        2825868        Minerva::getTypes( )        ../index.php:35

3        0,8681        2859840        Minerva_TypeMapper::getTypes( )        ../Minerva.php:65

4        0,8683        2860648        Minerva::getStatuses( )        ../Type.php:91

5        0,8693        2898904        Minerva_StatusMapper::getStatuses( )        ../Minerva.php:98

6        0,9222        3023360        Horde_Rdo_Query->__construct( )        ../Status.php:81

7        0,9222        3023360        Horde_Rdo_Query->setMapper( )        ../Query.php:96

8        0,9222        3023948        Horde_Rdo_Mapper->__get( )        ../Mapper.php:0

9        0,9223        3024264        Horde_Rdo_Mapper->__get( )        ../Mapper.php:0

10        0,9223        3024620        Horde_Rdo_Mapper->__get( )        ../Mapper.php:0

11        0,9223        3024620        Minerva_StatusMapper->getAdapter( )        ../Mapper.php:122

12        0,9466        3035892        Horde_Db_Adapter::factory( )        ../Status.php:38


Saved Queries