cpg1.6.08 & phpbb3.2 Demaged Cyrilic usernames cpg1.6.08 & phpbb3.2 Demaged Cyrilic usernames
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

cpg1.6.08 & phpbb3.2 Demaged Cyrilic usernames

Started by DmitryFeod, March 22, 2020, 05:20:28 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DmitryFeod

All comments and albums normalized after add in
.../include/config.inc.php
$CONFIG['dbcharset'] = 'utf8';

but Cyrilic usernames is wrong symbols.
Please help fix it.

ron4mac

For now, try:

In the file: bridge/udb_base.inc.php

at about line 40, change
$this->dbObj = new CPG_Dbase( array(
'dbtype' => $CONFIG['dbtype'],
'dbserver' => $this->db['host'],
'dbuser' => $this->db['user'],


to
$this->dbObj = new CPG_Dbase( array(
'dbtype' => $CONFIG['dbtype'],
'dbcharset' => 'utf8', // <- add this line
'dbserver' => $this->db['host'],
'dbuser' => $this->db['user'],


Please let us know the results.  If this corrects your issue, it will be resolved in a better way in the next CPG release.

DmitryFeod

Tnx. It's work now
Really few hours ago I am find this decision