[horde] Call to undefined function: sethandlerobj()

Hammad hammad at brisksolutions.com
Tue Oct 18 09:34:12 PDT 2005

I upgraded php4, mysql on debian last night with lastest stable version of
horde, imp, turba ... etc.

php4: 4.3.10-16 from 4.3.10-15
php4-pear: 4.3.10-16  from 4.3.10-15
mysql: 4.3.24-10sarge from 4.3.24-10

I am now getting the following error everytime I goto horde main layout page and
'weather.com' and 'fortune' block doesn't show up. Everything was working fine
before the upgrade.

Fatal error: Call to undefined function: sethandlerobj() in
/usr/share/php/XML/Unserializer.php on line 852

Plz help

Here is the pear list command (in case):
xxxx:~# pear list
Installed packages:
Package          Version State
Archive_Tar      1.1     stable
Auth_SASL        1.0.1   stable
Cache            1.5.4   stable
Console_Getopt   1.2     stable
DB               1.6.2   stable
Date             1.4.3   stable
File             1.2.2   stable
HTTP             1.2.2   stable
HTTP_Request     1.2.4   stable
Mail             1.1.3   stable
Mail_Mime        1.3.1   stable
Net_DIME         0.3     beta
Net_SMTP         1.2.6   stable
Net_Socket       1.0.1   stable
Net_URL          1.0.14  stable
PEAR             1.3.2   stable
SOAP             0.9.1   beta
Services_Weather 1.3.2   stable
XML_Parser       1.0.1   stable
XML_RPC          1.1.0   stable
XML_Serializer   0.18.0  beta
XML_Util         1.1.1   stable

Here is my test.php

Horde Version

    * Horde: 3.0.5

Horde Applications

    * Horde: 3.0.5
    * Imp: H3 (4.0.3) (run Imp tests)
    * Ingo: H3 (1.0.1) (run Ingo tests)
    * Kronolith: H3 (2.0.3)
    * Mnemo: H3 (2.0.1)
    * Nag: H3 (2.0.2)
    * Turba: H3 (2.0.3) (run Turba tests)

PHP Version

    * View phpinfo() screen
    * View loaded extensions
    * PHP Version: 4.3.10-16
    * PHP Major Version: 4.3
    * PHP Minor Version: 10
    * PHP Subminor Version: 16
    * PHP Version Classification: release
    * You are running a supported version of PHP.

PHP Module Capabilities

    * Ctype Support: Yes
    * DOM XML Support: Yes
    * FTP Support: Yes
    * GD Support: Yes
    * Gettext Support: Yes
    * Iconv Support: Yes
    * IMAP Support: Yes
    * LDAP Support: No
    * Mbstring Support: Yes
    * Mcrypt Support: No
    * MIME Magic Support (fileinfo): No
      The fileinfo PECL module or the mime_magic PHP extension (see below) will
most likely provide faster MIME Magic lookups than the built-in Horde PHP magic
code. See horde/docs/INSTALL for information on how to install PECL/PHP
    * MIME Magic Support (mime_magic): Yes
    * MySQL Support: Yes
    * OpenSSL Support: Yes
    * PostgreSQL Support: No
    * Session Support: Yes
    * XML Support: Yes
    * Zlib Support: Yes

Miscellaneous PHP Settings

    * magic_quotes_runtime disabled: Yes
    * memory_limit disabled: No
      If PHP's internal memory limit is turned on and if not set high enough
Horde will not be able to handle large data items (e.g. large mail attachments
in IMP). If possible, you should disable the PHP memory limit by recompiling
PHP without the "--enable-memory-limit" flag. If this is not possible, then you
should set the value of memory_limit in php.ini to a sufficiently high value
(Current value of memory_limit: 30M).
    * safe_mode disabled: Yes
    * session.use_trans_sid disabled: Yes
    * session.auto_start disabled: Yes

File Uploads

    * file_uploads enabled: Yes
    * upload_max_filesize: 20M
    * post_max_size: 8M

Required Horde Configuration Files

    * config/conf.php: Yes
    * config/mime_drivers.php: Yes
    * config/nls.php: Yes
    * config/prefs.php: Yes
    * config/registry.php: Yes

PHP Sessions

    * Session counter: 1
    * To unregister the session: click here


    * PEAR Search Path (PHP's include_path): 
    * PEAR: Yes
    * Recent PEAR: Yes
    * Mail: Yes
    * Mail_Mime: Yes
    * Log: Yes
    * DB: Yes
    * Net_Socket: Yes
    * Date: Yes
    * Auth_SASL: Yes
    * HTTP_Request: Yes
    * File: Yes
    * Net_SMTP: Yes
    * Services_Weather: Yes

Hammad Dasti

More information about the horde mailing list