All installation and configuration problems and questions
Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
by 2life » Fri Sep 18, 2015 1:12 pm
Hi, i use:
Vicibox_v.6.0.x86_64-6.0.4
Vicidial
VERSION: 2.12-505a
BUILD: 150806-1348
After installing/setting up VICIdial, I've faced with an issue that it does not support cyriliic encoding
When I load the input file (leads) whith cyrillic symbols - I see either the 'аЂаИаМаИбаЕаВаА ааА' or the 'ааОаЛаДаАаВбаКаАб аЃаЛ' symbols.
My browser puts the wrong encoding ISO 8859-5, the real encoding is UTF-8.
If I manually change the encoding in the browser, the data is displayed correctly.
-
2life
-
- Posts: 12
- Joined: Mon Sep 14, 2015 6:07 am
by mflorell » Fri Sep 18, 2015 1:19 pm
You will probably have to manually change MySQL to use UTF-8 encoding for data. I'm not sure if you will have to make Apache or PHP changes, but the web coding should work for all UTF-8 encoded languages, we have clients using Japanese and Traditional Chinese and those work within the existing code framework, so Cyrillic should too.
-
mflorell
- Site Admin
-
- Posts: 18387
- Joined: Wed Jun 07, 2006 2:45 pm
- Location: Florida
-
by 2life » Fri Sep 18, 2015 2:03 pm
Base 'asterisk' is utf-8 in my installation
The problem is not at the database, but the problem is how the page to load lead lists is shown.
What to do next?
-
2life
-
- Posts: 12
- Joined: Mon Sep 14, 2015 6:07 am
by mflorell » Fri Sep 18, 2015 5:21 pm
Have you tried the Non-Agent API to load leads, or the CLI script VICIDIAL_IN_new_leads_file.pl to load leads?
-
mflorell
- Site Admin
-
- Posts: 18387
- Joined: Wed Jun 07, 2006 2:45 pm
- Location: Florida
-
by 2life » Sat Sep 19, 2015 12:06 am
I set
Agent API Access: to 1, and try load page
https://192.168.x.x/vicidial/non_agent_api.php, my result is:
- Code: Select all
ERROR: Login incorrect, please try again: |||BAD|
- Code: Select all
vicibox:/usr/share/astguiclient # tail -f /var/log/apache2/access_log
10.10.52.4 - 6666 [19/Sep/2015:07:53:07 +0300] "GET /vicidial/non_agent_api.php HTTP/1.1" 200 50
10.10.52.4 - 6666 [19/Sep/2015:08:01:09 +0300] "GET /vicidial/admin.php HTTP/1.1" 200 3312
10.10.52.4 - 6666 [19/Sep/2015:08:01:11 +0300] "GET /vicidial/admin.php?ADD=0A HTTP/1.1" 200 3423
10.10.52.4 - 6666 [19/Sep/2015:08:01:13 +0300] "GET /vicidial/admin.php?ADD=3&user=6666 HTTP/1.1" 200 7649
10.10.52.4 - 6666 [19/Sep/2015:08:01:46 +0300] "GET /vicidial/help.php HTTP/1.1" 200 77110
10.10.52.4 - 6666 [19/Sep/2015:08:03:04 +0300] "GET /vicidial/non_agent_api.php HTTP/1.1" 200 50
10.10.52.4 - 6666 [19/Sep/2015:08:15:18 +0300] "GET /vicidial/non_agent_api.php HTTP/1.1" 200 50
10.10.52.4 - 6666 [19/Sep/2015:08:15:24 +0300] "GET /vicidial/non_agent_api.php HTTP/1.1" 200 50
10.10.52.4 - 6666 [19/Sep/2015:08:15:43 +0300] "GET /vicidial/non_agent_api.php HTTP/1.1" 200 50
10.10.52.4 - 6666 [19/Sep/2015:08:15:44 +0300] "GET /vicidial/non_agent_api.php HTTP/1.1" 200 50
Load leads over CLI script is very very difficult for VICIdial users,
And while I have not tried it myself
-
2life
-
- Posts: 12
- Joined: Mon Sep 14, 2015 6:07 am
by 2life » Sat Sep 19, 2015 9:10 am
Thank you so much, but this scenario to use API is not for me...
Problem only in frontend on admin_listloader_fourth_gen.php page (frontend is automatically shown in ISO 8859-5 encoding) and admin_listloader_third_gen.php (windows-1251). But the UTF-8 encoding is correct and required. The rest system is displayed properly in correct UTF-8.
-
2life
-
- Posts: 12
- Joined: Mon Sep 14, 2015 6:07 am
by bobchaos » Mon Sep 21, 2015 12:53 pm
could this be related to
http://www.vicidial.org/VICIDIALmantis/view.php?id=890 ?
Are cyrillic characters rendered properly in the admin page labels? If the problem only occurs in input fields it may well be the same issue. You may want to add a record of your own to the bug report.
-
bobchaos
-
- Posts: 171
- Joined: Fri Jan 06, 2012 12:46 pm
by 2life » Mon Sep 21, 2015 2:24 pm
Yes it is are the same problem. Cyrillic characters are rendered properly in the admin page labels.
I don't have access to bug tracking system.
-
2life
-
- Posts: 12
- Joined: Mon Sep 14, 2015 6:07 am
by bobchaos » Mon Sep 21, 2015 7:19 pm
you can easily create an account for free, all you need is a valid email address. It would likely help mflorell to have more examples and I would certainly appreciate any help in solving this. All my french clients (well, that`s all of them really XD ) were really excited to get language support so this issue was a bit of a bummer for everyone.
-
bobchaos
-
- Posts: 171
- Joined: Fri Jan 06, 2012 12:46 pm
by mflorell » Mon Sep 21, 2015 8:03 pm
Have you tried loading the leads using text files(.txt files that are tab or pipe delimited)?
-
mflorell
- Site Admin
-
- Posts: 18387
- Joined: Wed Jun 07, 2006 2:45 pm
- Location: Florida
-
by 2life » Tue Sep 22, 2015 7:31 am
Dear bobchaos,
I am unable to register because the registration page there is no verification code. I tried different browsers and different operating systems.
-
2life
-
- Posts: 12
- Joined: Mon Sep 14, 2015 6:07 am
by 2life » Tue Sep 22, 2015 7:42 am
mflorell wrote:Have you tried loading the leads using text files(.txt files that are tab or pipe delimited)?
I could show the screenshot of the problem. But I cannot attach the screenshot of the problem here. at that portal/forum because I have no such user privileges...
Could you please provide me an email or any another way (skype probably) to send the screenshot?
-
2life
-
- Posts: 12
- Joined: Mon Sep 14, 2015 6:07 am
by mflorell » Tue Sep 22, 2015 8:22 am
I just updated the Issue Tracker version, new account registration should be working properly now.
-
mflorell
- Site Admin
-
- Posts: 18387
- Joined: Wed Jun 07, 2006 2:45 pm
- Location: Florida
-
by bobchaos » Tue Sep 22, 2015 2:01 pm
@2life I saw you added some screenshots on the issue tracker, thanks
-
bobchaos
-
- Posts: 171
- Joined: Fri Jan 06, 2012 12:46 pm
Return to Support
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 99 guests