Re: Error with Ldap.php
Jan Schneider <[email protected]>
| Newsgroups | gmane.comp.horde.turba |
|---|---|
| Message-ID | <[email protected]> |
Zitat von Julien Savoie <[email protected]>: > Jan Schneider <jan <at> horde.org> writes: > >> >> >> Zitat von Hanns Mattes <hanns <at> hannsmattes.de>: >> >> > Hei, >> > >> > Jan Schneider <jan <at> horde.org> schrieb: >> > >> >> Zitat von Hanns Mattes <hanns <at> hannsmattes.de>: >> >> >> >>> Hi, >> >>> >> >>> I've got a lot of errors in horde.log: >> >>> >> >>> 2013-06-01T12:49:00+02:00 WARN: HORDE [turba] PHP ERROR: Invalid >> >>> argument supplied for foreach() [pid 28002 on line 495 of >> >>> [...] >> >>> >> >>> As far as I can see turba is working fine (and therefore I can't say, >> >>> when it started to show the warning). The error occurs, when I list >> >>> contacts. Is it safe to ignore the warning or is there anything, I >> >>> should investigate? >> >> >> >> It shouldn't happen anyway. Please put a: >> >> Horde::debug($criteria); >> >> on line 161 of that file and report back the results. >> > >> > No results. There's no additional output. >> > >> > Regards Hanns >> >> http://wiki.horde.org/Doc/Dev/DebugH4 > > > What I'm getting when I debug that variable. > > Backtrace: > 1. Turba_Driver->search() /usr/share/horde5/turba/search.php:132 > 2. Turba_Driver_Ldap->_search() /usr/share/horde5/turba/lib/Driver.php:604 > 3. Turba_Driver_Ldap->_buildSearchQuery() > /usr/share/horde5/turba/lib/Driver/Ldap.php:165 > 4. Turba_Driver_Ldap->_buildSearchQuery() > /usr/share/horde5/turba/lib/Driver/Ldap.php:498 > 5. Horde::debug() /usr/share/horde5/turba/lib/Driver/Ldap.php:494 > > 2013-06-03T22:17:12+00:00 DEBUG: Variable information: > array(1) { > [0]=> > array(5) { > ["field"]=> > string(2) "cn" > ["op"]=> > string(4) "LIKE" > ["test"]=> > string(7) "cynthia" > ["begin"]=> > bool(false) > ["approximate"]=> > bool(false) > } > } > > Backtrace: > 1. Turba_Driver->search() /usr/share/horde5/turba/search.php:132 > 2. Turba_Driver_Ldap->_search() /usr/share/horde5/turba/lib/Driver.php:604 > 3. Turba_Driver_Ldap->_buildSearchQuery() > /usr/share/horde5/turba/lib/Driver/Ldap.php:165 > 4. Horde::debug() /usr/share/horde5/turba/lib/Driver/Ldap.php:494 > > 2013-06-03T22:17:12+00:00 DEBUG: Variable information: > array(5) { > ["field"]=> > string(2) "cn" > ["op"]=> > string(4) "LIKE" > ["test"]=> > string(7) "cynthia" > ["begin"]=> > bool(false) > ["approximate"]=> > bool(false) > } > > Once again: > 2013-06-03T22:17:12+00:00 WARN: HORDE [turba] PHP ERROR: Invalid argument > supplied for foreach() [pid 16742 on line 506 of > "/usr/share/horde5/turba/lib/Driver/Ldap.php"] http://bugs.horde.org/ticket/12297 -- Jan Schneider The Horde Project http://www.horde.org/ -- turba mailing list Frequently Asked Questions: http://wiki.horde.org/FAQ To unsubscribe, mail: [email protected]