1

Topic: Bug but not iRedSystem

Ubuntu 9.10 smile (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.

2

Re: Bug but not iRedSystem

Which version of phpLDAPadmin do you use?

3

Re: Bug but not iRedSystem

phpldapadmin 1.1.0.7 (in batch installation of iRedmail 0.5.1)

I found the solve in phpldapadmin bugs reports too.

4

Re: Bug but not iRedSystem

lmthong wrote:

phpldapadmin 1.1.0.7 (in batch installation of iRedmail 0.5.1)

I found the solve in phpldapadmin bugs reports too.

can you give the link of phpldapadmin bugs reports ?

5

Re: Bug but not iRedSystem

http://www.mail-archive.com/debian-bugs … 09929.html

http://qa.ubuntu.com/reports/launchpad- … tches.html (446669)

Some of them. But maybe it is a bug from phpldapadmin-debian-package.

6

Re: Bug but not iRedSystem

https://bugs.launchpad.net/ubuntu/+sour … bug/446669

ok, thank you ,I have find it.