Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2010
    Posts
    53
    Plugin Contributions
    0

    red flag Who's Online table Crashed

    1146 Table 'MYDATABASENAME_zenca15.zen_whos_online' doesn't exist

    in:
    [delete from zen_whos_online where time_last_click < '1392089929' or (time_entry=time_last_click and time_last_click < '1392090589')]
    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.

    I tried to follow Dr.byte and repair the table through the phpmyadmin but I cannot find the table. How do I repair the table?

    please advice

    Thanks

    jorge
    Last edited by JorgeR; 11 Feb 2014 at 05:02 AM.

  2. #2
    Join Date
    Aug 2010
    Posts
    53
    Plugin Contributions
    0

    Default Re: Who's Online table Crashed

    the table whos_online is gone, so I cannot repair it. How do I recreate the table? I tried the patch and it didn't t work.

    Please advice

    thanks

  3. #3
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,474
    Plugin Contributions
    88

    Default Re: Who's Online table Crashed

    From your phpMyAdmin, click the SQL tab, paste the following into the textbox, changing DB_PREFIX_ to whatever your database prefix is and click "Go". Please note that this table structure is compatible with Zen Cart v1.3.9h, having been pulled from that version's SQL initialization file; other Zen Cart versions might have an updated structure:
    Code:
    #
    # Table structure for table 'whos_online'
    #
    
    DROP TABLE IF EXISTS DB_PREFIX_whos_online;
    CREATE TABLE DB_PREFIX_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)
    ) ENGINE=MyISAM;

 

 

Similar Threads

  1. v139h Who's online table keeps crashing.
    By sharc316 in forum Customization from the Admin
    Replies: 20
    Last Post: 11 Jun 2014, 11:19 PM
  2. Who's Online - User gone, but Admin says online
    By johnd in forum General Questions
    Replies: 2
    Last Post: 23 Sep 2007, 01:57 AM
  3. Who is online...side admin vs online group pricing mod
    By csfound in forum General Questions
    Replies: 8
    Last Post: 18 Jul 2007, 04:27 AM
  4. Whos Online Fuction has crashed site
    By JOKESBYPOST in forum General Questions
    Replies: 3
    Last Post: 22 Feb 2007, 09:30 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR