WordPress.org

Forums

WPMU Ldap Authentication
WSOD's and some undefined variable/index errors (2 posts)

  1. jerrac
    Member
    Posted 1 year ago #

    Brand new WPMU install, this is the first plugin I've activated.

    When I try to save the Connection Settings form with the "Test Connection" option enabled, it sends me to a blank page that only shows the WP side and top bars.

    It does save the connection information to the database, so I tried logging in with an LDAP user and ended up at a completely white screen.

    I have WP's debug turned on, and I have php logging to syslog. Nothing is logged for the white screens.

    On the General Settings form php logs this to syslog:

    May 14 15:01:20 ws-prod-blogs-01 apache2: PHP Notice:  Undefined variable: tSSOChecked in /var/www/ws-prod-blogs/docroot/wp-content/plugins/wpmuldap/lib/wpmu_ldap_admin.functions.php on line 239
    May 14 15:01:20 ws-prod-blogs-01 apache2: PHP Notice:  Undefined variable: fAddUser in /var/www/ws-prod-blogs/docroot/wp-content/plugins/wpmuldap/lib/wpmu_ldap_admin.functions.php on line 287
    May 14 15:01:20 ws-prod-blogs-01 apache2: PHP Notice:  Undefined variable: tBulkAdd in /var/www/ws-prod-blogs/docroot/wp-content/plugins/wpmuldap/lib/wpmu_ldap_admin.functions.php on line 295
    May 14 15:01:20 ws-prod-blogs-01 apache2: PHP Notice:  Undefined variable: tLocalEmail in /var/www/ws-prod-blogs/docroot/wp-content/plugins/wpmuldap/lib/wpmu_ldap_admin.functions.php on line 343
    May 14 15:01:20 ws-prod-blogs-01 apache2: PHP Notice:  Undefined variable: tLDAPEmail in /var/www/ws-prod-blogs/docroot/wp-content/plugins/wpmuldap/lib/wpmu_ldap_admin.functions.php on line 357

    When I save the Attribute Mapping form, this is logged:
    May 14 15:02:27 ws-prod-blogs-01 apache2: PHP Notice: Undefined index: ldapTestConnection in /var/www/ws-prod-blogs/docroot/wp-content/plugins/wpmuldap/lib/wpmu_ldap_admin.functions.php on line 73

    http://wordpress.org/extend/plugins/wpmuldap/

  2. fotan
    Member
    Posted 1 year ago #

    I recently took this little project over for Dave (original poster). The original problem seems to have evaporated all on its own, however, the plugin uses a number of deprecated WP functions as well as a load of undefined index errors if your server is set up to show errors for them. If anyone would like a "fixed" copy of the plugin (wpmu-ldap_4.0.2), as well as a little about what I saw and fixed, it can be found here...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic