MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: labpros on 2014-01-25, 15:26:44

Title: strange issue after transition from classic kloxo to kloxo-mr
Post by: labpros on 2014-01-25, 15:26:44
I have a script with the datatables, a jquery plugin, it shows some data in Greek language,
everything was looking fine, but after transition from classic kloxo to kloxo-mr, the greek letters changed to ????.

I have searched for a solution, but i didn't find something, it looks like some encoding problem, but i can't find it.
I really like the kloxo-mr and i don't want to go back but i need to find a solution.

Anything in mind????
Title: Re: strange issue after transition from classic kloxo to kloxo-mr
Post by: MRatWork on 2014-01-25, 15:51:54
It's maybe related to /etc/php.ini and or database collation.
Title: Re: strange issue after transition from classic kloxo to kloxo-mr
Post by: labpros on 2014-01-25, 18:10:26
I have added to /etc/php.ini this
    default_charset = "utf-8"
but phpinfo() shows
    default_charset   no value   no value

and these are the mysql settings
    Server: Localhost via UNIX socket
    Server type: MySQL
    Server version: 5.5.34 - MySQL Community Server (GPL)
    Protocol version: 10
    User: xxxxx
    Server charset: UTF-8 Unicode (utf8)


p.s
    all greek characters look right only the greek characters that show the jquery datatables plugin are displayed like ?????, these data come to the page by ajax and json encode!

Title: Re: strange issue after transition from classic kloxo to kloxo-mr
Post by: MRatWork on 2014-01-26, 08:31:35
Using the same php version in Kloxo Official and Kloxo-MR?. Different version (let say 5.2 vs 5.3) may different result.
Title: Re: strange issue after transition from classic kloxo to kloxo-mr
Post by: labpros on 2014-01-26, 15:44:15
At the classic kloxo i used 5.2 and 5.3 without problem, now i use 5.3 when i try to change to 5.2 nothing is happen the system don't change the php version to 5.2
Title: Re: strange issue after transition from classic kloxo to kloxo-mr
Post by: MRatWork on 2014-01-26, 16:25:51
Inform here 'sh /script/sysinfo' first. Maybe your server have conflict when change php 5.3 to php 5.2.
Title: Re: strange issue after transition from classic kloxo to kloxo-mr
Post by: labpros on 2014-01-26, 17:23:05
Ok, i found it, thanks for your help.