Chaoticsoul - problem with accents Chaoticsoul - problem with accents
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Chaoticsoul - problem with accents

Started by hellercz, February 02, 2011, 08:49:20 AM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

hellercz

Hello,

I have problem with accents with "ř" "č" ... I am from Czech Rep. in Configuration I have Unicode (utf-8)

Image in attach.

Thank you for helping

Αndré



Αndré

Is your website an upgrade from cpg1.4.x?

Did you moved your gallery from another server?

What happens if you manually correct and save the album name in the album properties?

Does it happen with other themes, too? Please upload at least the curve theme, as I wasn't able to manually switch to it.

hellercz

Quote from: Αndré on February 02, 2011, 10:21:53 AM
Is your website an upgrade from cpg1.4.x?

Did you moved your gallery from another server?

What happens if you manually correct and save the album name in the album properties?

Does it happen with other themes, too? Please upload at least the curve theme, as I wasn't able to manually switch to it.

No upgrade from 1.4.x
Its clear and new installed.
I didnt move gallery from another server.
If I manually correct and save album, problem isnt solved.
OK, uploaded curve theme and I switch to it.

Αndré

I just tested to insert "ř" and "č" in my album names and it works as expected. Curiously the characters š, ž, etc. are displayed correctly in your gallery.

hellercz

Ouch :/ Any ideas ?

In cpg1.4.14 I had no problem with this :/

Αndré

As your gallery seems to be quite new you could try the following. Open include/config.inc.php, find
$CONFIG['dbname'] =
below, add
$CONFIG['dbcharset'] = 'utf8';

This will probably break all non-latin characters, so you'll have to adjust all album and category titles and descriptions. Please try if that works. Ideally you should start with the characters that currently don't work. If it doesn't solve your issue you can undo the change and don't need to adjust all titles and descriptions.

hellercz

I want to add this, but when I want to save .php ... it says: Status: This file can be saved
include/config.inc.php This file can be saved

This file has chmod 644 , when I want to change it to 777 , I cant ... error in changing chmod value.

Αndré

Please contact your hosting provider to set the permission/ownership (chmod, chown) of that file accordingly.

hellercz

Oh yeah, finally, it works !

adding "$CONFIG['dbcharset'] = 'utf8';" and problem has been solved !

Many thanks to you :)

Αndré