Results 1 to 7 of 7
  1. #1
    Join Date
    May 2006
    Posts
    102
    Plugin Contributions
    0

    Default Search Log (v2.0) Add-on for Zen Cart

    Hi
    i just finish to install Search Log (v2.0) but I have a problem:
    wend I press in Search Log Admin and I press Delete Search Records go see the Search Log and reports still in visibles.

    secound problem is the offset time, the server have diferent time from my country.

  2. #2
    Join Date
    Apr 2007
    Location
    Herts. UK
    Posts
    890
    Plugin Contributions
    4

    Default Re: Search Log (v2.0) Add-on for Zen Cart

    Quote Originally Posted by dinix View Post
    i just finish to install Search Log (v2.0) but I have a problem:
    wend I press in Search Log Admin and I press Delete Search Records go see the Search Log and reports still in visibles.
    By default it keeps the last 7 days worth of searches. Enter 0 in the 'older than x days' box to delete all records.

    Quote Originally Posted by dinix View Post
    secound problem is the offset time, the server have diferent time from my country.
    If you are in a different time zone to your host then you will need to set the locale correctly in you main language file, e.g. admin/includes/languages/english.php if you are using english.

    There is also a Time Zone Offset mod in the downloads area...
    http://www.zen-cart.com/index.php?ma...roducts_id=145
    ...that maybe what you need.

    Regards,
    Christian.

  3. #3
    Join Date
    May 2006
    Posts
    102
    Plugin Contributions
    0

    Default Re: Search Log (v2.0) Add-on for Zen Cart

    Tanks for the answer but I try to put 0 press delete and the records remain.

  4. #4
    Join Date
    Apr 2007
    Location
    Herts. UK
    Posts
    890
    Plugin Contributions
    4

    Default Re: Search Log (v2.0) Add-on for Zen Cart

    Quote Originally Posted by dinix View Post
    Tanks for the answer but I try to put 0 press delete and the records remain.
    How odd. Can you tell me what version of Zen Cart you are using and which version of PHP and MySQL?

    Many thanks,
    Christian.

  5. #5
    Join Date
    May 2006
    Posts
    102
    Plugin Contributions
    0

    Default Re: Search Log (v2.0) Add-on for Zen Cart

    Zen-cart Version: 1.3.8a
    Database: MySQL 5.0.45-community-log
    PHP Version: 5.2.5 (Zend: 2.2.0)

  6. #6
    Join Date
    Dec 2007
    Posts
    126
    Plugin Contributions
    0

    Default Re: Search Log (v2.0) Add-on for Zen Cart

    I didn't even realize there was a new version.

    I just updated and everything seems to work fine!

    Thanks!

  7. #7
    Join Date
    Aug 2008
    Posts
    4
    Plugin Contributions
    0

    Default Re: Search Log (v2.0) Add-on for Zen Cart

    Quote Originally Posted by CJPinder View Post
    If you are in a different time zone to your host then you will need to set the locale correctly in you main language file, e.g. admin/includes/languages/english.php if you are using english.

    There is also a Time Zone Offset mod in the downloads area...
    http://www.zen-cart.com/index.php?ma...roducts_id=145
    ...that maybe what you need.
    Hello everyone,

    Does anyone have Search Log v2.0 working with v1.3.8a of the Time Zone Offset mod by Gilby?
    http://www.zen-cart.com/index.php?ma...roducts_id=145

    Whilst the Time Zone Offset mod offsets all other times correctly, the Search Log still shows the incorrect time.
    In an unsuccessful attempt to resolve this, the following change was made, however, new searches still do not show the offset time.

    \includes\classes\observers\class.search_log.php

    Line 47 - Changed from:
    Code:
    $sql = 'insert into ' .DB_PREFIX. 'search_log (search_term, search_time, search_results) values (:searchTerm,now(),:searchResults)';
    To:
    Code:
    $sql = 'insert into ' .DB_PREFIX. 'search_log (search_term, search_time, search_results) values (:searchTerm,date_add(now(), INTERVAL " . TIME_ZONE_OFFSET . " HOUR),:searchResults)';
    Can anyone advise what other changes in addition to, or instead of the above, are required to fix this?
    If relevant, Zen Cart is v1.38a, PHP is v5.2.6 and MySQL is v5.0.51a-community

    Testing on an otherwise clean installed Zen Cart with correct locale setting, and only the Search Log and Time Zone Offset mods installed shows the problem remains, and is seemingly not related to any incompatibility with other mods.

    Many thanks,
    Edward McDougle.

 

 

Similar Threads

  1. Same Log In name for Zen Cart & PhpBB?
    By jvalent in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 28 Aug 2008, 03:24 PM
  2. Replies: 4
    Last Post: 30 Oct 2006, 12:59 PM

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