Topic: Bug but not iRedSystem
Ubuntu 9.10 (a pure OS)
IRedAdmin 0.5.1 with LDAP Backend
After install, get error with phpldapadmin
File /usr/share/apache2/phpldapadmin/lib/functions.php (161)
Function error (a:5:{i:0;s:97:"E_STRICT: Declaration of AJAXTree::...<TRUNCATED>)
File /usr/share/apache2/phpldapadmin/lib/AJAXTree.php (9)
Function pla_error_handler (a:5:{i:0;i:2048;i:1;s:87:"Declaration of AJAXTree:...<TRUNCATED>)
File /usr/share/apache2/phpldapadmin/lib/functions.php (58)
Function require_once (a:1:{i:0;s:40:"/usr/share/apache2/phpldapadmin/lib/AJAXTre...<TRUNCATED>)
File /usr/share/apache2/phpldapadmin/lib/Tree.php(36) : eval()'d code (1)
Function __autoload (a:1:{i:0;s:8:"AJAXTree";})
File /usr/share/apache2/phpldapadmin/lib/Tree.php (36)
Function eval
File /usr/share/apache2/phpldapadmin/lib/page.php (207)
Function getInstance (a:1:{i:0;i:0;})
File /usr/share/apache2/phpldapadmin/lib/page.php (359)
Function tree (a:0:{})
File /usr/share/apache2/phpldapadmin/htdocs/cmd.php (50)
Function display (a:0:{})
File /usr/share/apache2/phpldapadmin/htdocs/index.php (118)
Function include (a:1:{i:0;s:38:"/usr/share/apache2/phpldapadmin/htdocs/cmd....<TRUNCATED>)
Fix:
Change $level=0 to $level on draw_dn() function declaration
/usr/share/apache2/phpldapadmin/lib/AJAXTree.php (line 16)
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.