Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Join Date
    Mar 2006
    Location
    Tennessee
    Posts
    310
    Plugin Contributions
    0

    Default Getting Error in Admin - What does this mean?

    I'm getting an error in my Admin area...even when I try to log off.
    It keeps saying:

    1016 Can't open file: 'admin_activity_log.MYI' (errno: 145)

    All I was doing was adding products/images. I haven't changed any settings or touched any of the code.

    Before I got this error, my Admin section slowed to a crawl and was timing out.
    Then I got a 0 DB_ERROR_NOT_CONNECTED message on both the website side and the admin side.

    That corrected within just a minute or so and now the website is fine, but I'm getting this new error in the Admin no matter what I try to do.

    Any ideas as to what's happened?

  2. #2
    Join Date
    Feb 2006
    Location
    Chicago
    Posts
    1,162
    Plugin Contributions
    0

    Default Re: Getting Error in Admin - What does this mean?

    Tutorials on Zen Cart
    http://tutorials.zen-cart.com/index.php
    ---------------
    advanced.programmer at gmail dot com
    In love with Zen Cart!!

  3. #3
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Getting Error in Admin - What does this mean?

    in addition, you should notify your host of the problem, as it suggests a risk of database-corruption.
    .

    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.

  4. #4
    Join Date
    Mar 2006
    Location
    Tennessee
    Posts
    310
    Plugin Contributions
    0

    Default Re: Getting Error in Admin - What does this mean?

    Thanks for the reply superprg. I just went and tried what the wiki page suggested and it told me that 'table did not exist'. That really makes me start to worry!

    Thanks Dr. Byte - I'm hosting with Sashbox and I sent Jim an email when it started, but I haven't heard back from him yet.

    I wondered if it was a server problem because when I first got the "0 DB_ERROR_NOT_CONNECTED", I went to Sashbox's support page to enter a ticket and I got a page full of errors there too.

    After the 'Not connected' error cleared up, so did Sashbox's page. Looks like it's a problem solely in my Admin now. I have another site hosted with them and it's not having any problems whatsoever, but I don't know if they're on the same server.

    I hope this doesn't affect people buying and paying for their stuff on my website!! Business has just started to pick back up and I've been getting some good sales.

  5. #5
    Join Date
    Feb 2006
    Location
    Chicago
    Posts
    1,162
    Plugin Contributions
    0

    Default Re: Getting Error in Admin - What does this mean?

    Can you go to the phpmyadmin and let us know how many tables can you see there?
    SAn
    Tutorials on Zen Cart
    http://tutorials.zen-cart.com/index.php
    ---------------
    advanced.programmer at gmail dot com
    In love with Zen Cart!!

  6. #6
    Join Date
    Mar 2006
    Location
    Tennessee
    Posts
    310
    Plugin Contributions
    0

    Default Re: Getting Error in Admin - What does this mean?

    Okay...I'm php challenged...where would it tell me this?

    (I try to stay out of this area of my cpanel completely! LOL)


    I see something that says Databases with my user name.
    Under that it says: _phpbb1 (30) _zc (92)

    Is that it?

    It also has something in red saying 'No privileges' under the create new database.

  7. #7
    Join Date
    Feb 2006
    Location
    Chicago
    Posts
    1,162
    Plugin Contributions
    0

    Default Re: Getting Error in Admin - What does this mean?

    Fin..._zc (92)
    that means you have 92 tables and only one missing i.e. zen_admin_activity_log

    click on _zc and run this sql to create the table

    ----------
    CREATE TABLE `zen_admin_activity_log` (
    `log_id` int(15) NOT NULL auto_increment,
    `access_date` datetime NOT NULL default '0001-01-01 00:00:00',
    `admin_id` int(11) NOT NULL default '0',
    `page_accessed` varchar(80) NOT NULL default '',
    `page_parameters` varchar(150) default NULL,
    `ip_address` varchar(15) NOT NULL default '',
    PRIMARY KEY (`log_id`),
    KEY `idx_page_accessed_zen` (`page_accessed`),
    KEY `idx_access_date_zen` (`access_date`),
    KEY `idx_ip_zen` (`ip_address`)
    ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=67 ;


    -------
    Tutorials on Zen Cart
    http://tutorials.zen-cart.com/index.php
    ---------------
    advanced.programmer at gmail dot com
    In love with Zen Cart!!

  8. #8
    Join Date
    Mar 2006
    Location
    Tennessee
    Posts
    310
    Plugin Contributions
    0

    Default Re: Getting Error in Admin - What does this mean?

    I clicked on the _zc database and it showed this table.

    On that table is listed the ''admin_activity_log" that it's listing in the error.
    Out beside it, under the column "Records" it says "In use" and every thing in the other columns are blank.

  9. #9
    Join Date
    Feb 2006
    Location
    Chicago
    Posts
    1,162
    Plugin Contributions
    0

    Default Re: Getting Error in Admin - What does this mean?

    Go here and let us know the missing table first

    http://www.zen-cart.com/wiki/index.p...atabase_Schema
    Tutorials on Zen Cart
    http://tutorials.zen-cart.com/index.php
    ---------------
    advanced.programmer at gmail dot com
    In love with Zen Cart!!

  10. #10
    Join Date
    Mar 2006
    Location
    Tennessee
    Posts
    310
    Plugin Contributions
    0

    Default Re: Getting Error in Admin - What does this mean?

    It looks like the zen_admin_activity_log is still there, but it's 'hung up' or something.

    Should I still run the SQL you suggested?
    Don't know if it makes a difference or not, my Zen version is 1.2.7 on this site.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v151 sesskey error what does this mean
    By cshart in forum Basic Configuration
    Replies: 7
    Last Post: 12 Jun 2013, 02:43 AM
  2. wHAT DOES THIS ERROR CODE MEAN AND HOW WOULD I FIX THIS?
    By Snaggle in forum General Questions
    Replies: 2
    Last Post: 15 Jun 2011, 10:27 PM
  3. Error 12263 what does this mean?
    By penster in forum General Questions
    Replies: 2
    Last Post: 25 Jan 2008, 04:32 PM
  4. What does this mean in admin?
    By tolefairy in forum General Questions
    Replies: 3
    Last Post: 23 Apr 2007, 04:51 AM

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