.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
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.
Yes DrByte. You beat me to confessing that the DBcharset converter was found to have inserted invisible characters (possibly randomly different & invisible) that were originally blank in the price_prefix and weight_prefix of the products_attributes table. If I knew those were the only invisible gremlins resulting from the use of the DBconverter, I would probably make the edits and keep the UTF8 version. Since I can't do that, I'll step back and just not use the converter.
After using the charset converter, I had looked through the DB for out of place characters and seeing none had thought all was fine.
Thankfully, Ajeh saved my bacon & figured it out while still in the sandbox. It would have been a bugger to correct if discovered weeks or months after going live.
I learned something to put in my "do not do or look for invisible gremins" memory.
I forgot how long it takes to restore the database and website files with a 1Mb connection.
Ajeh also found/fixed an unrelated problem with the 'keep_alive' timer that should not have existed. The website and DB backups were made immediately prior to installing keep_alive. Restoring the backup files did not remove all traces of keep_alive for some reason.
Last edited by RixStix; 27 Jun 2014 at 02:28 PM.
Rick
RixStix (dot) com
aka: ChainWeavers (dot) com
coffee, donuts and a movie sent your way. TNX for the assist.
Rick
RixStix (dot) com
aka: ChainWeavers (dot) com
Wow. Thanks for your generous support.
If you have a copy of that old unconverted database in a zip file on a server somewhere, PM me with a link where I can download it for some testing, and I'll see if I can fix up whatever was missing from the script. No urgency to it ... just whenever you have some time.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
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.
Thanks for sending me a test dataset.
I've confirmed that my beta utility does indeed fall short in handling those specific fields. Haven't determined "why". BUT there is a good workaround.
I tested a_berezin's convert_db2utf8.php utility http://www.zen-cart.com/downloads.php?do=file&id=1318 and it handles the data just fine. (It uses a different conversion strategy, which puts the onus on the MySQL server to do all the conversion logic, instead of on PHP like mine did.)
So, I'm recommending that a_berezin's utility be used instead of mine.
I also just posted an update to a_berezin's plugin to make it compatible with PHP 5.4-5.6
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
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.
Thank you DrByte.
Rick
RixStix (dot) com
aka: ChainWeavers (dot) com