View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006203 | OXID eShop (all versions) | 4.01. Database handling | public | 2015-07-27 13:53 | 2015-07-28 09:17 |
Reporter | mantas.vaitkunas | Assigned To | |||
Priority | low | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.9.0 / 5.2.0 | ||||
Fixed in Version | 4.9.6 / 5.2.6 | ||||
Summary | 0006203: sDefaultDatabaseConnection config option default value is not set | ||||
Description | Config option sDefaultDatabaseConnection value should not be empty. If mysql server default collation is utf8 and eShop has these config options: iUtfMode = '0'; sDefaultDatabaseConnection = ''; After eShop setup umlauts will be broken. | ||||
Steps To Reproduce | 1) Change MySQL defaults: Edit /etc/mysql/my.cnf and add under [mysqld]: collation_server=utf8_unicode_ci character_set_server=utf8 Don't forget to restart mysql server. 3) Run shop setup (Do not use UTF-8 character encoding) 4) Check umlauts | ||||
Additional Information | Possible fix: Change default value for config option sDefaultDatabaseConnection from: $this->sDefaultDatabaseConnection = ''; to: $this->sDefaultDatabaseConnection = 'latin1'; | ||||
Tags | No tags attached. | ||||
Theme | Not defined | ||||
Browser | Not defined | ||||
PHP Version | Not defined | ||||
Database Version | Not defined | ||||
child of | 0002937 | resolved | Linas Kukulskis | Missing "SET NAMES latin1 " in function getDb() - file /core/oxdb.php |