Results 1 to 8 of 8
  1. #1
    Join Date
    Dec 2005
    Posts
    24
    Plugin Contributions
    0

    Website now hanging

    I havent touched my website in about a week (so havent 'done' anything to it) and received a couple of emails from customers yesterday telling me it was down so had a squiz I cant see anything, I submitted a support ticket with my host and they said they havent done anything however they did say that the cart is still talking to the database and that this piece of code is hanging

    $configuration = $db->Execute('select configuration_key as cfgkey, configuration_value as cfgvalue
    from ' . TABLE_CONFIGURATION, '', $use_cache, 150);

    website is www.bubblebubs.com/shop

    Thanks for any help :)

    Vicki

  2. #2
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Website now hanging

    That "piece of code" *is* the communication to the database, which indicates, if that line is hanging, then the database is not responding.

    Did your host make any suggestions about checking your database for errors?

    Do you have a hosting control panel (such as cPanel) where you can access a MySQL area that manages your databases? On that same page, you should have a link to "Repair Database". You should click that.
    You could do similarly in phpMyAdmin, under the "Operations" tab.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Dec 2005
    Posts
    24
    Plugin Contributions
    0

    Default Re: Website now hanging

    I thought it was an sql error

    I do have access to myphpadmin however the repair tools wont load for some reason, I ran mysqlcheck and it came back with a couple of errors of people not closing the tables however I cant find the command to force a repair from the command line

  4. #4
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Website now hanging

    if you can log in to MySQL from the command line, try at least this:
    Code:
    repair table configuration;
    and repeat for the other tables that it suggested may have problems


    If some particular query has the configuration table locked (which should almost never happen), then it may be necessary to stop and restart MySQL if the lock never clears and the query cannot be cancelled.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Dec 2005
    Posts
    24
    Plugin Contributions
    0

    Default Re: Website now hanging

    oh sorry by command line I meant an ssh connection to my website sorry!

    I did go into myphpadmin and clicked the configuration table and then the repair link but didnt work

    Would it be worthwhile backing up, deleting the database and recreating?

  6. #6
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Website now hanging

    Quote Originally Posted by vickichiki View Post
    Would it be worthwhile backing up, deleting the database and recreating?
    That's an extremely drastic measure.

    Is your host being of any help?


    In phpMyAdmin, you have an option to "Show Processes" This lists all actively-running queries on your database. What's listed there?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Dec 2005
    Posts
    24
    Plugin Contributions
    0

    Default Re: Website now hanging

    sorry for the long delay I had to go to work and I have no net access at my shop and the time difference isnt helping lol :)

    Here are the processes
    5790 vickichiki localhost None Query 0 --- SHOW PROCESSLIST

    I do realise that a re-install is a last resort but my site has been down for nearly 2 days now so its kinda getting to that.

    My host is good but I dont think they have a lot of ZC knowledge *sigh* I will fiddle more with it tonight

  8. #8
    Join Date
    Dec 2005
    Posts
    24
    Plugin Contributions
    0

    Default Re: Website now hanging

    Oh I have an answer :) My host has just confirmed that the monitoring company has installed upgrades to MYSQL on my server and that has caused the problems so its being fixed :)

    Thanks so much for you time

 

 

Similar Threads

  1. 2CO checkout hanging, doesnt redirect to their website
    By buxton1 in forum Addon Payment Modules
    Replies: 0
    Last Post: 19 Aug 2010, 05:39 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg