I am a bit lost here, everything was fine until last month. The best way I can describe the issue is to list what happened since Nov.8.
I have contacted Zen Cart and they seem to this issue is due to something at my here at FQ.
Perhaps someone with more knowledge can spot what the issue is?
Thanks everyone for any assistance...
Nov 8 (Last backup before FQ moves my site to PHP 5.2.6)
Code:
-- phpMyAdmin SQL Dump
-- version 2.11.4
-- http://www.phpmyadmin.net
--
-- Host: MySQL.mydomain.com
-- Generation Time: Nov 08, 2008 at 03:43 PM
-- Server version: 4.0.27
-- PHP Version: 4.4.4
--
-- Database: `xmydomain-db`
--
-- --------------------------------------------------------
Next Back up Nov 19. Dumped with new version of phpMyAdmin 2.11.9.3 Version compatible with PHP 4+ and MySQL 3+.:
Site seems ok, with no obvious text issues.
Code:
-- phpMyAdmin SQL Dump
-- version 2.11.9.3
-- http://www.phpmyadmin.net
--
-- Host: MySQL.mydomain.com
-- Generation Time: Nov 19, 2008 at 06:15 PM
-- Server version: 4.0.27
-- PHP Version: 4.4.4
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
--
-- Database: `xmydomain-db`
--
-- --------------------------------------------------------
yada yada yada....
) TYPE=MyISAM AUTO_INCREMENT=122 ;
Next Dump Nov 30 same as above.
Dec 1. 2008 I request my db to be moved/upgraded to MySQL 5 by FQ
Dec 3. Next Back up dumped with newer version of phpMyAdmin SQL Dump
-- version 3.1.0 (Version compatible with PHP 5 and MySQL 5.)
Code:
-- phpMyAdmin SQL Dump
-- version 3.1.0
-- http://www.phpmyadmin.net
--
-- Host: MySQL.mydomain.com
-- Generation Time: Dec 03, 2008 at 09:12 AM
-- Server version: 5.0.44
-- PHP Version: 5.2.6
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
--
-- Database: `xmydomain-db `
--
-- --------------------------------------------------------
This code is changed also:
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=122 ;
All data in db converted to UTF-8:
mˆllevÂngsgatan in old db is now möllevångsgatan
Site now showing issues (text encoding).
Browser issues (browser told to see in latin1 Western, when data is UTF-8)
data issues Zen Cart writing in latin1 to a UTF-8 db.
Small freak out

and quick retreat to back to the way things were (FQ please: move my db back to MySQL 4!)
Dec. 5 db now on Server version: 4.0.27-log MySQL client version: 5.0.54 - db Dumped with old version of phpMyAdmin 2.11.9.3 Version compatible with PHP 4+ and MySQL 3+.:
Code:
-- phpMyAdmin SQL Dump
-- version 2.11.9.3
-- http://www.phpmyadmin.net
--
-- Host: MySQL.mydomain.com
-- Generation Time: Dec 05, 2008 at 10:09 AM
-- Server version: 4.0.27
-- PHP Version: 5.2.6
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
--
-- Database: `xmydomain-db`
--
-- --------------------------------------------------------
) TYPE=MyISAM AUTO_INCREMENT=122 ;
Everything back to normal, all data in db back to original latin1 format: (mˆllevÂngsgatan) not (möllevångsgatan) all browsers displaying correctly.
Dec. 19: First new customer with foreign address and text encoding issue reappears:
He enters: Kübeckgasse site displays Kübeckgasse
Address in db: Kübeckgasse which looks like latin1
I email FQ the issue they respond:
Quote:
|
We did not add that code. It is simply the new mysqldump format for MySQL version 5. The problem with PHP is that it must be linked against a specific version of the MySQL client libraries regardless of what version MySQL server your account is using. In the past we left PHP linked against the MySQL version 4 libraries because they worked with either version of the server. In mid-November we started having compatibility issues with the MySQL libraries so we linked PHP against the MySQL version 5 libraries instead of the version 4 libraries. It wouldn't matter which version of MySQL you were actually using at the time.
|
Quote:
The code was added to the mysqldump format my the MySQL v5 client libraries. Since MySQL v4 doesn't support character sets PHP had no idea what the character set was so it assumed the data was the v5 default of UTF-8 and specified that in the mysqldump. However the data itself was really Latin1.
When your databases were upgraded to v5 we ran them through our standard conversion script which actually did convert the data from Latin1 to UTF-8.
|
I can't really make sense of the statements because my db looks like its in latin1 and should be on a MySQL 4 server.
Completely lost now...

I thought I went back to the way it was last month?
Not sure if this means anything but in my Zen cart admin under server info I see PHP Version: 4.4.4 (Zend: 1.3.0) while cnc says PHP Version 5.2.6 Zend Engine v2.2.0 Zend Optimizer v3.2.2