[phpldapadmin] [ phpldapadmin-Bugs-2820854 ] ldap_first_attribute error with120rc1
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.comp.ldap.davedap |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #2820854, was opened at 2009-07-13 11:38
Message generated for change (Tracker Item Submitted) made by gstalnaker
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498546&aid=2820854&group_id=61828
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: 1.2.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Guy Stalnaker (gstalnaker)
Assigned to: Nobody/Anonymous (nobody)
Summary: ldap_first_attribute error with120rc1
Initial Comment:
Using Linux 2.6.28-13-generic #45-Ubuntu SMP Tue Jun 30 19:49:51 UTC 2009 i686
XAMPP for Linux 1.7.2-beta2
Apache/2.2.11 (Unix)
PHP/5.3.0
PLA version 1.2.0 rc1.
LDAP version? No idea. Is there an ldapsearch command that can tell me?
After PLA login I get an ldap_first_attribute() error:
Warning: ldap_first_attribute() expects parameter 3 to be long, array given in /opt/lampp/htdocs/phpldapadmin/lib/ds_ldap.php on line 401. PHP backtrace is (as shown on the loaded page):
File /opt/lampp/htdocs/phpldapadmin/lib/functions.php (190)
Function error (a:5:{i:0;s:77:"E_WARNING: ldap_first_attribute() e...)
File /opt/lampp/htdocs/phpldapadmin/lib/functions.php ()
Function app_error_handler (a:5:{i:0;i:2;i:1;s:66:"ldap_first_attribute() expe...)
File /opt/lampp/htdocs/phpldapadmin/lib/ds_ldap.php (401)
Function ldap_first_attribute (a:3:{i:0;i:0;i:1;i:0;i:2;a:23:{s:11:"objectClass";...)
File /opt/lampp/htdocs/phpldapadmin/lib/HTMLTree.php (247)
Function query (a:2:{i:0;a:4:{s:4:"base";s:0:"";s:5:"scope";s:4:"b...)
File /opt/lampp/htdocs/phpldapadmin/lib/HTMLTree.php (167)
Function get_menu_item (a:1:{i:0;s:7:"monitor";})
File /opt/lampp/htdocs/phpldapadmin/lib/HTMLTree.php (47)
Function draw_menu (a:0:{})
File /opt/lampp/htdocs/phpldapadmin/lib/page.php (232)
Function draw (a:0:{})
File /opt/lampp/htdocs/phpldapadmin/lib/page.php (410)
Function tree (a:0:{})
File /opt/lampp/htdocs/phpldapadmin/htdocs/cmd.php (80)
Function display (a:0:{})
There are no 'steps to reproduce' -- I simply put PLA in my XAMPP htdocs dir, configured it for my ldap server, and logged in. Error is on first screen after logging in.
Interestingly enough, a patch has been suggested then removed that seems relevant to this exact issue (the third param for ldap_first_attribute()): #2806663
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498546&aid=2820854&group_id=61828
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
______________________________________
phpLDAPadmin development mailing list.
To unsbuscribe: https://lists.sourceforge.net/lists/listinfo/phpldapadmin-devel
http://phpldapadmin.sourceforge.net/