Page 1 of 3 123 LastLast
Results 1 to 10 of 24
  1. #1
    Join Date
    Aug 2006
    Posts
    89
    Plugin Contributions
    0

    Idea or Suggestion zen_whos_online is marked as crashed

    When I go to my website this is what it says.

    1194 Table 'zen_whos_online' is marked as crashed and should be repaired
    in:
    [delete from zen_whos_online where time_last_click < '1211653118']


    I have not added any new products or have done any changes to my website. My website is http://discount-cell-accessories.com.

    Have no idea what is wrong and was hoping somebody might know how I can fix this.

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: zen_whos_online is marked as crashed

    If you have a host that provides cPanel manager - go there and first backup the DB - Then go to the mysql screen and select "repair" and the DB name

    Se if this corrects it
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Aug 2006
    Posts
    89
    Plugin Contributions
    0

    Default Re: zen_whos_online is marked as crashed

    Quote Originally Posted by kobra View Post
    If you have a host that provides cPanel manager - go there and first backup the DB - Then go to the mysql screen and select "repair" and the DB name

    Se if this corrects it
    I have cPanel but don't see cPanel Manager.

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: zen_whos_online is marked as crashed

    I have cPanel but don't see cPanel Manager
    cPanel is your manager.....backup > DB

    mysql DB > select the DB > repair
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Aug 2006
    Posts
    89
    Plugin Contributions
    0

    Default Re: zen_whos_online is marked as crashed

    Quote Originally Posted by kobra View Post
    cPanel is your manager.....backup > DB

    mysql DB > select the DB > repair
    Did the repair and didn't help.

  6. #6
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: zen_whos_online is marked as crashed

    run this in your Zen Cart -> admin -> tools -> sql patch updater

    Code:
    DROP TABLE IF EXISTS whos_online;
    CREATE TABLE whos_online (
      customer_id int(11) default NULL,
      full_name varchar(64) NOT NULL default '',
      session_id varchar(128) NOT NULL default '',
      ip_address varchar(15) NOT NULL default '',
      time_entry varchar(14) NOT NULL default '',
      time_last_click varchar(14) NOT NULL default '',
      last_page_url varchar(255) NOT NULL default '',
      host_address text NOT NULL,
      user_agent varchar(255) NOT NULL default '',
      KEY idx_ip_address_zen (ip_address),
      KEY idx_session_id_zen (session_id),
      KEY idx_customer_id_zen (customer_id),
      KEY idx_time_entry_zen (time_entry),
      KEY idx_time_last_click_zen (time_last_click),
      KEY idx_last_page_url_zen (last_page_url)
    ) TYPE=MyISAM;
    This will literaly drop it and re insert it,
    all will be OK,

    you can do this with this table since its not a mission critical table,
    Zen cart PCI compliant Hosting

  7. #7
    Join Date
    Aug 2006
    Posts
    89
    Plugin Contributions
    0

    Default Re: zen_whos_online is marked as crashed

    Quote Originally Posted by Merlinpa1969 View Post
    run this in your Zen Cart -> admin -> tools -> sql patch updater

    Code:
    DROP TABLE IF EXISTS whos_online;
    CREATE TABLE whos_online (
      customer_id int(11) default NULL,
      full_name varchar(64) NOT NULL default '',
      session_id varchar(128) NOT NULL default '',
      ip_address varchar(15) NOT NULL default '',
      time_entry varchar(14) NOT NULL default '',
      time_last_click varchar(14) NOT NULL default '',
      last_page_url varchar(255) NOT NULL default '',
      host_address text NOT NULL,
      user_agent varchar(255) NOT NULL default '',
      KEY idx_ip_address_zen (ip_address),
      KEY idx_session_id_zen (session_id),
      KEY idx_customer_id_zen (customer_id),
      KEY idx_time_entry_zen (time_entry),
      KEY idx_time_last_click_zen (time_last_click),
      KEY idx_last_page_url_zen (last_page_url)
    ) TYPE=MyISAM;
    This will literaly drop it and re insert it,
    all will be OK,

    you can do this with this table since its not a mission critical table,

    Thank you Thank you Thank you Thank you Thank you Thank you!!!!!! It worked!!

  8. #8
    Join Date
    Jan 2007
    Posts
    36
    Plugin Contributions
    0

    Default Re: zen_whos_online is marked as crashed

    Many thanks for the fix, merlinpa.

    No idea what caused the problem but I had the exact same thing happen and this fixed it up in a trice.

    Any ideas why the who's online should crash?

  9. #9

    Default Re: zen_whos_online is marked as crashed

    Quote Originally Posted by Merlinpa1969 View Post
    run this in your Zen Cart -> admin -> tools -> sql patch updater

    Code:
    DROP TABLE IF EXISTS whos_online;
    CREATE TABLE whos_online (
      customer_id int(11) default NULL,
      full_name varchar(64) NOT NULL default '',
      session_id varchar(128) NOT NULL default '',
      ip_address varchar(15) NOT NULL default '',
      time_entry varchar(14) NOT NULL default '',
      time_last_click varchar(14) NOT NULL default '',
      last_page_url varchar(255) NOT NULL default '',
      host_address text NOT NULL,
      user_agent varchar(255) NOT NULL default '',
      KEY idx_ip_address_zen (ip_address),
      KEY idx_session_id_zen (session_id),
      KEY idx_customer_id_zen (customer_id),
      KEY idx_time_entry_zen (time_entry),
      KEY idx_time_last_click_zen (time_last_click),
      KEY idx_last_page_url_zen (last_page_url)
    ) TYPE=MyISAM;
    This will literaly drop it and re insert it,
    all will be OK,

    you can do this with this table since its not a mission critical table,
    Thank you so much! Your suggestion fixed the site!!!!!!!!!!!!!!!!!!! You rock!

    Jason

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

    Default Re: zen_whos_online is marked as crashed

    Remember, THAT particular fix is ONLY suitable for v1.3.x.
    Newer versions will require a different structure on that table ... A better fix would be just to do a REPAIR TABLE whos_online instead
    .

    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.

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. Replies: 11
    Last Post: 19 Sep 2009, 06:56 PM
  2. Marked as crashed
    By jarle in forum General Questions
    Replies: 3
    Last Post: 8 Sep 2009, 05:35 AM
  3. zen_whos_online crashed, how do I replace?
    By wahmania in forum General Questions
    Replies: 2
    Last Post: 4 Mar 2009, 12:51 AM
  4. Replies: 2
    Last Post: 2 Dec 2008, 06:42 PM
  5. 145 Table '.../whos_online' is marked as crashed
    By henryvuong in forum General Questions
    Replies: 13
    Last Post: 27 Aug 2008, 09:49 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