6.0.0-beta1
8/10/25

[#3529] Fatal error: Cannot use object of type DB_mysql as array
Summary Fatal error: Cannot use object of type DB_mysql as array
Queue Horde.org Servers
Type Bug
State Not A Bug
Priority 2. Medium
Owners
Requester damien (at) haisoft (dot) net
Created 02/24/2006 (7107 days ago)
Due
Updated 02/25/2006 (7106 days ago)
Assigned
Resolved 02/24/2006 (7107 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
02/25/2006 12:11:31 PM info (at) peter (dot) st Comment #4 Reply to this comment
Resolved. Use the same include_path (in the same order) in php5.ini as 
in php4.ini. This works for me. FYI
02/25/2006 12:00:09 PM info (at) peter (dot) st Comment #3 Reply to this comment
Hi there,



I have the same problem here, but without Plesk. When I'm running 
horde with PHP4.3.10 -> no problems. With PHP5.1.2 -> "PHP Fatal 
error:  Cannot use object of type DB_mysql as array in 
/export/var.www/htdocs/lib/Horde/DataTree.php on line 590" and "PHP 
Notice:  Object of class DB_result could not be converted to int in 
/usr/share/pear/DB/common.php on line 1581".



My DB_mysql is 1.7.6 and all other pear packages are up2date. My PHPs 
are built for AMD64 is this information is nessasary.


02/24/2006 05:20:26 PM Jan Schneider Comment #2
State ⇒ Not A Bug
Reply to this comment
This has nothing to do with Horde Project Systems, and we don't 
support Plesk installs.
02/24/2006 04:50:45 PM damien (at) haisoft (dot) net Comment #1
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Fatal error: Cannot use object of type DB_mysql as array
Queue ⇒ Horde.org Servers
Reply to this comment
Hi there,

I have this error that make me crazy :p



Fatal error: Cannot use object of type DB_mysql as array in 
/usr/share/psa-horde/lib/Horde/DataTree.php on line 590



I take a look at this tickets :

http://bugs.horde.org/ticket/?id=3049



and I don't know how he solved this.

User resolved by upgrading DB package?



The server run under php5.1.1 (we also tried with 5.1.2) and we have 
this error when we go on the agenda, notes or address book and 
sometimes while reading mails...



On another server with the same configuration its works well !!!



Could you help ?

Thank you so much.

Saved Queries