M
methyl_blue
Guest
I was getting the following error:
after upgrading to the latest version of Horde and I thought I'd share how I fixed it in case it helps someone out.
The problem is that Plesk uses a custom version of Horde with an out of date version of the Pear DB package that isn't compatible with PHP 5.1.2.
The work around is to upgrade DB manually and then add it to the Plesk/Horde installation.
To do so, issue the following command via SSH as root (without the #, naturally):
Then copy or symlink the following file and directory:
to
and you should be right as rain.
It's probably worth backing up the old version of DB installed with Plesk's version of Horde though - just in case.
Code:
PHP Fatal error: Cannot use object of type DB_mysql as array in /usr/share/psa-horde/lib/Horde/DataTree.php on line 657
after upgrading to the latest version of Horde and I thought I'd share how I fixed it in case it helps someone out.
The problem is that Plesk uses a custom version of Horde with an out of date version of the Pear DB package that isn't compatible with PHP 5.1.2.
The work around is to upgrade DB manually and then add it to the Plesk/Horde installation.
To do so, issue the following command via SSH as root (without the #, naturally):
Code:
# pear upgrade DB
Then copy or symlink the following file and directory:
Code:
/usr/share/pear/DB.php
/usr/share/pear/DB
to
Code:
/usr/share/psa-horde/pear/DB.php
/usr/share/psa-horde/pear/DB
and you should be right as rain.
It's probably worth backing up the old version of DB installed with Plesk's version of Horde though - just in case.