ssossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

This topic contains 8 replies, has 2 voices, and was last updated by Mike Kudelya Mike Kudelya 1 year, 1 month ago.

  • Creator
    Topic
  • #21740

    piavgh
    Participant

    Hi everyone,

    I’ve already set up the connection between Magento and OroCRM. The orders and customers information is synchronized to OroCRM without problem.

    But there is an error with font. All names is wrong, you can see it here
    http://prntscr.com/c3t9rz

    It supposed to be “Áo phông nữ” instead of “o phng n” (We use Vietnamese font, unicode).

    How can I fix this problem?
    Thank you very much

Viewing 8 replies - 1 through 8 (of 8 total)
  • Author
    Replies
  • #21741

    piavgh
    Participant

    Hi,

    I checked database, and I found that the value saved in database is wrong (my database is utf8_unicode_ci, and I can saved Vietnamese without problems).

    So can you please tell me where is the code that are used to save value into database? I think it caused the problem.

    Thanks.

    #21746

    piavgh
    Participant

    Anyone can help?

    #21749
    Mike Kudelya
    Mike Kudelya
    Oro Core

    Hi,

    I have caught the problem, but it appears only if you run integration from UI. I launched ‘app/console/oro:cron:integration:sync –integration-id=[integration id] -v’ from shell and symbols is not corrupted. I think it is soap problem, for example you can look at result and will see that soap response has issue.
    Tomorrow will i continue investigating.

    #21762
    Mike Kudelya
    Mike Kudelya
    Oro Core

    It is strange, i have checked both calls, shell and ui. Soap requests headers are identical, requests too. Probably the only right option is using shell sync with our magento site.

    #21775

    piavgh
    Participant

    Hi Mike,

    Thank you for your attention. I’ve checked https://www.orocrm.com/documentation/index/current/user-guide/magento-channel-integration but I couldn’t see any thing about “shell sync with magento”.

    Can you please tell me how it can be done? Thanks.

    #21788
    Mike Kudelya
    Mike Kudelya
    Oro Core

    Hi,

    You can run “app/console oro:cron:integration:sync –integration-id=[integration id] -v” from our oro root directory. Where [integration id] – your integration id, which you can find there [your site]/integration

    #21806

    piavgh
    Participant

    Hi Mike,

    Today I tried to use shell sync in my remote server and problem is still existed.

    But the weird thing is, when I tried to connect my local server with the same Magento website, everything is fine, there is no font error.

    So I think the problem must be something on my remote server (though I checked default_charset in php.ini is utf8 already, and MariaDB database collation is utf8_general_ci already)

    #22064
    Mike Kudelya
    Mike Kudelya
    Oro Core

    Are you using the same php and soap versions on both servers ? In any case something must be different. It remains only to find it.

Viewing 8 replies - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.