Results 1 to 7 of 7
  1. #1
    Join Date
    Jan 2005
    Location
    Athens, Tx
    Posts
    14
    Plugin Contributions
    0

    Default 1194 Table 'b' is marked as crashed and should be repaired

    My server upgraded their php recently and now my website is down. They moved all of my files to an old server to keep me from having to upgrade my zencart but it still isn't working. Now I'm getting the following message when I try to access my website of www.sturgisrings.com

    1194 Table 'b' is marked as crashed and should be repaired
    in:
    [select b.banners_id, b.expires_date, b.expires_impressions, sum(bh.banners_shown) as banners_shown from banners b, banners_history bh where b.status = 1 and b.banners_id = bh.banners_id group by b.banners_id, b.expires_date, b.expires_impressions]
    If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

    Any idea what is wrong now and what can be done to fix it. I am losing business every day that this is not fixed. It looks like a zencart file that is messed up but my host doesn't know what to do to fix it nor do I. Any help would be greatly appreciated.

  2. #2
    Join Date
    Jan 2004
    Posts
    58,243
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: 1194 Table 'b' is marked as crashed and should be repaired

    Quote Originally Posted by magibson View Post
    1194 Table 'b' is marked as crashed and should be repaired
    As shown in the "similar threads" links below, you or your host need to go into phpMyAdmin and Repair that table.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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
    Jan 2005
    Location
    Athens, Tx
    Posts
    14
    Plugin Contributions
    0

    Default Re: 1194 Table 'b' is marked as crashed and should be repaired

    Thnks for the response. Sent message to my host to get somebody to go into my phpMyAdmin folder to fix the table. Is there a step-by-step walk-through somewhere for upgrading my version of zen cart that I could follow without having to hire somebody to do the upgrade? I have a feeling that I'm just going to continue to get errors until I upgrade to the latest zen cart version.

  4. #4
    Join Date
    Jan 2005
    Location
    Athens, Tx
    Posts
    14
    Plugin Contributions
    0

    Default Re: 1194 Table 'b' is marked as crashed and should be repaired

    My Host tells me that there is NO Table 'b' in the database that is being used by my shopping cart. So Now what do I do?

  5. #5
    Join Date
    Jan 2004
    Posts
    58,243
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: 1194 Table 'b' is marked as crashed and should be repaired

    Quote Originally Posted by magibson View Post
    My Host tells me that there is NO Table 'b' in the database that is being used by my shopping cart. So Now what do I do?
    Your host apparently doesn't know much about MySQL. If they couldn't read the error message and know what it means when you first told them about it, then they really ought not to be in the hosting business.

    "b" refers to an "alias", which in this case refers to the table named "banners":
    (and "bh" refers to the "banners_history" table)
    Code:
    [select b.banners_id, b.expires_date, b.expires_impressions,  sum(bh.banners_shown) as banners_shown from banners b, banners_history  bh where b.status = 1 and b.banners_id = bh.banners_id group by  b.banners_id, b.expires_date, b.expires_impressions]
    Here's how to do it yourself:
    1. log in to phpMyAdmin
    2. on the left column, choose your database from the pulldown list
    3. click on the banners table
    4. now on the right-hand side of the screen you see several tabs. Click on the Operations tab.
    5. click on the "repair table" link
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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.

  6. #6
    Join Date
    Jan 2004
    Posts
    58,243
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: 1194 Table 'b' is marked as crashed and should be repaired

    Quote Originally Posted by magibson View Post
    Is there a step-by-step walk-through somewhere for upgrading my version of zen cart
    Several documents at www.zen-cart.com/upgrades
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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
    Jan 2005
    Location
    Athens, Tx
    Posts
    14
    Plugin Contributions
    0

    cart error Re: 1194 Table 'b' is marked as crashed and should be repaired

    Quote Originally Posted by DrByte View Post
    Several documents at www.zen-cart.com/upgrades
    Thank you for the help. One of my host company's techs finally found a corrupt database that the others didn't notice and he repaired it and now the site is back up and running. I will now try to read the upgrade documents so I can upgrade to the latest zencart release and avoid more problems later.

 

 

Similar Threads

  1. Replies: 1
    Last Post: 11 Jun 2012, 07:38 PM
  2. Replies: 0
    Last Post: 3 Jul 2010, 06:30 PM
  3. Replies: 1
    Last Post: 2 Jan 2010, 01:48 AM
  4. 145 Table is marked as crashed and should be repaired
    By scubasteve in forum General Questions
    Replies: 2
    Last Post: 9 Sep 2009, 03:58 AM

Bookmarks

Posting Permissions

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