Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    May 2008
    Posts
    2
    Plugin Contributions
    0

    Default [Done v1.3.9a] Duplicate Counter History for last 10 recorded days Session - Total

    Zen Cart 1.3.8a
    Database Patch Level: 1.3.8
    v1.3.8 [2008-04-18 19:58:08] (Fresh Installation)

    I logged in to my admin area today 14 March 2009 and noticed that the "Counter History for last 10 recorded days Session - Total" section was showing the same record twice (the current days totals) ans when I opened the actual site to increase the counter both of the entries changed, so they are both live just duplicating. This is the first time it has done this.

    No work has been done on the site for about 5 months and all has been working perfectly normal.

    The site has been up and running since May 2008.

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

    Default Re: Duplicate Counter History for last 10 recorded days Session - Total

    Check your table counter_history via phpMyAdmin ...

    You should have 1 record per day in there ...
    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
    May 2008
    Posts
    2
    Plugin Contributions
    0

    Default Re: Duplicate Counter History for last 10 recorded days Session - Total

    Hi
    Thanks for the reply.

    I had a look at the counter_history using phpmyadmin and to be honest I didn't really have a clue what I was looking at.

    I have attached a Screen Print of the problem so you can see exactly what I am trying to describe.

    Thank you for your help.
    Attached Images Attached Images  

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

    Default Re: Duplicate Counter History for last 10 recorded days Session - Total

    Did you recently do something to alter your date format?
    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
    Jul 2009
    Posts
    1
    Plugin Contributions
    0

    Default Re: Duplicate Counter History for last 10 recorded days Session - Total

    Similar thing here. I have 4 repetitions of the last, 7/28/2009, record in my counter history. Didn't play with ZenCart settings recently. The only thing I rutinely do is a manual update of currency exchenge rates.

    Cheers!

  6. #6
    Join Date
    Apr 2007
    Location
    Manchester, NH
    Posts
    52
    Plugin Contributions
    0

    Default Re: Duplicate Counter History for last 10 recorded days Session - Total

    I got a triplication of the lines. Changes were adding Google Base Feeder and coupons. CounterHistory has 3 entries for the triplicated date. The USA as a zone was added but I'm pretty sure that was after the records triplicated.

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

    Default Re: Duplicate Counter History for last 10 recorded days Session - Total

    I have seen this a few times but have not been able to duplicate how it is happening ...

    Other than cleaning the duplicates out of the database manually, I don't really have a solution to this at this time ...
    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!

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

    Default Re: Duplicate Counter History for last 10 recorded days Session - Total

    The problem is caused by a race condition in includes/counter.php , in particular the logic for adding new daily records if a record does not already exist.

    If the code is called twice at approximately the same time two records will be created. One trigger is Yahoo which will often launch multiple spiders on a site at exactly the same time. If this happens just after midnight you can end up with multiple counter records.

    Regards,
    Christian.

  9. #9
    Join Date
    Feb 2008
    Location
    Washington State
    Posts
    236
    Plugin Contributions
    0

    Default Re: Duplicate Counter History for last 10 recorded days Session - Total

    ... so is there a "fix" for this? During the past week I have two sets of duplicate "Counter History for last 10 recorded days".

    Some sort of code to clean up the duplicate(s) if it was to happen by a multiple Yahoo spider or Googlebot?
    ~ jasmel : My Store Using Contributions: Wallet Theme | Simple Google | Quantity Discounts | Godaddy | FAQ's | Confirm Email Address Entry | Admin login as customer | Newsletter Subscribe | CampaingMonitor

  10. #10
    Join Date
    Feb 2008
    Location
    Tampa, FL
    Posts
    47
    Plugin Contributions
    0

    Default Re: [Done v1.3.9] Duplicate Counter History for last 10 recorded days Session - To

    Hey there everyone. I just ran into this issue today as well... and was wondering as the poster above me did if there was any more traction on this?

    Thanks,
    ~Iggy

    EDIT:
    For anyone else that has this problem, I just wanted to say that deleting just one of the duplicate rows via phpMyAdmin was easy and took care of this "anomaly" for us.
    Last edited by Iggy73; 20 Feb 2010 at 01:22 AM.
    SweetLexi.com
    The Chic Boutique

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v155 How to proper read the Counter History for last 10 recorded days
    By mesnitu in forum General Questions
    Replies: 4
    Last Post: 21 Jun 2016, 07:55 PM
  2. v139h Counter History for last 10 recorded days Session - Total
    By explorer1979 in forum General Questions
    Replies: 2
    Last Post: 23 Mar 2015, 02:14 PM
  3. Counter History for last 10 recorded day’s Session - Total
    By I wish I could in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 25 Aug 2012, 08:40 AM
  4. Counter History for last 10 days
    By Donna Joe in forum General Questions
    Replies: 4
    Last Post: 12 Apr 2011, 01:28 PM
  5. Counter History for last 10 recorded days
    By asklair in forum General Questions
    Replies: 5
    Last Post: 26 Sep 2008, 03:49 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