Wordpress Blog Struggling To Load

8 replies
  • WEB DESIGN
  • |
Hi guys,

My Wordpress blog at RevitaliseYourHealth.com >> Natural Health & Beauty Blog has been experiencing some problems recently.

Firstly, it seems the blog regularly goes down for everyone. This can last for 30 seconds to 20 minutes and happens numerous times a day.

Secondly, when I try to access the blog, about 50% of the time it loads fine but 50% of the time it says "Sending request" at the bottom and then after about 10 seconds it says "Google Chrome can not connect to revitaliseyourhealth.com". If I press "Refresh" it takes me to my blog almost instantly and works fine.

From looking at my Google Analytics stats it seems that some other Chrome users are having the same problem.

What could be causing the problem? And how could I fix it?

Which browser are you using and does the blog load for you?

Is it a hosting issue or is there something broken with my Wordpress set up?

And finally, is there a tool I can use that monitors the total downtime of my blog?

Sorry for all the questions, but any help would be appreciated.

Thanks,
James
#blog #load #struggling #wordpress
  • Profile picture of the author JamesPenn
    Okay, I've tried to establish the problem by looking in my cPanel but I have no idea what I'm doing.

    I did come across this in my error logs though.

    (This line is repeated about 20 times starting on April 25th through til today)

    [26-Apr-2012 04:29:54] PHP Warning: Missing argument 1 for in_category(), called in /home5/gardeni4/public_html/revitaliseyourhealth.com/wp-content/themes/goinggreen/functions.php on line 107 and defined in /home5/gardeni4/public_html/revitaliseyourhealth.com/wp-includes/category-template.php on line 234

    I've also got this error starting on April 24th (when the problems began)

    [24-Apr-2012 07:14:23] PHP Warning: require_once(/home5/gardeni4/public_html/wp-includes/classes.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home5/gardeni4/public_html/wp-blog-header.php on line 8
    [24-Apr-2012 07:14:23] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/home5/gardeni4/public_html/wp-includes/classes.php' (include_path='.:/usr/lib64/php:/usr/lib/php') in /home5/gardeni4/public_html/wp-blog-header.php on line 8

    Any idea how I can resolve this?

    James
    {{ DiscussionBoard.errors[6123762].message }}
    • Profile picture of the author beewock
      Originally Posted by JamesPenn View Post

      Okay, I've tried to establish the problem by looking in my cPanel but I have no idea what I'm doing.

      I did come across this in my error logs though.

      (This line is repeated about 20 times starting on April 25th through til today)

      [26-Apr-2012 04:29:54] PHP Warning: Missing argument 1 for in_category(), called in /home5/gardeni4/public_html/revitaliseyourhealth.com/wp-content/themes/goinggreen/functions.php on line 107 and defined in /home5/gardeni4/public_html/revitaliseyourhealth.com/wp-includes/category-template.php on line 234
      This mean there's a problem with your current theme I believe Going Green is a child theme for Genesis framework. Try to change the child theme, or contact the theme support.


      Originally Posted by JamesPenn View Post

      I've also got this error starting on April 24th (when the problems began)

      [24-Apr-2012 07:14:23] PHP Warning: require_once(/home5/gardeni4/public_html/wp-includes/classes.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home5/gardeni4/public_html/wp-blog-header.php on line 8
      [24-Apr-2012 07:14:23] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/home5/gardeni4/public_html/wp-includes/classes.php' (include_path='.:/usr/lib64/php:/usr/lib/php') in /home5/gardeni4/public_html/wp-blog-header.php on line 8

      Any idea how I can resolve this?

      James
      One of the WP core files is missing (wp-includes/classes.php). It's better to re-upload the latest WP files, replacing the old with the new ones, even if you already have the latest WP installed. Just to make sure all the WP files are there. Don't worry, your posts and pages will not be deleted by doing this.
      {{ DiscussionBoard.errors[6124235].message }}
  • Profile picture of the author beewock
    I think you have a corrupted Wordpress installation because your server cannot found the main file (wp-blog-header.php). Try to re-install WP or re-upload the latest WP files to make sure you have a healthy WP installation.

    After you uploaded the new files, login to your WP admin and type this in the address bar:
    yourdomain.com/wp-admin/upgrade.php

    Just to make sure if there's any database that needs to be upgraded.

    Hope it works
    {{ DiscussionBoard.errors[6124026].message }}
  • Profile picture of the author Ashera
    Yeah something is wrong with the WordPress install or the theme install. Just go again from scratch in my opinion. Save all your content and write down your permalinks to add them back later.
    Signature
    If you don't change direction, you'll end up where you're going.
    {{ DiscussionBoard.errors[6124054].message }}
  • Profile picture of the author JamesPenn
    Thanks for your help.

    The blog and theme have been installed for around 8 months without problem so what could have caused the error now? I'm not aware of any changes I've made.

    Perhaps there is a problem in the interaction between one of my plug-ins and the theme?

    How do you mean write down my permalinks? Do you mean for each post? If so, I have over 250 posts so doing that is not an option.

    James
    {{ DiscussionBoard.errors[6124071].message }}
    • Profile picture of the author Ashera
      Originally Posted by JamesPenn View Post

      Thanks for your help.

      The blog and theme have been installed for around 8 months without problem so what could have caused the error now? I'm not aware of any changes I've made.

      Perhaps there is a problem in the interaction between one of my plug-ins and the theme?

      How do you mean write down my permalinks? Do you mean for each post? If so, I have over 250 posts so doing that is not an option.

      James
      Oi, must have not payed close enough attention, thought there were only a few posts since I didn't see a view more posts on the homepage. You can always export the xml file using import/export in tools, to bring back all your posts, pages, and comments (with same titles and permalinks as long as permalinks is set to same formatting)

      However it could definitely be a bunk plugin that's causing it - have you tried deactivated them one by one and seeing if it fixes it? Or also try briefly going to default WP theme to see if that does it as well. Hopefully you can narrow down the problem through that. I've seen plugins cause some crazy things on WP blogs.
      Signature
      If you don't change direction, you'll end up where you're going.
      {{ DiscussionBoard.errors[6124101].message }}
  • Profile picture of the author n7 Studios
    Hi James,

    There are a few areas you'd need to investigate to get an accurate answer:

    1. Re-upload core WordPress files
    Download the version of WordPress you currently run from wordpress.org
    Extract it and upload the wp-admin and wp-includes folders, as well as the files in the root folder (index.php, license.txt etc)

    2. Raise a support ticket with your web host
    Send them a copy of the log file you've produced - my gut feeling here is that it's a resource fault on the server (including but not limited to hard drive, memory, processor) - meaning that half the time PHP can't, for whatever reason, physically access the key WordPress core files it needs.

    Your web host can investigate and if it's down to their server, they can move your site to a different server / partition on the server.

    3. Plugins
    It's an old tip but still valid - disable all plugins and then re-test. Can you reproduce the issue?

    4. Theme / Optimisation
    Check with Page Speed in Google Chrome to see the advice given. When I did this a few elements could be improved; this alone wouldn't cause the problems you're having though. In this instance I'd rule this step out.

    5. Database
    Check for any slow queries on the MySQL database.
    See Non-technical Guide to Isolating Slow MySQL Queries, or raise a support ticket with your web host to do this for you. Chances are they'll be happy to assist depending on the SLA you have with them, as it's in their interests to ensure you know whether you need to optimise anything in your database.

    Tim.
    {{ DiscussionBoard.errors[6124138].message }}
    • Profile picture of the author JamesPenn
      Originally Posted by n7 Studios View Post

      Hi James,

      There are a few areas you'd need to investigate to get an accurate answer:

      1. Re-upload core WordPress files
      Download the version of WordPress you currently run from wordpress.org
      Extract it and upload the wp-admin and wp-includes folders, as well as the files in the root folder (index.php, license.txt etc)

      2. Raise a support ticket with your web host
      Send them a copy of the log file you've produced - my gut feeling here is that it's a resource fault on the server (including but not limited to hard drive, memory, processor) - meaning that half the time PHP can't, for whatever reason, physically access the key WordPress core files it needs.

      Your web host can investigate and if it's down to their server, they can move your site to a different server / partition on the server.

      3. Plugins
      It's an old tip but still valid - disable all plugins and then re-test. Can you reproduce the issue?

      4. Theme / Optimisation
      Check with Page Speed in Google Chrome to see the advice given. When I did this a few elements could be improved; this alone wouldn't cause the problems you're having though. In this instance I'd rule this step out.

      5. Database
      Check for any slow queries on the MySQL database.
      See Non-technical Guide to Isolating Slow MySQL Queries, or raise a support ticket with your web host to do this for you. Chances are they'll be happy to assist depending on the SLA you have with them, as it's in their interests to ensure you know whether you need to optimise anything in your database.

      Tim.
      Thanks Tim.

      Really great advice. I have contacted my host.

      Hopefully that is the issue as then I don;t have to worry about trying to fix things myself

      James
      {{ DiscussionBoard.errors[6124503].message }}

Trending Topics