Title: Scriptrunner (Doug Sparling)'s Replies - page 30 | WordPress.org

---

# Scriptrunner (Doug Sparling)

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

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

 Search replies:

## Forum Replies Created

Viewing 15 replies - 436 through 450 (of 520 total)

[←](https://wordpress.org/support/users/scriptrunner/replies/page/29/?output_format=md)
[1](https://wordpress.org/support/users/scriptrunner/replies/?output_format=md) 
[2](https://wordpress.org/support/users/scriptrunner/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/scriptrunner/replies/page/3/?output_format=md)…
[29](https://wordpress.org/support/users/scriptrunner/replies/page/29/?output_format=md)
30 [31](https://wordpress.org/support/users/scriptrunner/replies/page/31/?output_format=md)…
[33](https://wordpress.org/support/users/scriptrunner/replies/page/33/?output_format=md)
[34](https://wordpress.org/support/users/scriptrunner/replies/page/34/?output_format=md)
[35](https://wordpress.org/support/users/scriptrunner/replies/page/35/?output_format=md)
[→](https://wordpress.org/support/users/scriptrunner/replies/page/31/?output_format=md)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Blog has ben disconnected!](https://wordpress.org/support/topic/urgent-help-blog-has-ben-disconnected/)
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/urgent-help-blog-has-ben-disconnected/#post-4155994)
 * Lorenzo is correct, but I’ll clarify a bit.
 * A domain name is used to identify an IP address (sometimes more than one). so
   finskis.com is used to point a browser to the correct IP address (which is a 
   string of numbers). The domain name has nothing to do with your actual content,
   but is way for browsers to find the site.
 * So, as long as your hosting is in place (where the files and database are actually
   located), everything should still be there. And there’s a good chance if you 
   knew the IP address, you could still get to your website.
 * The bad thing about letting a domain expire is sometimes they get purchased by
   someone else very quickly.
 * So, you pay for a domain name, which is sort of like getting listed in the phone
   book.
 * You pay for a web host, which is where your website “lives” (I guess keeping 
   with the analogy, it’s the actual phone inside your house).
 * And then you need to “connect” the two (as Lorenzo mentioned, it’s the DNS. It’s
   what associates a web address with and IP address).
 * You also want to make for certain that your site/data is being backed up. Your
   host may do it for you, or it can be done by anyone with access to your server(
   you may want to look for a WordPress person).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Error on theme](https://wordpress.org/support/topic/please-help-220/)
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/please-help-220/#post-4155981)
 * I just took a look and I’m not seeing that error. Was it on your home page or
   some other page on your site?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [MySQL query not working with wp_posts table](https://wordpress.org/support/topic/mysql-query-not-working-with-wp_posts-table/)
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/mysql-query-not-working-with-wp_posts-table/#post-4155980)
 * With the information you’ve given, the query
 * `SELECT * FROM wp_posts WHERE post_type = 'forum' AND post_title = 'Business 
   Intelligence';`
 * looks perfectly valid.
 * I’m going to ask the obvious. Are you certain that PHPMyAdmin and your script
   are connected to the same database?
 * Also, do you get the same exact results when you use the simpler query?
 * `SELECT * FROM wp_posts WHERE post_type = 'forum';`
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [odd Rectangle in Header](https://wordpress.org/support/topic/odd-rectangle-in-header/)
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/odd-rectangle-in-header/#post-4155979)
 * I used Firebug and first selected the gray box, which told me it was that div
   element that was creating it. Then I took out the style1 class from that bit 
   of HTML and the gray box disappeared. So I don’t think it has to do with a Search
   form.
 *  I can’t tell exactly where the HTML is getting generated as I’m just looking
   a few source in my browser, but the CSS is definitely in the file I posted.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Text formatting and Categories](https://wordpress.org/support/topic/text-formatting-and-categories/)
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/text-formatting-and-categories/#post-4155974)
 * Looks to me like you’ve created two separate pages and they’re formatted differently.
   You might check the page admin and see if you have a Contact Us at the top level
   and one below “category.” I’m guessing you don’t want the Contact Us page under
   category.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [odd Rectangle in Header](https://wordpress.org/support/topic/odd-rectangle-in-header/)
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/odd-rectangle-in-header/#post-4155972)
 * Thanks [@trisham](https://wordpress.org/support/users/trisham/).
 * [@midcoastvb](https://wordpress.org/support/users/midcoastvb/) – If you can’t
   or don’t want to update the php file, you can comment out that selector in the
   CSS file. It would probably be best if you could update the header, as something
   else may use style1. However, if you want to edit the CSS file, it can be found
   here:
 * `http://69.195.124.61/~midcoat4/wp-content/plugins/tabber-tabs-widget/tabber.
   css`
 * Just change:
 *     ```
       .style1 {
       background: #D6D6D8;
       }
       .tabberlive.style1 {
       padding:15px 0 3px;
       }
       ```
   
 * to
 *     ```
       /*
       .style1 {
       background: #D6D6D8;
       }
       .tabberlive.style1 {
       padding:15px 0 3px;
       }
       */
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [odd Rectangle in Header](https://wordpress.org/support/topic/odd-rectangle-in-header/)
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/odd-rectangle-in-header/#post-4155947)
 * Looks like it’s in your CSS.
 * Change
 * `<div class="tabberlive style1">`
 * to
 * `<div class="tabberlive">`
 * I only tested on Firefox on Mac, that eliminated the gray rectangle for me.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [What's the best way to redirect a single page for mobile devices?](https://wordpress.org/support/topic/whats-the-best-way-to-redirect-a-single-page-for-mobile-devices/)
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/whats-the-best-way-to-redirect-a-single-page-for-mobile-devices/#post-4155548)
 * Equivalent Mobile Redirect does work for me, but it does throw a couple warnings
   if you have it in debug mode.
 * If WPTouch works, I’d definitely go with that.
 * As far as User Agent vs screen size, User Agent is the “old” way of doing it.
   With responsive design, it’s based more on screen size and the actual device 
   doesn’t matter (as much).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to make my WP hyper-safe?](https://wordpress.org/support/topic/how-to-make-my-wp-hyper-safe/)
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/how-to-make-my-wp-hyper-safe/#post-4148370)
 * Quite welcome!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form 7] CF7 Not Working After Upgrade](https://wordpress.org/support/topic/cf7-not-working-after-upgrade/)
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/cf7-not-working-after-upgrade/page/2/#post-4145249)
 * Great, thanks for the update!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [wp_mail() 3.6.1 not working](https://wordpress.org/support/topic/wp_mail-361-not-working/)
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/wp_mail-361-not-working/#post-4154972)
 * Do you check the return value from wp_mail()?
 * Also, you turn on debugging by adding these lines to wp-config.php:
 *     ```
       @ini_set('display_errors',0);
       define( 'WP_DEBUG', true );
       ```
   
 * As [@esmi](https://wordpress.org/support/users/esmi/) stated, nothing has changed
   with wp_mail() in WordPress 3.6.1.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Warning: preg_match(): Compilation failed: nothing to repeat at offset 1..](https://wordpress.org/support/topic/warning-preg_match-compilation-failed-nothing-to-repeat-at-offset-1/)
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/warning-preg_match-compilation-failed-nothing-to-repeat-at-offset-1/#post-4154366)
 * Awesome, glad you got it figure out.
 * [@rohitbhalara4](https://wordpress.org/support/users/rohitbhalara4/) was right.
   Generally best to disable plugins and switch to a default theme first. I’ve seen
   multiple things cause this warning, but actually never a plugin!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Warning: preg_match(): Compilation failed: nothing to repeat at offset 1..](https://wordpress.org/support/topic/warning-preg_match-compilation-failed-nothing-to-repeat-at-offset-1/)
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/warning-preg_match-compilation-failed-nothing-to-repeat-at-offset-1/#post-4154332)
 * Another thing to try:
 * Disable all your plugins and then change your permalink settings back to “Default.”(
   if it’s already set to Default, then change it to something else). Apparently
   sometimes permalink structure gets corrupted and cause this warning.
 * I think the PHP/PCRE versions you listed are fine.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Warning: preg_match(): Compilation failed: nothing to repeat at offset 1..](https://wordpress.org/support/topic/warning-preg_match-compilation-failed-nothing-to-repeat-at-offset-1/)
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/warning-preg_match-compilation-failed-nothing-to-repeat-at-offset-1/#post-4154330)
 * Update:
 * In order for the line above to work, it most come after the call to wp-settings.
   php – for example:
 *     ```
       /** Sets up WordPress vars and included files. */
       require_once(ABSPATH . 'wp-settings.php');
   
       error_reporting(0);
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Warning: preg_match(): Compilation failed: nothing to repeat at offset 1..](https://wordpress.org/support/topic/warning-preg_match-compilation-failed-nothing-to-repeat-at-offset-1/)
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/warning-preg_match-compilation-failed-nothing-to-repeat-at-offset-1/#post-4154327)
 * It shouldn’t matter where you place it in wp-config.php.

Viewing 15 replies - 436 through 450 (of 520 total)

[←](https://wordpress.org/support/users/scriptrunner/replies/page/29/?output_format=md)
[1](https://wordpress.org/support/users/scriptrunner/replies/?output_format=md) 
[2](https://wordpress.org/support/users/scriptrunner/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/scriptrunner/replies/page/3/?output_format=md)…
[29](https://wordpress.org/support/users/scriptrunner/replies/page/29/?output_format=md)
30 [31](https://wordpress.org/support/users/scriptrunner/replies/page/31/?output_format=md)…
[33](https://wordpress.org/support/users/scriptrunner/replies/page/33/?output_format=md)
[34](https://wordpress.org/support/users/scriptrunner/replies/page/34/?output_format=md)
[35](https://wordpress.org/support/users/scriptrunner/replies/page/35/?output_format=md)
[→](https://wordpress.org/support/users/scriptrunner/replies/page/31/?output_format=md)