PHP LDAP Admin Errors

I'm trying to login to my phpldapadmin installation but I'm getting these errors:

E_STRICT: Declaration of AJAXTree::draw_dn() should be compatible with that of PLMTree::draw_dn()

and

error (a:5:{i:0;s:97:"E_STRICT: Declaration of AJAXTree::...<TRUNCATED>)

I'm uninstalling it and reinstalling it... that of course didn't help. This did:

which points to this diff for /usr/share/phpldapadmin/lib/AJAXTree.php:

16c16
<       protected function draw_dn($dn,$level=0,$first_child=true,$last_child=true) {
---
>       protected function draw_dn($dn,$level,$first_child=true,$last_child=true) {

By Albert on April 6, 2010 11:18 AM

Categories:

3 Comments

Albert, just delete this: "=0"

and restart slapd.

hope this help you, good luck!!

Hi Turk182 - thanks for commenting! I will give it a try and let you know if it works.

Oh yes - I had actually already done that. Worked like a charm!