[ZendTo] Re: ldap drop-off bug
Jules
Jules at Zend.To
Mon Nov 19 09:29:33 GMT 2012
On 19/11/2012 04:01, Brendon Baumgartner wrote:
> Thanks for the javascript login fix. That worked.
>
> I just tried dropping off a file but failed. I can login (using LDAP),
> but I then click on "Drop-off" and then I click "next". I then get an
> "HTTP Error 500". If I look in the apache logs, it appears there are
> variables that need to be set? I set one in the preferences file and
> the error went away but It seems these should be set using some of the
> existing values in the preferences files? I'm not sure why I'm getting
> this and no one else. Maybe they need to be set but are undocumented?
>
You should switch off the reporting of E_NOTICE in your php.ini
'error_reporting' setting. The other one I have fixed in
NSSADAuthenticator.php. You need to find line 249 which should say
if ( $value['count'] >= 1 ) {
and change it to say
if ( array_key_exists('count', $value) && $value['count'] >= 1 ) {
But the fact that is happening at all implies something's wrong with
your AD settings in preferences.php (as you appear to be using AD and
not straight LDAP, as otherwise this file wouldn't be used at all).
> Gory errors are here: http://pastebin.com/XMALj6Ju
Thanks for those, most useful.
Jules
--
Julian Field MEng MBCS CITP CEng
www.Zend.To
Twitter: @JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
'Split apart, reunited, or adjusting for new conditions on the
ground, a family is a double-edged sword. They're the best of times,
the worst of times, your keys to the kingdom and the skeletons in
your closet. If only we didn't have to eat dinner with them.'
-- Mary, "In Plain Sight"
More information about the ZendTo
mailing list