Title: scald's Replies | WordPress.org

---

# scald

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

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

 Search replies:

## Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Cloudy] Error simplexml_load_file on shared hosting](https://wordpress.org/support/topic/error-simplexml_load_file-on-shared-hosting/)
 *  [scald](https://wordpress.org/support/users/scald/)
 * (@scald)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/error-simplexml_load_file-on-shared-hosting/#post-4617887)
 * I came across this error after exporting an existing site to a new multisite 
   environment. The reason I got the error was because my short code referred to
   the ID of the Weather post from the old environment, but when I imported the 
   posts, the ID’s were changed.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WordPress MU Domain Mapping] Domain Mapping SLOW (?)](https://wordpress.org/support/topic/domain-mapping-slow-1/)
 *  [scald](https://wordpress.org/support/users/scald/)
 * (@scald)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/domain-mapping-slow-1/#post-3456175)
 * It appears the call I was seeing originates in line 769 of the plugin:
 *     ```
       function remote_login_js_loader() {
       	global $current_site, $current_blog;
   
       	if ( 0 == get_site_option( 'dm_remote_login' ) || is_user_logged_in() )
       		return false;
   
       	$protocol = is_ssl() ? 'https://' : 'http://';
       	$hash = get_dm_hash();
       	echo "<script src='{$protocol}{$current_site->domain}{$current_site->path}?dm={$hash}&action=load&blogid={$current_blog->blog_id}&siteid={$current_blog->site_id}&t=" . mt_rand() . "&back=" . urlencode( $protocol . $current_blog->domain . $_SERVER[ 'REQUEST_URI' ] ) . "' type='text/javascript'></script>";
       }
       ```
   
 * I disabled Remote Login, cleared my caches in W3 Total Cache, and things seem
   to be back to normal. I can’t get it to occur after re-enabling Remote Login,
   so hopefully it won’t rear its head again…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WordPress MU Domain Mapping] Domain Mapping SLOW (?)](https://wordpress.org/support/topic/domain-mapping-slow-1/)
 *  [scald](https://wordpress.org/support/users/scald/)
 * (@scald)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/domain-mapping-slow-1/#post-3456174)
 * I should also mention that I changed the domain mapping from IP to CNAME when
   I changed the siteurl.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WordPress MU Domain Mapping] Domain Mapping SLOW (?)](https://wordpress.org/support/topic/domain-mapping-slow-1/)
 *  [scald](https://wordpress.org/support/users/scald/)
 * (@scald)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/domain-mapping-slow-1/#post-3456173)
 * I’m facing the same issue, but I think I’m closer to nailing down exactly why.
   So initially my MU setup was on an ip, and domain mapping was setup to use this
   IP. Then, I changed the WP siteurl to a domain, and only have had problems with
   mapped sites since. Sites that don’t have domain mapping work fine.
 * I noticed in the “network” tab of Chrome one particular request was holding everything
   up: a call to [http://[ip-address]/?dm=daf25604da5c1e4b34a2f5ce3f1a7b30&action=load&blogid=7&siteid=1&t=331431286&back=http%3A%2F%2F%5Bsitename%5D.net%2F](http://[ip-address]/?dm=daf25604da5c1e4b34a2f5ce3f1a7b30&action=load&blogid=7&siteid=1&t=331431286&back=http%3A%2F%2F%5Bsitename%5D.net%2F)
 * Once that request times out the site loads properly — but after 10-15 seconds.
 * I figured it was a WordPress issue, and the IP was hanging around somewhere in
   the db, but I have changed every possible value in the tables that refers to 
   the siteurl / domain.
 * Then it dawned on me that “?dm=…” is likely a domain mapping call, but I am at
   a loss as to where it is pulling this IP from.
 * Any ideas?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Pie Register – User Registration, Profiles & Content Restriction] [Plugin: Pie Register] email settings save break custom fields](https://wordpress.org/support/topic/plugin-pie-register-email-settings-save-break-custom-fields/)
 *  Thread Starter [scald](https://wordpress.org/support/users/scald/)
 * (@scald)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-pie-register-email-settings-save-break-custom-fields/#post-2611775)
 * I was able to fix this issue in my instance of Pie Register. I moved the email
   notification update code to its own function, and left out the custom fields 
   update. Backup your existing files, then replace the following:
 * **pie-register.php:
    
   
    [http://pastebin.com/gV6w97YV](http://pastebin.com/gV6w97YV)
 * **menus/PieRegEmailNotification.php:
    
   
    [http://pastebin.com/XhH3viv4](http://pastebin.com/XhH3viv4)

Viewing 5 replies - 1 through 5 (of 5 total)