Counter History repeating dates on each visit
I've searched through the forums with little or no solution to my prob - so sending out an SOS!
I've just recently upgraded from 1.3.8 to 1.3.9h, very time consuming, but slowly, and finally, it all looks ok. APART FROM - the counter history table in my admin repeats on each page visit by a customer.
Whereas it should read:
14/12/11 500 - 800
13/12/11 400 - 600
12/12/11 700 - 900 etc
14/12/11 2 - 4
14/12/11 2 - 4
etc etc ad nauseum
The counter works, and increases one per visit, but adds another line for 14/12/11 (or relevant date) rather than just keeping it one line per day.
I've checked the counter_history table in the db and it also reflects this, and has only been doing this since yesterday (when i added google analytics mod incidentally, and moved everything from 'demo' to 'live' as suggested in the upgrade process.)
Would I have missed something when updating the configure files? I've checked and double checked but i'm stuck! Is it a simple cache clearing required?
I know this is really a minor irritation but i'd like to clear it up!
Any help appreciated,
Re: Counter History repeating dates on each visit
I've tracked down the solution!
I went into phpMyadmin and selected counter_history table.
I scanned through the entries, deleting each duplicate line.
I then selected 'structure' under the counter_history table.
I then clicked the yellow key titled 'primary key' to the right of the 'startdate' line.
Presto! No more duplicates!
By chris21 in forum General Questions
Last Post: 30 Jul 2011, 02:56 PM
By valerie6128 in forum General Questions
Last Post: 28 Jun 2011, 05:55 PM
By wwwursa in forum General Questions
Last Post: 19 Oct 2010, 03:11 PM
By iang000 in forum General Questions
Last Post: 6 Nov 2008, 08:43 PM
By eddie90000 in forum Templates, Stylesheets, Page Layout
Last Post: 6 Nov 2008, 04:26 AM
Content and Graphics Copyright (c) 2003 - 2016 Zen Ventures, LLC - all rights reserved
Zen Cart® is a Registered Trademark of Zen Ventures, LLC