Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: cpg1.6.08 & phpbb3.2 Demaged Cyrilic usernames  (Read 718 times)

0 Members and 1 Guest are viewing this topic.

DmitryFeod

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
cpg1.6.08 & phpbb3.2 Demaged Cyrilic usernames
« on: March 22, 2020, 05:20:28 am »

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.
Logged

ron4mac

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Posts: 1535
Re: cpg1.6.08 & phpbb3.2 Demaged Cyrilic usernames
« Reply #1 on: March 22, 2020, 04:13:37 pm »

For now, try:

In the file: bridge/udb_base.inc.php

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

to
Code: [Select]
$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.
Logged

DmitryFeod

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: cpg1.6.08 & phpbb3.2 Demaged Cyrilic usernames
« Reply #2 on: March 22, 2020, 05:19:47 pm »

Tnx. It's work now
Really few hours ago I am find this decision
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 23 queries.