Results 1 to 6 of 6

Thread: Theme Causing allot of mySQL DB Connections

  1. #1
    Thread Starter
    Senior Member altafshah's Avatar
    Join Date
    Mar 2011
    Location
    United Arab Emirates
    Posts
    120
    Thanks
    6
    Thanked 1 Time in 1 Post

    Question Theme Causing allot of mySQL DB Connections

    Hi support,
    after shifting the website to new host, wpengine. the website causes too many database connections which brings the entire mySQL down and the site goes down, after opening ticket with the support this is what they told me.
    "
    Yes, changes were made to your theme, as it took down the entire servers database. You will need to get this theme optimized, so it is not having adverse effects on the server.


    Changes:

    //$my_query_num = new WP_Query($args1);
    $my_query_num = ();

    /nas/wp/www/cluster-1198/siarat/wp-content/themes/classipress/framework/kernel/functions.php Line 242


    Changes:

    //$terms = get_terms( $options['taxonomy'], 'hide_empty=0&hierarchical=1&pad_counts=1&show_cou nt=1&;orderby=name&order='.$options['cat_order'] );
    $terms - '';


    Could you please help me sort this out, as the site is running without categories menu and directory style.

    Thanks.
    --------------------------------------
    UAE Autos Classified Powered by ClassiPress
    India's mobile phones Classified Powered by ClassiPress 3.1
    PAK Free Classifieds (Next Project) Powered by ClassiPress

  2. #2
    Thread Starter
    Senior Member altafshah's Avatar
    Join Date
    Mar 2011
    Location
    United Arab Emirates
    Posts
    120
    Thanks
    6
    Thanked 1 Time in 1 Post
    You must be an AppThemes customer and logged in to view this response. Join today!
    --------------------------------------
    UAE Autos Classified Powered by ClassiPress
    India's mobile phones Classified Powered by ClassiPress 3.1
    PAK Free Classifieds (Next Project) Powered by ClassiPress

  3. #3
    dimitris's Avatar
    Join Date
    Oct 2011
    Location
    Earth
    Posts
    20,618
    Thanks
    222
    Thanked 1,873 Times in 1,770 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    Thread Starter
    Senior Member altafshah's Avatar
    Join Date
    Mar 2011
    Location
    United Arab Emirates
    Posts
    120
    Thanks
    6
    Thanked 1 Time in 1 Post
    You must be an AppThemes customer and logged in to view this response. Join today!
    --------------------------------------
    UAE Autos Classified Powered by ClassiPress
    India's mobile phones Classified Powered by ClassiPress 3.1
    PAK Free Classifieds (Next Project) Powered by ClassiPress

  5. #5
    Thread Starter
    Senior Member altafshah's Avatar
    Join Date
    Mar 2011
    Location
    United Arab Emirates
    Posts
    120
    Thanks
    6
    Thanked 1 Time in 1 Post
    You must be an AppThemes customer and logged in to view this response. Join today!
    --------------------------------------
    UAE Autos Classified Powered by ClassiPress
    India's mobile phones Classified Powered by ClassiPress 3.1
    PAK Free Classifieds (Next Project) Powered by ClassiPress

  6. #6
    dimitris's Avatar
    Join Date
    Oct 2011
    Location
    Earth
    Posts
    20,618
    Thanks
    222
    Thanked 1,873 Times in 1,770 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. When will other social login connections be made
    By 3webd in forum ClassiPress General Discussion
    Replies: 3
    Last Post: May 19th, 2012, 10:50 PM
  2. Mysql
    By aubertin in forum Report ClassiPress Bugs
    Replies: 3
    Last Post: May 29th, 2011, 02:02 AM
  3. RSS feed times out... what's causing this?
    By freelancing in forum Report JobRoller Bugs
    Replies: 4
    Last Post: December 10th, 2010, 08:48 PM
  4. What's causing my single ad to repeat itself?
    By pjeaje in forum Help Using ClassiPress
    Replies: 3
    Last Post: June 6th, 2010, 10:31 AM