#529 Attempting to Create a New User

CVS
closed
nobody
None
1
2012-09-06
2005-08-02
marlar51
No

Error
Congratulations! You found a bug in phpLDAPadmin.

Error: Invalid argument supplied for foreach()
Level: E_WARNING
File: template_functions.php
Line: 336
Caller: create_form.php
PLA Version: 0.9.7-alpha2
PHP Version: 4.4.0
PHP SAPI: apache
Web server: Apache/1.3.33 (Unix) PHP/4.4.0

We had to use PHP4 because we could not get PHP5
past the error SelectValue LDAPServer unknown metihd
error

Discussion

  • Deon George
    Deon George
    2005-08-10

    Logged In: YES
    user_id=417635

    Looks like one of your XML files is bad (there isnt any
    proper syntax checking on the XML files yet) - Did you
    create/modify one?

    Can you tell me what you did, so that I can code for that...

    (PHP5 isnt tested yet, might start looking at that after
    this release)...

     
  • Deon George
    Deon George
    2005-08-24

    Logged In: YES
    user_id=417635

    Larry, another user has reported the same problem - and we
    tracked it down to the courierMailAccount.xml file - try
    removing that file and see if it gets you going.

    If its not courierMailAccount.xml - then remove them all and
    add them back 1 by 1 to see which one is the problem...

     
  • Deon George
    Deon George
    2005-08-27

    Logged In: YES
    user_id=417635

    I havent been able to recreate this bug, however, I've made
    some changes to the couriermail templates - can you retest
    and reopen this bug if its still a problem...

    The latest cvs tar is at
    http://phpldapadmin.sf.net/developers.php