I'm in the process of a Zen Cart 1.3.9h -> 1.5.5b upgrade. The site owner had asked me to check on "blank descriptions" being displayed in the products' admin and, sure enough, the issue was still present after the upgrade, running PHP 5.6.
When performing the upgrade, I did all the file copies/merges and then used zc_install to first update the configure.php files to the new format and then perform the database upgrade. When I inspected the configure.php files generated, both the admin and the storefront versions included the following statement:
Code:
define ('DB_CHARSET', '');
Yep, set to a null-string ... not utf8 or latin1. Once I properly set the DB_CHARSET to utf8, those product descriptions started displaying in the admin.
Note, too, that the DB_CHARSET value was initially defined in Zen Cart 1.5.0 ... so the ZC 1.3.9h version of the file didn't contain such a statement. I believe that that's the "cause" of the issue: the upgrade-configure-files handling isn't accounting for the fact that the DB_CHARSET definition might not pre-exist.
Bookmarks