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.![]()
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
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.
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
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
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.
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
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
1. NEVER use an automated upgrade tool again.
2. Run this via phpMyAdmin:If your database is using some sort of table-prefix, insert that before "counter_history" in both places, before running it.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;
.
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.
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.
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!
Bookmarks