Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1

    Default Customer history for last 10 days error

    After upgrade to 1.3.9f, the history on the Admin page will show data from today on all 10 days. Each date will show todays data. Not a biggie but I am annoyed a little that it is not right.
    Getting Zenned was the best thing I ever did for my website!
    www.cindyscinnamon.com\shopnow

  2. #2
    Join Date
    Jan 2004
    Posts
    58,460
    Blog Entries
    3
    Plugin Contributions
    111

    Default Re: Customer history for last 10 days error

    PHP version?
    MySQL version?
    What process did you use to upgrade?
    Any errors encountered in upgrade process?
    Any warnings during the zc_install database-upgrade steps?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3

    Default Re: Customer history for last 10 days error

    actually, each date is todays date! Each of the 10 slots duplicate todays data
    Getting Zenned was the best thing I ever did for my website!
    www.cindyscinnamon.com\shopnow

  4. #4

    Default Re: Customer history for last 10 days error

    SQL version is 5.1.47 community log
    Php version is 5.2.13

    Used Simple Scripts to upgrade

    yes, had a few probs, but were actually easily solved with help from forum.

    warning at upgrade was only that I had not re-named admin folder
    Getting Zenned was the best thing I ever did for my website!
    www.cindyscinnamon.com\shopnow

  5. #5
    Join Date
    Jan 2004
    Posts
    58,460
    Blog Entries
    3
    Plugin Contributions
    111

    Default Re: Customer history for last 10 days error

    They (the automated upgrade tool you used) probably broke your counter-history table.
    You'll likely have to dump it, losing all the data, and then recreate it again to catch new data correctly.

    (We always recommend NOT using automated upgrade tools, since they typically break things badly.)
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #6

    Default Re: Customer history for last 10 days error

    Ok, what are the steps I need to take to accomplish this?
    Getting Zenned was the best thing I ever did for my website!
    www.cindyscinnamon.com\shopnow

  7. #7

    Default Re: Customer history for last 10 days error

    Again, I ask.....how do I reset counter history?
    Getting Zenned was the best thing I ever did for my website!
    www.cindyscinnamon.com\shopnow

  8. #8
    Join Date
    Jan 2004
    Posts
    58,460
    Blog Entries
    3
    Plugin Contributions
    111

    Default Re: Customer history for last 10 days error

    1. NEVER use an automated upgrade tool again.

    2. Run this via phpMyAdmin:
    Code:
    DROP TABLE IF EXISTS counter_history;
    CREATE TABLE counter_history (
      startdate char(8) default NULL,
      counter int(12) default NULL,
      session_counter int(12) default NULL,
      PRIMARY KEY  (startdate)
    ) ENGINE=MyISAM;
    If your database is using some sort of table-prefix, insert that before "counter_history" in both places, before running it.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  9. #9
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    75
    Plugin Contributions
    0

    Default Re: Customer history for last 10 days error

    I just wanted to know if this fixed the problem? I have 3 stores that have been upgraded to 1.3.9f and they all have the same problem.

  10. #10
    Join Date
    May 2008
    Location
    orlando, florida
    Posts
    24
    Plugin Contributions
    0

    Default Re: Customer history for last 10 days error

    I use Google Analytics for measuring visits, etc. Are there any ramifications if I simply comment out the require(DIR_WS_INCLUDES . 'counter.php'); line in the includes/application_top.php file?

    This query is causing issues with locking the database each time it makes a query and is causing MySQL issues. I'm running a lot of other processes on the server and this may help speed things up.

    Please let me know if commenting this line would affect anything else that I'm not aware of.

    Thank you!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 14
    Last Post: 6 May 2010, 05:20 PM
  2. Can I force customer password changes every X days?
    By monkeyjr47906 in forum Managing Customers and Orders
    Replies: 0
    Last Post: 23 Jul 2009, 03:59 PM
  3. Counter History for last 10 recorded days
    By asklair in forum General Questions
    Replies: 5
    Last Post: 26 Sep 2008, 03:49 AM
  4. Counter History for last 10 record days
    By nomadrw in forum General Questions
    Replies: 2
    Last Post: 20 Nov 2007, 11:18 PM
  5. counter history last 10 days...
    By dandiliongrl12 in forum General Questions
    Replies: 1
    Last Post: 19 Apr 2007, 10:28 PM

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
  •