Espo.ERROR: Json::encode():Malformed UTF-8

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Frank
    Member
    • Aug 2015
    • 64

    Espo.ERROR: Json::encode():Malformed UTF-8

    After transfer to new hosting I have this problem (see in attachment) and now i can see any russian leters, but see english fields and texts well... Can somebody help?
    Attached Files
  • yuri
    Member
    • Mar 2014
    • 8440

    #2
    Maybe problem with encoding of your database
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • Frank
      Member
      • Aug 2015
      • 64

      #3
      first I think the same ... but i try to change and anything cant help ... and in my old host every setings are the same and it works ...
      in attachment i get a screen shots of by database encoding to you ... take a look please.
      Attached Files

      Comment

      • yuri
        Member
        • Mar 2014
        • 8440

        #4
        Looks fine.
        Maybe needs to change database driver in config.php ?
        If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

        Comment

        • Frank
          Member
          • Aug 2015
          • 64

          #5
          I try to use: mysqli or PDO_MySQL - works the same ...
          in other pdo_xxxxx - Bad server response

          Comment

          • Frank
            Member
            • Aug 2015
            • 64

            #6
            any other idea why it happent?

            Comment

            • iterminal
              Junior Member
              • Jan 2017
              • 3

              #7
              I have the same error and can reproduce it. If i use an account record without carachters like öäü everyting ist fine. But when there is one special charachter like öäü in the name, address or somewhere else i got the "Bad Server Response" Error and in the log there was an error thrown.
              [2017-01-25 14:00:10] Espo.ERROR: Json::encode():

              Any idea how to fix it?

              Comment

              • iterminal
                Junior Member
                • Jan 2017
                • 3

                #8
                .. one more information. I can edit the record, when i reload the page after the error "Bad Server Response" the modified value of the field has the right value! So it works, but the error is thrown :-/

                and sorry for my bad english ;-)

                Comment

                • iterminal
                  Junior Member
                  • Jan 2017
                  • 3

                  #9
                  so, i found a solution for my problem. The Verb filtering in the php fastCGI was active.
                  <add name="php 5.6 x86" path="*.php" verb="GET,POST,PUT,DELETE" modules="FastCgiModule" scriptProcessor="PathToPhpCGI" resourceType="Unspecified" requireAccess="Script" />
                  after modify that to:
                  <add name="php 5.6 x86" path="*.php" verb="*" modules="FastCgiModule" scriptProcessor="PathToPhpCGI" resourceType="Unspecified" requireAccess="Script" />
                  everthing works fine!

                  Comment

                  • expertplus
                    Junior Member
                    • Mar 2017
                    • 1

                    #10
                    I have this problem too.

                    Mail was loading, but not displaying and I have error "Bad server response".

                    Tomorrow I make contacts and candidates with Russian letters and too have "Bad server response" error in this menu.

                    I'm test your system for use, but now he have this problems.
                    Can you help me?

                    Comment

                    Working...