Results 1 to 7 of 7
  1. #1
    Join Date
    Dec 2011
    Posts
    1
    Plugin Contributions
    0

    Default I deleted the Admin Activity Log table

    Hey Everyone,

    I am new to using zencart and when working with the mysqlphp i accidently deleted the admin_activity_log. How can i restore this via manual input?

    Mike

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: I deleted the Admin Activity Log table

    If you're talking about the table CONTENTS, you'll need to restore from backup.

    If you're talking about the whole table, it's also best to restore from backup.


    You could optionally reconstruct it from the original /zc_install/sql/mysql_zencart.sql code, but that's still gonna result in lost data. Best to restore from backup.

    You DO make regular backups of your database, right? And ESPECIALLY before you go mucking about with the raw database data ... right?
    .

    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
    Mar 2011
    Posts
    364
    Plugin Contributions
    0

    Default Re: I deleted the Admin Activity Log table

    Can you not just go into the install db and setup the table structure in phpmyadmin as it is in the install db? Do you really need data in there? I thought that data is just a log of admin activity and is regularly deleted anyways.

  4. #4
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: I deleted the Admin Activity Log table

    The log of admin activity comes in very handy if you ever get hacked.

  5. #5
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: I deleted the Admin Activity Log table

    It's required for PCI compliance reasons, as an audit trail of who's been accessing what.
    .

    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.

  6. #6
    Join Date
    Mar 2011
    Posts
    364
    Plugin Contributions
    0

    Default Re: I deleted the Admin Activity Log table

    So we should export it and save it for how long? Because that table does get big quick. TIA.

  7. #7
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: I deleted the Admin Activity Log table

    The "Implementation Guide" included with v1.5.0 (and newer) includes guidance on that topic.
    I believe the recommendation is 12 months.
    .

    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.

 

 

Similar Threads

  1. Replies: 4
    Last Post: 13 Nov 2016, 11:03 PM
  2. Replies: 9
    Last Post: 27 Jul 2010, 09:54 PM
  3. Admin Activity Log table
    By dealbyethan.com in forum General Questions
    Replies: 9
    Last Post: 20 Oct 2009, 08:50 PM
  4. WARNING: The Admin Activity Log table has records over 2 months old and...
    By Agent_KGB in forum Customization from the Admin
    Replies: 1
    Last Post: 28 Mar 2009, 04:50 PM
  5. WARNING: Admin Activity Log table ?
    By Kenada in forum Customization from the Admin
    Replies: 2
    Last Post: 22 Jan 2007, 06:30 PM

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