Title: jeeverett's Replies | WordPress.org

---

# jeeverett

  [  ](https://wordpress.org/support/users/jeeverett/)

 *   [Profile](https://wordpress.org/support/users/jeeverett/)
 *   [Topics Started](https://wordpress.org/support/users/jeeverett/topics/)
 *   [Replies Created](https://wordpress.org/support/users/jeeverett/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/jeeverett/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/jeeverett/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/jeeverett/engagements/)
 *   [Favorites](https://wordpress.org/support/users/jeeverett/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/users/jeeverett/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/jeeverett/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Wordfence Security - Firewall, Malware Scan, and Login Security] Live Scan Error](https://wordpress.org/support/topic/live-scan-error/)
 *  Thread Starter [jeeverett](https://wordpress.org/support/users/jeeverett/)
 * (@jeeverett)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/live-scan-error/#post-8455194)
 * Huh, running a scan with debugging mode enabled doesn’t appear to have added 
   much useful information. The only error is still:
 * ..
    [Nov 18 14:47:52] Calling fork() from wordfenceHash with maxExecTime: 15 [
   Nov 18 14:47:52] Entered fork() [Nov 18 14:47:52] Error writing value chunk for
   wfsd_engine (MySQL error: [0] )
 * Does that help at all? 🙂
 * I’m also looking into upgrading the PHP version. Thanks again!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Wordfence Security - Firewall, Malware Scan, and Login Security] Live Scan Error](https://wordpress.org/support/topic/live-scan-error/)
 *  Thread Starter [jeeverett](https://wordpress.org/support/users/jeeverett/)
 * (@jeeverett)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/live-scan-error/#post-8449709)
 * Hi,
 * Yes, it appears the error also shows up periodically in the “scan detailed activity”
   box. For example:
 * …
    [Nov 15 13:26:29] Analyzed 3100 files containing 34.93 MB of data so far [
   Nov 15 13:26:29] Analyzed 3200 files containing 36 MB of data so far [Nov 15 
   13:26:31] Error writing value chunk for wfsd_engine (MySQL error: [0] ) [Nov 
   15 23:52:56] Scheduled Wordfence scan starting at Tuesday 15th of November 2016
   11:52:56 PM …
 * Current PHP version is 5.3.26.
 * It sounds like I should try enabling debugging mode then? Thanks for the help!
   🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Join My Multisite] [Plugin: Join My Multisite] Site Admin vs Network Admin?](https://wordpress.org/support/topic/plugin-join-my-multisite-site-admin-vs-network-admin/)
 *  Thread Starter [jeeverett](https://wordpress.org/support/users/jeeverett/)
 * (@jeeverett)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-join-my-multisite-site-admin-vs-network-admin/#post-3120175)
 * Wonderful! Thank you very much for the quick changes! The plugin looks like it
   will be really handy for our academic multisite install. 🙂
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[ColorWay] [Theme: ColorWay] White screen when active theme](https://wordpress.org/support/topic/theme-colorway-white-screen-when-active-theme/)
 *  [jeeverett](https://wordpress.org/support/users/jeeverett/)
 * (@jeeverett)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/theme-colorway-white-screen-when-active-theme/#post-2991280)
 * I am having the same problem, although I’m running WordPress 3.4.0. The ColorWay
   theme (only) appears fine on the site view, but trying to switch to the dashboard
   or any settings screen just pulls up a white screen. Switching to a different
   theme by hand, the (specific) blog works fine. If it’s important, we’re running
   a Multisite install, with about 200 blogs and ~30 other themes (none of the others
   are having any issues).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PJW Mime Config] [Plugin: PJW Mime Config] Not working with 3.3.1](https://wordpress.org/support/topic/plugin-pjw-mime-config-not-working-with-331/)
 *  [jeeverett](https://wordpress.org/support/users/jeeverett/)
 * (@jeeverett)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-pjw-mime-config-not-working-with-331/#post-2529116)
 * One other item to note.. it looks like other plugins/themes that add new MIME
   types are having problems since 3.3.1, too. The forums for the theme Minimatica
   have a post about it:
 * [http://www.onedesigns.com/support/topic/possible-bug-with-mime-types-in-3-3-1](http://www.onedesigns.com/support/topic/possible-bug-with-mime-types-in-3-3-1)
 * Perhaps the formatting on the array that WordPress uses to store MIME types has
   changed?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PJW Mime Config] [Plugin: PJW Mime Config] Not working with 3.3.1](https://wordpress.org/support/topic/plugin-pjw-mime-config-not-working-with-331/)
 *  [jeeverett](https://wordpress.org/support/users/jeeverett/)
 * (@jeeverett)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-pjw-mime-config-not-working-with-331/#post-2529113)
 * I also have found that as of 3.3.1 this plugin is non-functional. 🙁 The plugin
   worked perfectly previous to upgrading to 3.3.1, but now MIME types added via
   the plugin do not override the ‘file type does not meet security guidelines’ 
   error. 🙁 Any possibility of getting this fixed? 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Active Directory Integration] Single config for multisite](https://wordpress.org/support/topic/plugin-active-directory-integration-single-config-for-multisite/)
 *  [jeeverett](https://wordpress.org/support/users/jeeverett/)
 * (@jeeverett)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-active-directory-integration-single-config-for-multisite/page/2/#post-1675767)
 * Oh.. you’ll also need to add the network_timeout section from the protected function
   _save_wpmu_options($arrPost). Otherwise, the database won’t store the setting
   for AD Network Timeout, and it will always reset to zero (which the plugin can’t
   handle).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Active Directory Integration] Single config for multisite](https://wordpress.org/support/topic/plugin-active-directory-integration-single-config-for-multisite/)
 *  [jeeverett](https://wordpress.org/support/users/jeeverett/)
 * (@jeeverett)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-active-directory-integration-single-config-for-multisite/page/2/#post-1675766)
 * [@mrjarbenne](https://wordpress.org/support/users/mrjarbenne/),
 * Hmm.. that sounds like you have a PHP bug somewhere. If PHP decides that it can’t
   process the code of a file, it still sends a blank file. It’s usually a parentheses
   out of place or a missing semicolon. 😛
 * The method you propose will probably work, with one modification that I can think
   of.. the $wpmuBaseTablePrefix variable. That one doesn’t get assigned in Curtiss’
   modification, and it’s deprecated with no automatic redirect to a new variable.
   Just look through the code above for where to switch that with $wpdb->base_prefix;
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Active Directory Integration] Single config for multisite](https://wordpress.org/support/topic/plugin-active-directory-integration-single-config-for-multisite/)
 *  [jeeverett](https://wordpress.org/support/users/jeeverett/)
 * (@jeeverett)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-active-directory-integration-single-config-for-multisite/page/2/#post-1675764)
 * Just a quick addition to the previous post about modifying the Active Directory
   Integration plugin for multisite use.. there is one other critical change that
   must be made along with the above:
 * Look for this section in the ad-integration.php file:
 * if (function_exists(‘register_uninstall_hook’)) {
    register_uninstall_hook(__FILE__,‘
   ADIntegrationPlugin::uninstall’); }
 * Comment that out. I don’t understand why a plugin installed in the mu-plugins
   folder should ever be receiving an uninstall hook, but with that code enabled
   every few hours the plugin will lose all of its settings, locking everyone except
   the ID 1 user out. I’ve also on one occasion had the plugin somehow change the
   ID 1 (administrator) account password, something it should not be able to do.
   If anyone happens to have this happen, you don’t have to delete the whole plugin
   in order to get back in.. just comment out the following three lines in your 
   ad-integration.php:
 * add_action(‘lost_password’, array(&$this, ‘disable_function’));
    add_action(‘
   retrieve_password’, array(&$this, ‘disable_function’)); add_action(‘password_reset’,
   array(&$this, ‘disable_function’));
 * That will let you request a new password for your administrator account.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Active Directory Integration] Single config for multisite](https://wordpress.org/support/topic/plugin-active-directory-integration-single-config-for-multisite/)
 *  [jeeverett](https://wordpress.org/support/users/jeeverett/)
 * (@jeeverett)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-active-directory-integration-single-config-for-multisite/page/2/#post-1675763)
 * This thread has been quiet for a while, but I thought I’d post some tweaks to
   the AD Integration plugin that get multisite working (semi) properly. Taking 
   a cue from Curtiss, I went in and actually changed every call in the plugin that
   was looking for a deprecated variable or using a deprecated function, as well
   as fixed a few bugs with the coding of the plugin itself. For anyone trying to
   use this plugin with a multisite WordPress install, here are the necessary changes:
 * **In file /active-directory-integration/ad-integration.php:**
 * **In public function _construct():**
    - Remove globals $wpmu_version and $wpmuBaseTablePrefix – both are deprecated.
    - Remove first check for if IS_WPMU defined entirely.
    - Replace the add_action(‘admin_menu’… line with the following statement:
       if(
      function_exists(‘is_network_admin’)) { add_action(‘network_admin_menu’, array(&
      $this, ‘add_options_page’)); } else { add_action(‘admin_menu’, array(&$this,‘
      add_options_page’)); }
 * **In public function initialize_options():**
    - Replace if (IS_WPMU) { with if (is_multisite()) {
    - Replace if (is_site_admin()) { with if (is_super_admin()) {
 * **In public function add_options_page():**
    - Replace if (IS_WPMU && is_site_admin()) { with if (is_multisite() && is_super_admin()){
    - Replace the add_submenu_page(… line with add_submenu_page(‘settings.php’, 
      __(‘Active Directory Integration’), __(‘Active Directory Integration’), ‘manage_options’,
      __FILE__, array(&$this, ‘_display_options_page’));
    - Replace the final if (!IS_WPMU) { with if (!is_multisite()) {
 * **In public function authenticate($arg1 = NULL, $arg2 = NULL, $arg3 = NULL):**
    - Remove global $wpmu_version and the check for IS_WPMU directly below it.
    - Replace all instances of $version with $wp_version.
 * **In public function sanitize_syncback_global_user_pwd($pwd): **
    - Replace if (IS_WPMU) { with if (is_multisite()) {
 * **In public function sanitize_bulkimport_user_pwd($pwd):**
    - Replace if (IS_WPMU) { with if (is_multisite()) {
 * **In public static function global_db_prefix():**
    - Remove globals $wpmu_version and $wpmuBaseTablePrefix
    - Replace if ($wpmu_version != ”) { with if (is_multisite()) {
    - Replace return $wpmuBaseTablePrefix; with return $wpdb->base_prefix;
 * **In public static function activate()**
    - Remove global $wpmu_version
    - Replace all four instances of if (isset($wpmu_version) && $wpmu_version !=”){
      with if (is_multisite()) {
 * **In public static function deactivate():**
    - Replace if (isset($wpmu_version) && $wpmu_version != ”) { with if (is_multisite()){
 * **In protected function _save_wpmu_options($arrPost):**
    - Replace if (IS_WPMU) { with if (is_multisite()) {
    - Below the two lines mentioning ‘AD_Integration_use_tls’, add the following
      two lines: if ( !empty( $arrPost[‘AD_Integration_network_timeout’] ) )
       update_site_option(‘
      AD_Integration_network_timeout’, (int)$arrPost[‘AD_Integration_network_timeout’]);
 * **In protected function _generate_authcode():**
    - Replace if (IS_WPMU) { with if (is_multisite()) {
 * **In file /active-directory-integration/admin.php:**
 * **In php tag:**
    - Replace if (IS_WPMU) { with if (is_multisite()) {
    - Replace if (!is_site_admin()) { with if (!is_super_admin()) {
    - Replace if (IS_WPMU && $_POST[‘action’] == ‘update’) { with if (is_multisite()&&
      $_POST[‘action’] == ‘update’) {
    - Replace the final instance of if (IS_WPMU) { with if (is_multisite()) {
 * Further down in the same file, look for many instances of (!IS_WPMU)echo, replacing
   each with (!is_multisite())echo.
 * **Some important notes:**
    1. The plugin folder itself needs to be placed in your mu-plugins directory within
       wp-content. If this folder does not currently exist, create it. Within the active-
       directory-integration folder, look for a folder named ‘mu’. Inside is a little
       file labeled ‘ad-integration-loader.php’. This file needs to be moved to the
       mu-plugins directory.
    2. The above code tweaks move the settings menu from the Site Admin settings menu
       over to the Network Admin settings menu. Unlike other tweaks mentioned here,
       the various settings tabs will display properly, however the ‘Test Tool’ button
       will be gone, and that feature will be at the bottom of all of the tab pages.
    3. You’ll need to re-add the AD settings after making the above changes.. the new
       data is stored in an entirely different database table.
    4. When you save settings, it will jump you back to the first settings page, and
       you won’t get any notice that the settings were saved. They should save properly,
       however.
    5. Two features of the plugin are entirely broken in multisite: the Test Tool and
       the Bulk User Import. These are not due to the tweaks made above, but seem to
       be unfinished parts of the plugin coding itself. There are a few places in the.
       php files related to those two features that contain deprecated calls as well
       that can be fixed, however the features will not work regardless. I’d love to
       see those fixed, however..
    6. Finally, while the above changes worked for my Multi-subdirectory WordPress 
       install, I don’t guarantee it will work for anyone else. I’m not a WordPress
       programmer, although I know HTML and PHP reasonably well. I’d love to see this
       plugin get an official update, too!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Active Directory Integration] [Plugin: Active Directory Integration] Error checking for 'error creating new user'?](https://wordpress.org/support/topic/plugin-active-directory-integration-error-checking-for-error-creating-new-user/)
 *  Thread Starter [jeeverett](https://wordpress.org/support/users/jeeverett/)
 * (@jeeverett)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-active-directory-integration-error-checking-for-error-creating-new-user/#post-2240417)
 * Never mind.. I figured it out.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Active Directory Integration] [Plugin: Active Directory Integration] Error checking for 'error creating new user'?](https://wordpress.org/support/topic/plugin-active-directory-integration-error-checking-for-error-creating-new-user/)
 *  Thread Starter [jeeverett](https://wordpress.org/support/users/jeeverett/)
 * (@jeeverett)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-active-directory-integration-error-checking-for-error-creating-new-user/#post-2240276)
 * Doh.. I also forgot to mention we’re using WordPress 3.2.1.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Diamond MultiSite Widgets] [Plugin: Diamond MultiSite Widgets] Directory errors from Diamond MS Widgets](https://wordpress.org/support/topic/plugin-diamond-multisite-widgets-directory-errors-from-diamond-ms-widgets/)
 *  Thread Starter [jeeverett](https://wordpress.org/support/users/jeeverett/)
 * (@jeeverett)
 * [15 years ago](https://wordpress.org/support/topic/plugin-diamond-multisite-widgets-directory-errors-from-diamond-ms-widgets/#post-2080617)
 * Ok, a quick update on this one.. I was able to fix the issues by changing the
   write permissions for this directory:
 * /wordpress/wp-content/plugins/diamond-multisite-widgets/
 * Simply setting the cache timer to zero did not work. Thanks again for a great
   plugin!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Diamond MultiSite Widgets] [Plugin: Diamond MultiSite Widgets] Directory errors from Diamond MS Widgets](https://wordpress.org/support/topic/plugin-diamond-multisite-widgets-directory-errors-from-diamond-ms-widgets/)
 *  Thread Starter [jeeverett](https://wordpress.org/support/users/jeeverett/)
 * (@jeeverett)
 * [15 years ago](https://wordpress.org/support/topic/plugin-diamond-multisite-widgets-directory-errors-from-diamond-ms-widgets/#post-2080468)
 * Hi Daniel,
 * I can get the webserver settings changed, no problem.. which specific directories/
   files does Diamond Multisite Widgets needs write access to?
 * I already tried changing the permissions on this specific file:
 * /wordpress/wp-content/plugins/diamond-multisite-widgets/diamond-cache.php
 * It didn’t fix the problem. Does the whole diamond-multisite-widgets folder need
   to be given write access? Thanks for working on this!
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Multi-subdirectory sitemap?](https://wordpress.org/support/topic/multi-subdomain-sitemap/)
 *  Thread Starter [jeeverett](https://wordpress.org/support/users/jeeverett/)
 * (@jeeverett)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/multi-subdomain-sitemap/#post-1689121)
 * Excellent, I think diamond-multisite-widgets just might do the trick! Thank you
   for the help!

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/users/jeeverett/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/jeeverett/replies/page/2/?output_format=md)