If you don’t have errors during installation - I think it’s not tokenizer fault.
I tried doing a fresh install of MODx 1.0.1 on my server, in a different area, using a newly-created MySQL database. Everything was installed correctly, and I’m not seeing the warnings I saw earlier.
At the moment, I’m left wondering if there’s something wrong with the upgrade procedure. My main installation was installed as a 0.9.6 and was upgraded to 1.0.0 and then 1.0.1.
Is there anything else that could possible affect this? Character set configuration for the database or something?
Is there a way of doing a fresh install and then importing all the MySQL data from the live site?
Do you have errors after fresh install from svn?
-
MODX Staff
- 12,272 Posts
You might try changing to a SET NAMES connection method using the advanced upgrade option. There’s a remote chance it’s actually a character set/collation mismatch on the existing database. The default server configuration now might be set to UTF-8, but that doesn’t always mean the specific databases were originally created that way, especially since you’re coming from 0.9.6 from WAY back when.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
Ryan, I am suffering from exactly the same problem with this "invalid" character input" on two modx installation. The other 9 installations I take care of work perfectly fine. I tried reinstalling, using another set of Evo-101 sources but no chance. Even changing the connection method to "SET NAMES" doesn’t help. Really weird
That solution doesn’t appear to have worked for me either. I’m still investigating.
For what it’s worth, here’s some of my MySQL server variables:
[table]
[tr][td]character set client[/td][td]utf8[/td][/tr]
[tr][td]character set connection[/td][td]utf8[/td][/tr]
[tr][td]character set database[/td][td]utf8[/td][/tr]
[tr][td]character set filesystem[/td][td]binary[/td][/tr]
[tr][td]character set results[/td][td]utf8[/td][/tr]
[tr][td]character set server[/td][td]utf8[/td][/tr]
[tr][td]character set system[/td][td]utf8[/td][/tr]
[tr][td]character sets dir[/td][td]/usr/share/mysql/charsets/[/td][/tr]
[tr][td]collation connection[/td][td]utf8_unicode_ci[/td][/tr]
[tr][td]collation database[/td][td]utf8_unicode_ci[/td][/tr]
[tr][td]collation server[/td][td]utf8_unicode_ci[/td][/tr]
[/table]