[ phpldapadmin-Bugs-2022966 ] Errors when adding new attribute

View: New views
1 Messages — Rating Filter:   Alert me  

[ phpldapadmin-Bugs-2022966 ] Errors when adding new attribute

by SourceForge.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Bugs item #2022966, was opened at 2008-07-20 18:02
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498546&aid=2022966&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: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Jamie Thompson (mr_jrt)
Assigned to: Nobody/Anonymous (nobody)
Summary: Errors when adding new attribute

Initial Comment:
I was attempting to add an attribute to an entry when I got this:

Error
E_WARNING: array_search() [function.array-search]: Wrong datatype for second argument

error You found a non-fatal phpLDAPadmin bug!
Error: Array to string conversion (E_NOTICE)
File: add_attr_form.php line 27, caller cmd.php
Versions: PLA: 1.1.0.5, PHP: 5.2.6-2, SAPI: apache2handler
Web server: Apache/2.2.9 (Debian) DAV/2 SVN/1.5.0 PHP/5.2.6-2 with Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g

error You found a non-fatal phpLDAPadmin bug!
Error: Array to string conversion (E_NOTICE)
File: add_attr_form.php line 28, caller cmd.php
Versions: PLA: 1.1.0.5, PHP: 5.2.6-2, SAPI: apache2handler
Web server: Apache/2.2.9 (Debian) DAV/2 SVN/1.5.0 PHP/5.2.6-2 with Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g

error You found a non-fatal phpLDAPadmin bug!
Error: Array to string conversion (E_NOTICE)
File: add_attr_form.php line 31, caller cmd.php
Versions: PLA: 1.1.0.5, PHP: 5.2.6-2, SAPI: apache2handler
Web server: Apache/2.2.9 (Debian) DAV/2 SVN/1.5.0 PHP/5.2.6-2 with Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g

File /usr/share/phpldapadmin/lib/functions.php (154)
  Function error (a:4:{i:0;s:121:"E_WARNING: array_search() [<a href='function.array-search'>function.array-search</a>]: Wrong datatype for second argument";i:1;s:5:"error";i:2;b:1;i:3;b:1;})
File ()
  Function pla_error_handler (a:5:{i:0;i:2;i:1;s:110:"array_search() [<a href='function.array-search'>function.array-search</a>]: Wrong datatype for second argument";i:2;s:48:"/usr/share/phpldapadmin/htdocs/add_attr_form.php" ****...<omitted large dump>...****
File /usr/share/phpldapadmin/htdocs/add_attr_form.php (35)
  Function array_search (a:2:{i:0;s:16:"extensibleObject";i:1;s:1:"A";})
File /usr/share/phpldapadmin/htdocs/cmd.php (39)
  Function include (a:1:{i:0;s:48:"/usr/share/phpldapadmin/htdocs/add_attr_form.php";})

I get this on every entry when I try to add an attribute.

I've attached a sample entry from my tree.


----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498546&aid=2022966&group_id=61828

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
______________________________________
phpLDAPadmin development mailing list.
To unsbuscribe: https://lists.sourceforge.net/lists/listinfo/phpldapadmin-devel
http://phpldapadmin.sourceforge.net/
LightInTheBox - Buy quality products at wholesale price