Hello!
 
I have recently updated to the latest version of phpLDAPAdmin ... I was
using a much older version on my server, but the hard disk died.
 
Upon installation, I was able to get the configuration working, and can
login, browse, and search the tree.  But when I go to view the details of an
object by clicking on it, I am getting an error page with a huge dump.
 
Can anyone give me some clues on how to debug this?  The beginning of the
error dump is:
 
E_WARNING: Invalid argument supplied for foreach()

        
Backtrace

        PHP Version     5.1.6

        PLA Version     $Name: RELEASE-1.1.0-alpha3 $

 PHP SAPIapache2handler
        Web Server      Apache/2.2.4 (Fedora)

        
        File
/var/www/svc.80211.net/phpldapadmin/lib/template_functions.php (300)

Function        pla_error_handler


Array

(

    [0] => 2

    [1] => Invalid argument supplied for foreach()

    [2] => /var/www/svc.80211.net/phpldapadmin/lib/template_functions.php

    [3] => 300

    [4] => Array

        (

            [template] => Array

                (

                    [objectclass] => Array

                        (

                            [0] => inetOrgPerson

                            [1] => posixAccount

                        )



                    [title] => Samba3 Account

                    [icon] => images/user.png

                    [description] => New Samba3 Account

                    [askcontainer] => 1

                    [rdn] => cn

                    [visible] => 1

                    [attribute] => Array

                        (

                            [givenName] => Array

                                (

                                    [display] => First name

                                    [icon] => images/uid.png

                                    [onchange] => autoFill:cn,%givenName%
%sn%

                                    [order] => 1

                                    [page] => 1

                                )



                            [sn] => Array

                                (

                                    [display] => Last name

                                    [onchange] => Array

                                        (

                                            [0] => autoFill:cn,%givenName%
%sn%

                                            [1] =>
autoFill:uid,%gidNumber|0-0/T%-%givenName|0-1/l%%sn/l%

                                            [2] =>
autoFill:homeDirectory,/home/users/%gidNumber|0-0/T%/%uid|3-%

                                        )



                                    [order] => 2

                                    [page] => 1

                                )



                            [cn] => Array

                                (

                                    [display] => Common Name

                                    [order] => 3

                                    [page] => 1

                                    [spacer] => 1

                                )
What is strange is that I am sometimes getting part of the object info,
followed by this error.  The LDAP server is an older Novell NetWare LDAP
server ... and it was working perfectly with an older version of
phpLDAPAdmin.
 
I can post the entire error dump if that is helpful ...
 
Scott C. Lemon
 
 
 
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
phpldapadmin-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/phpldapadmin-users

Reply via email to