Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #254955

    orhank
    Participant

    I’ve been experiencing occasional crashes on this site for some time now:
    http://sm.k12.tr
    It seems that it’s a “500 internal server error”
    I tried the memory limit solution, but the limit is already 128M.
    I disabled and enabled almost all the plugins on the site… Hoping to find the problem by deduction. But no luck there…

    The hosting company says that “too many sql queries causing the problem”. But they’re not providing any error log.

    Is there anything I’m missing here?
    If I provide you with the login info, can you please take a look around?

    #255099

    Darshana
    Moderator

    Hi there,

    Thanks for writing in! There could be several other reasons such as corrupted “.htaccess” file etc. Please refer to the following article for a possible solution (http://www.wpbeginner.com/wp-tutorials/how-to-fix-the-internal-server-error-in-wordpress/).

    Let us know how it goes.

    #255948

    orhank
    Participant

    I’ve started an error log on wordpress and most of the log consists of these errors:

    [22-Apr-2015 15:32:16] PHP Notice: Trying to get property of non-object in /home/sm.k12.tr/httpdocs/wp-content/themes/x/framework/views/global/_slider-below.php on line 22

    [21-Apr-2015 15:19:31] PHP Notice: Undefined index: WP_Widget_Recent_Comments in /home/sm.k12.tr/httpdocs/wp-content/themes/x/framework/functions/global/remove.php on line 59

    According to the log file this last one happened only twice:

    [21-Apr-2015 15:22:23] WordPress database error Lost connection to MySQL server during query for query SELECT code FROM wp_icl_languages WHERE active=1 made by require(‘wp-blog-header.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘plugins_loaded’), call_user_func_array, SitePress->init, SitePress->set_admin_language

    Does it make sense?

    Thanks.

    #256139

    Rad
    Moderator

    Hi there,

    The first two are notices, and should have no problem since they are not errors. The last one you gave is the real issue and it looks like related to your language plugin (wp_icl_languages). It directly access your mysql rather than using wordpress’s database. Though, I’m not really sure about that since it’s not our plugin. But one thing for sure, your hosting has very low connection limit. It looks like limited to one only? You should contact your language plugin’s author or your hosting to increase your connection limit.

    Thanks.