Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Oct 2007
    Posts
    241
    Plugin Contributions
    0

    help question Snapshot vs. Site File Monitor Admin Add-on

    I am interested in keeping track of files on my cart.

    With that said, i checked out the add-ons, and found two that seemed to be solutions:

    Site File Monitor


    and

    Snapshot

    They seem the same, mostly. As far as the documentation showed, the biggest difference is that Site File Monitor can be run as a cron job, besides manually through the Admin. (Maybe the other can as well? It didn't say so, though.)

    Anyone have any experience with these modules?

    I tried installing the SnapShot module, but couldn't.

    The SQL commands are in a PHP file, and wouldn't work. It seems the DB is not being accessed with my two letter prefix before the database name. Any help with that would be great, also...

    Unless I should just skip to the other module....and proceed from there...

  2. #2
    Join Date
    Jun 2008
    Location
    Washington, DC
    Posts
    789
    Plugin Contributions
    7

    Default Re: Snapshot vs. Site File Monitor Admin Add-on

    Snap Shot has some of sitemonitor code so yes the both of them are similar.

    I tried installing the SnapShot module, but couldn't.

    The SQL commands are in a PHP file, and wouldn't work. It seems the DB is not being accessed with my two letter prefix before the database name. Any help with that would be great, also...
    install-sql-snapshot-v1.php uses application_top.php so that should load zc database info. You are running it in your named-admin folder?

    There is a support thread but there is not much in it.
    http://www.zen-cart.com/forum/showthread.php?t=118261

    Skip
    • 446F63746F722057686F •

  3. #3
    Join Date
    Oct 2007
    Posts
    241
    Plugin Contributions
    0

    Default Re: Snapshot vs. Site File Monitor Admin Add-on

    Quote Originally Posted by Donn View Post
    I am interested in keeping track of files on my cart.

    With that said, i checked out the add-ons, and found two that seemed to be solutions:

    Site File Monitor


    and

    Snapshot

    They seem the same, mostly. As far as the documentation showed, the biggest difference is that Site File Monitor can be run as a cron job, besides manually through the Admin. (Maybe the other can as well? It didn't say so, though.)

    Anyone have any experience with these modules?

    I tried installing the SnapShot module, but couldn't.

    The SQL commands are in a PHP file, and wouldn't work. It seems the DB is not being accessed with my two letter prefix before the database name. Any help with that would be great, also...

    Unless I should just skip to the other module....and proceed from there...
    OK....I finally had the time to look at this once again.

    I am learning to work with MYSQL slowly....

    I see what was wrong:
    My cart's database has a prefix on it.

    When I went in and added 'R5_' (the prefix I used) to all the occurences of the named tables in the install-sql-snapshot-v1.php install file, such as configuration_group (to---> R5_configuration_group), I re-ran the php file by pointing my browser at it, as specified in the instructions, and it worked.

    I also see now I could have extracted the SQL and executed them with ZC, or on the server database utility.

    so....
    IF YOUR DATABASES USE A PREFIX, YOU MUST ALTER THE PHP FILE TO USE THIS MOD AS-IS**

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Snapshot vs. Site File Monitor Admin Add-on

    That is a common recommendation: copy and paste the SQL in ZC admin > Tools > Install SQL Patches, and run it that way. This automatically adds the correct prefix if needed without you having to think about it.

 

 

Similar Threads

  1. Setting up a cron job for the Snapshot add-on?
    By RescoCCC in forum All Other Contributions/Addons
    Replies: 11
    Last Post: 3 Jan 2012, 06:19 PM
  2. Site File Monitor mod timeout error.
    By RescoCCC in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 20 Dec 2011, 12:20 AM
  3. Site file Monitor (Error)
    By rlexyd in forum All Other Contributions/Addons
    Replies: 8
    Last Post: 20 May 2010, 09:15 PM
  4. site file monitor by redmond
    By 100asa in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 6 May 2010, 05:46 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