davidm Reply #1, 3 years, 7 months ago
I upgraded nodeo.net everything went fine except for this character set issue in the backend.
The value for $database_connection_charset has always been utf8 in config.inc.php.
Edit : my bad, I checked in phpMyAdmin the collation of my database is in latin1_swedish_ci !
I'll re-run the installer in advanced mode. Or can I change the db collation manually ?
Edit 2 : I re-run the installer since I don't know where I can reset the database collation (not in config.inc.php
).
I choose the right collation this time (latin1_swedish_ci) and still the appropriate connection charset which is utf8.
Only problem is, the config.inc.php was written this way by the installer
Thus when I logged into MODx after running the upgrade it looked like nothing had been fixed.
I just changed $database_connection_charset = ''; to $database_connection_charset = 'utf8 '; and now everything is fine
Would there be a problem when the connection charset is not "aligned" with the collation (asking a dumb question since I understand nothing at all this !!!) ?
The value for $database_connection_charset has always been utf8 in config.inc.php.
Edit : my bad, I checked in phpMyAdmin the collation of my database is in latin1_swedish_ci !
I'll re-run the installer in advanced mode. Or can I change the db collation manually ?
Edit 2 : I re-run the installer since I don't know where I can reset the database collation (not in config.inc.php
).I choose the right collation this time (latin1_swedish_ci) and still the appropriate connection charset which is utf8.
Only problem is, the config.inc.php was written this way by the installer
$database_connection_charset = ''; $database_connection_method = 'SET CHARACTER SET';
Thus when I logged into MODx after running the upgrade it looked like nothing had been fixed.
I just changed $database_connection_charset = ''; to $database_connection_charset = 'utf8 '; and now everything is fine
Would there be a problem when the connection charset is not "aligned" with the collation (asking a dumb question since I understand nothing at all this !!!) ?
in advanced install. That's why I said :