Results 1 to 6 of 6
  1. #1
    Join Date
    Dec 2006
    Posts
    3
    Plugin Contributions
    0

    Default What happens when I reset my activity log?

    Will all my previous customers and resent sales dissapear when I reset my activity log? How do I back-up this information if so?

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: What happens when I reset my activity log?

    They activity log is your admin_activity_log table ... this records what happens in the Admin for reference etc.

    When it gets 50,000 records or is 60 days old, a warning will remind you to clean it up ...

    As it can get large ... it is a good idea to do so ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Dec 2006
    Posts
    3
    Plugin Contributions
    0

    Default Re: What happens when I reset my activity log?

    So will all my customers information will still be stored under the customer drop down menu?

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: What happens when I reset my activity log?

    The only table touched is the admin_activation_log

    It is not used by anything in Zen Cart other than a way to log activity in the Admin ...

    Emptying it has no effect on any of your data other than you are eliminating admin tracking which is only there incase of a problem where you want to see what was being done at a given time or date and by whom ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Dec 2006
    Posts
    3
    Plugin Contributions
    0

    Default Re: What happens when I reset my activity log?

    Cool thanks a bunch! I just didn't want lose any info for tax purposes and stuff.

  6. #6
    Join Date
    Apr 2006
    Location
    Labuan Island
    Posts
    361
    Plugin Contributions
    2

    Default What happens when I reset my activity log?

    When you click that reset button just 5 lines of code are executed.

    1. $db->Execute("delete from " . TABLE_ADMIN_ACTIVITY_LOG); These delete all entries from the activity log table

    2. $db->Execute("optimize table " . TABLE_ADMIN_ACTIVITY_LOG); This compresses that table down to reclaim the space it occupied

    3. $messageStack->add_session(SUCCESS_CLEAN_ADMIN_ACTIVITY_LOG, 'success'); This logs that you did it

    4. unset($_SESSION['reset_admin_activity_log']); This clears a session variable needed to warn you it needed doing

    5. zen_redirect(zen_href_link(FILENAME_STORE_MANAGER)); This refreshes the store_manager page

    I hope that make sense and yet you are advice to do a BACKUP of your databases before you do the reseting!!!
    Last edited by tajul_ashyqin; 15 Dec 2006 at 10:11 AM.
    [FONT=Comic Sans MS]"Whether you think you can, or you think you can't... YOU ARE RIGHT."[/FONT]
    [FONT=Comic Sans MS]GOOD LUCK !!![/FONT]

 

 

Similar Threads

  1. v138a Admin Activity Log: What Happens If I Ignore The Warning??
    By tmt1630 in forum General Questions
    Replies: 3
    Last Post: 1 Dec 2012, 02:10 PM
  2. Replies: 1
    Last Post: 19 Sep 2012, 03:54 AM
  3. Reset the Admin Activity Log error
    By JC.M in forum Basic Configuration
    Replies: 1
    Last Post: 24 Nov 2010, 06:49 AM
  4. Admin Login page redirects to itself, since I reset admin activity log
    By beep in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 27 Jan 2010, 01:08 PM
  5. What happens when paypal payment is processed?
    By Muzz in forum PayPal Express Checkout support
    Replies: 0
    Last Post: 4 Sep 2009, 06:22 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