[turba] String::length in Turba

Andrew Morgan morgan at orst.edu
Wed Aug 6 14:30:49 PDT 2003


I'm running Horde v2.2.3, IMP v3.2.1, Turba v1.2, and Kronolith v1.1.  I'm
getting the following error message in syslog when someone tries to browse
their contacts in Turba:

Aug  6 14:23:31 webmail1 [18278]: PHP Fatal error:  Undefined class name
'string' in /var/www/horde/turba/lib/Turba.php on line 168

This appears to be caused by this chunk of code from turba/lib/Turba.php:

        if ($format == 'first_last' &&
            is_int(strpos($name, ',')) &&
            String::length($name) > String::length($lastname)) {
            $name = preg_replace("|$lastname,\s*|", '', $name);
            $name = $name . ' ' . $lastname;
        }

I can't figure out where the String class is supposed to be coming from,
but apparently I don't have it.  Is there a Pear package I don't have?

	Andy



More information about the turba mailing list