Support » Fixing WordPress » [Plugin: Active Directory Employee Listing] Active Directory Settings can't be stored?

Viewing 15 replies - 1 through 15 (of 31 total)
  • Sorry I took so long to get back to you. I forgot that I didn’t yet have notifications set up for topics posted about this plugin.

    I assume you are running version 0.2.1a of the plugin, right? I will try to look into this, but I have not yet been able to reproduce the issue.

    Just to be sure; if you happen to be running this on a multisite setup, but you only have it activated on a single site, please make sure the “Ignore this group of options” checkbox is not checked in each group of options. That checkbox is not supposed to show up unless the plugin is network active, but there’s a bug in the current version that causes it to show anyway.

    EDIT – Actually, I just tested on a different server and I think I’ve been able to reproduce the issue. I’ll try to find a solution over the next day or two. Thanks for reporting it.

    I’m also having the same issue. Any word yet? I really enjoy the features of this plug-in. Where is the shortcode listed?

    Sorry for taking so long to get back to you guys.

    There is a new Development Version available that should fix this issue; and also adds a lot of new functionality. If you wouldn’t mind testing it out to let me know if you’re still seeing bugs/issues in the plugin, that would be awesome. Thanks.

    Edit – Also, the shortcode is [ad-employee-list]. I’m a little embarrassed that I forgot to document that anywhere. I’ll add that to the readme in the next version; and will also add some documentation to the options page(s). I’m also hoping to get a Visual Editor button set up for the plugin (so you don’t have to manually type in the shortcode and set its options). Thanks.

    Right away after copying and activating the plugin I get a 500 server error:

    HTTP Error 500.0 – Internal Server Error
    The page cannot be displayed because an internal server error has occurred. Detailed Error InformationModule FastCgiModule
    Notification ExecuteRequestHandler
    Handler PHP_via_FastCGI
    Error Code 0x00000000
    Requested URL http://mysite.local:80/wp-admin/options-general.php?page=ad_employee_list_options_pg
    Physical Path D:\Intranet\wordpress\wp-admin\options-general.php
    Logon Method Anonymous
    Logon User Anonymous

    I haven’t done any troubleshooting yet. But this is what I ended up with out of the box. If it’s helpful, I’m running IIS7 on Windows Server 2008R2, MySQL5.5, PHP 5.3.8, and WordPress v3.2.1.

    Michael: I had the same problem. If you fill in all the fields in the AD section, I believe it will save. If you only fill a few in, it wont.

    Thanks for the report, berlina. I don’t have any Windows servers on which I can test the plugin, so I’ll have to do some digging to see if I can figure out what might be happening.

    Are you using this on a normal WordPress installation, or in a multisite install? Thanks.

    It’s just the normal install. I’ll let you know if I figure out anything. It’s possible it could be something with my IIS configuration, but I’m not sure.

    Berlina – I have just uploaded a new development version of the plugin. Do you mind downloading it in an hour or so (it sometimes takes a while for the development version to get updated) and giving it a try to see if it makes any difference at all? Thanks.

    Curtiss,

    We’ve gotten a little further!! I can get all of my setting to save and the page shows up. Here are the warnings php shows. Could it possibly be my configuration?

    Warning: in_array() expects parameter 2 to be array, string given in D:\Intranet\wordpress\wp-content\plugins\active-directory-employee-list\classes\class-active-directory-employee-list-output.php on line 69

    Warning: in_array() expects parameter 2 to be array, string given in D:\Intranet\wordpress\wp-content\plugins\active-directory-employee-list\classes\class-active-directory-employee-list-output.php on line 358

    Warning: array_unshift() expects parameter 1 to be array, string given in D:\Intranet\wordpress\wp-content\plugins\active-directory-employee-list\classes\class-active-directory-employee-list-output.php on line 359

    Warning: in_array() expects parameter 2 to be array, string given in D:\Intranet\wordpress\wp-content\plugins\active-directory-employee-list\classes\class-active-directory-employee-list-output.php on line 360

    Warning: array_push() expects parameter 1 to be array, string given in D:\Intranet\wordpress\wp-content\plugins\active-directory-employee-list\classes\class-active-directory-employee-list-output.php on line 361

    Warning: ldap_search() expects parameter 4 to be array, string given in D:\Intranet\wordpress\wp-content\plugins\active-directory-employee-list\inc\adLDAP-extended.php on line 191

    Warning: ldap_get_entries() expects parameter 2 to be resource, null given in D:\Intranet\wordpress\wp-content\plugins\active-directory-employee-list\inc\adLDAP-extended.php on line 195

    Warning: array_merge() [function.array-merge]: Argument #2 is not an array in D:\Intranet\wordpress\wp-content\plugins\active-directory-employee-list\classes\class-active-directory-employee-list-output.php on line 377

    Warning: Invalid argument supplied for foreach() in D:\Intranet\wordpress\wp-content\plugins\active-directory-employee-list\classes\class-active-directory-employee-list-output.php on line 467
    Search employees:

    No employees could be found matching the criteria specified

    Now we’re getting somewhere.

    It looks like the fields_to_show parameter is being interpreted as a string instead of an array, for some reason. I’ll have to run some tests and see if I can figure out why it’s doing that in your install.

    I’ve just uploaded a new development version. In an hour or two, can you please try downloading it (it sometimes takes a little while for the repository to update the development version) and see if that makes any difference?

    Thanks again.

    Well, no error messages now. When I search for anything it just takes me back to my home page in WP after I hit the search button. I’ve been using Chrome, but also tried in IE and Firefox without luck.

    Are you using the shortcode or the widget? In the current version (and the current development version), the search results will only display on the page that has the shortcode in it (unless you’re using the widget, in which case it should display the results in the widget area).

    Just the [ad-employee-list] shortcode in a blank page

    If it helps I ran a packet capture with Wireshark and didn’t see any LDAP traffic generated on the box. Let me know if there is anything you want me to try!! 🙂

Viewing 15 replies - 1 through 15 (of 31 total)
  • The topic ‘[Plugin: Active Directory Employee Listing] Active Directory Settings can't be stored?’ is closed to new replies.