Results 1 to 10 of 18

Hybrid View

  1. #1
    Join Date
    Jan 2008
    Posts
    1,700
    Plugin Contributions
    6

    Default Re: Admin Activity Report [support thread]

    Thanks ccembd, I'm pleased you found it useful. You mentioned that the reset function doesn't work. Could you describe what happens? And does this happen for both pages?

  2. #2
    Join Date
    Apr 2008
    Location
    Calif
    Posts
    85
    Plugin Contributions
    0

    Default Re: Admin Activity Report [support thread]

    When I used the reset button actually nothing happened. It didn't reset. It successfully reset when I used the reset button in Tools: Store Manager. I verfied this by going back and opening the Admin Activity Log which I now have thanks to you.

    Hope this helps,
    Cat

  3. #3
    Join Date
    Jan 2008
    Posts
    1,700
    Plugin Contributions
    6

    Default Re: Admin Activity Report [support thread]

    Yep it does help It's an interesting issue because the reset function has worked for others. I'm wondering whether it could be a database prefix problem. Anyway I'll have a proper look and see if I can figure out what might be wrong.

  4. #4
    Join Date
    Jan 2008
    Posts
    1,700
    Plugin Contributions
    6

    Default Re: Admin Activity Report [support thread]

    Okay I think this might work.

    In the following file:
    admin/stats_admin_activity.php

    Find:
    PHP Code:
    $db->Execute("delete from " TABLE_ADMIN_ACTIVITY_LOG);
    $db->Execute("optimize table " TABLE_ADMIN_ACTIVITY_LOG); 
    Change to:
    PHP Code:
    $db->Execute("delete from " TABLE_ADMIN_ACTIVITY);
    $db->Execute("optimize table " TABLE_ADMIN_ACTIVITY); 
    If it does work, you'll need to make the same change to:
    admin/stats_admin_activity_all.php

    Either way, let me know.

  5. #5
    Join Date
    Feb 2008
    Posts
    4
    Plugin Contributions
    0

    Default Re: Admin Activity Report [support thread]

    I also had problems getting reset to work, here's how i fixed mine ->

    -- Files --
    admin/stats_admin_activity.php
    admin/stats_admin_activity_all.php

    Replaced the top part just after the include of application_top.php


    PHP Code:
    // added by Jinson on 12th July 2008. Because this script was
    // originally written expecting register globals to be on
    $action $_GET['action'];

    switch(
    $action) {

    // clean out the admin_activity_log
        
    case 'clean_admin_activity_log':
          
    $db->Execute("delete from " TABLE_ADMIN_ACTIVITY);
          
    $db->Execute("optimize table " TABLE_ADMIN_ACTIVITY);
          
    $messageStack->add_session(SUCCESS_CLEAN_ADMIN_ACTIVITY_LOG'success');
          unset(
    $_SESSION['reset_admin_activity_log']);
          
    zen_redirect(zen_href_link(stats_admin_activity));
        break;
        } 
    // eof: action
    unset($action); 

  6. #6
    Join Date
    Jan 2008
    Posts
    1,700
    Plugin Contributions
    6

    Default Re: Admin Activity Report [support thread]

    Thanks Jinson, that's a big help.

    Have you uploaded this change to the contributions area?

  7. #7
    Join Date
    Jan 2008
    Posts
    1,700
    Plugin Contributions
    6

    Default Re: Admin Activity Report [support thread]

    Ok I have uploaded the suggested change.

    Should be approved within the next couple of days.

    Hopefully that's the end of the reset problems.

 

 

Similar Threads

  1. v152 Support Thread: Report All Errors (Even Warnings)
    By lat9 in forum Addon Admin Tools
    Replies: 34
    Last Post: 1 Feb 2020, 05:42 PM
  2. v151 Sales Report with Graphs support thread
    By JacobBushnell in forum Addon Admin Tools
    Replies: 17
    Last Post: 25 Jul 2019, 02:27 PM
  3. v153 Linked Products Report [Support Thread]
    By lat9 in forum All Other Contributions/Addons
    Replies: 11
    Last Post: 11 Jun 2015, 09:52 PM
  4. Business Activity Report 1.5.0 Support Thread
    By gharls in forum All Other Contributions/Addons
    Replies: 23
    Last Post: 6 Apr 2012, 11:12 PM
  5. Admin Activity Report not shown
    By Hell Guapo in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 21 Nov 2011, 07:01 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