[turba] Unable to load the definition of Turba_Driver_.

Matt Richard matt.richard@fandm.edu
Thu, 19 Sep 2002 12:43:54 -0400


Hi,

After logging in to Horde, I open Turba and do an LDAP search.  After 
viewing the results, I click on "Search" at the top of the screen to 
start another search.  I immediately get  the following error on the 
top of the page:

Warning: Undefined property: name in 
/var/www/html/horde/turba/lib/List.php on line 37

If I click on "Search" again, I get a page with only the following information:

Warning: Undefined index: in /var/www/html/horde/turba/lib/List.php on line 204
A fatal error has occurred:
Unable to load the definition of Turba_Driver_.
[line 44 of /var/www/html/horde/turba/lib/Driver.php]
Details have been logged for the administrator.

And in horde.log, it logs:

[emergency] [turba] Unable to load the definition of Turba_Driver_. 
[on line 44 of "/var/www/html/horde/turba/lib/Driver.php"]

Every time I return to Turba, I get the last error until I logout of 
Horde and login again.  The errors that I get are 100% reproducible.

I have modified the LDAP search slightly, since we use 
telephonenumber instead of homePhone and workPhone.  I have backed 
out these changes, but the error still shows up, so I don't think my 
changes are causing the errors.

[root]# diff  attributes.php.dist attributes.php
43a44,47
>  $attributes['phone'] = array(
>      'type' => 'phone',
>      'desc' => _("Phone Number")
>  );


My sources.php contains this entry:

$cfgSources['fandm'] = array(
     'title' => 'F&M People',
     'type' => 'ldap',
     'params' => array(
         'server' => 'ldap.fandm.edu',
         'port' => 389,
         'root' => 'cn=users,dc=fandm,dc=edu',
         'dn' => array('cn'),
         'objectclass' => 'person',
         'filter' => ''
     ),
     'map' => array(
         '__key' => 'dn',
         'name' => 'cn',
         'email' => 'mail',
         'title' => 'title',
         'phone' => 'telephonenumber'
     ),
     'search' => array(
         'name',
         'email',
         'title',
         'phone'
     ),
     'strict' => array(
         'dn'
     ),
     'public' => true,
     'readonly' => true,
     'export' => true
);

Does anyone have any ideas or patches I could try?

Thanks!

Matt

-- 
Matt Richard
Access and Security Coordinator
Franklin & Marshall College
matt.richard@fandm.edu
(717) 291-4157