Announcement

Collapse
No announcement yet.

Проблема с буквой И при создании контрагента

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Проблема с буквой И при создании контрагента

    Добрый день.
    Столкнулся с проблемой при создании контрагента.
    При создании контрагента, вношу Имя, Сайт, Почтовый адрес.
    В почтовом адресе, всё хорошо, до того момента как вношу город, г Ижевск - сохранить - повторно заходим и ошибка, данных нет.
    1. без города
    2. город Жевск
    3. город Ижевск
    4. с городом Ижевск после перезахода в контрагента.

  • #2
    Upd проверил, только большая буква и

    Comment


    • #3
      Здравствуйте Егор.
      Я проверил и все работает без каких либо ошибок. Проверьте описание ошибки в лог файлах в директории /data/logs чтобыпонять чем именно была вызвана ошибка.

      Comment


      • #4
        Click image for larger version

Name:	7.JPG
Views:	118
Size:	63.8 KB
ID:	57368Вот как выглядит ошибка
        [2020-04-07 11:49:34] Espo.ERROR: Json::encode():Malformed UTF-8 characters, possibly incorrectly encoded - stdClass Object ( [id] => 5e8c664e129dac76c [name] => Тест [deleted] => [website] => atta.ru [emailAddress] => [phoneNumber] => [type] => Customer [industry] => [sicCode] => [billingAddressStreet] => [billingAddressCity] => [billingAddressState] => [billingAddressCountry] => [billingAddressPostalCode] => [shippingAddressStreet] => [shippingAddressCity] => пжевск [shippingAddressState] => Тестовая область [shippingAddressCountry] => Россия [shippingAddressPostalCode] => 565594 [description] => [createdAt] => 2020-04-07 11:38:54 [modifiedAt] => 2020-04-07 11:45:34 [emailAddressIsOptedOut] => [phoneNumberIsOptedOut] => [emailAddressData] => Array ( ) [phoneNumberData] => Array ( ) [campaignId] => [campaignName] => [createdById] => 1 [createdByName] => Admin [modifiedById] => 1 [modifiedByName] => Admin [assignedUserId] => 1 [assignedUserName] => Admin [teamsIds] => Array ( ) [teamsNames] => stdClass Object ( ) [originalLeadId] => [originalLeadName] => [isFollowed] => 1 [followersIds] => Array ( [0] => 1 ) [followersNames] => stdClass Object ( [1] => Admin ) ) [] []
        [2020-04-07 11:49:37] Espo.ERROR: Json::encode():Malformed UTF-8 characters, possibly incorrectly encoded - stdClass Object ( [id] => 5e8c664e129dac76c [name] => Тест [deleted] => [website] => atta.ru [emailAddress] => [phoneNumber] => [type] => Customer [industry] => [sicCode] => [billingAddressStreet] => [billingAddressCity] => [billingAddressState] => [billingAddressCountry] => [billingAddressPostalCode] => [shippingAddressStreet] => [shippingAddressCity] => пжевск [shippingAddressState] => Тестовая область [shippingAddressCountry] => Россия [shippingAddressPostalCode] => 565594 [description] => [createdAt] => 2020-04-07 11:38:54 [modifiedAt] => 2020-04-07 11:45:34 [emailAddressIsOptedOut] => [phoneNumberIsOptedOut] => [emailAddressData] => Array ( ) [phoneNumberData] => Array ( ) [campaignId] => [campaignName] => [createdById] => 1 [createdByName] => Admin [modifiedById] => 1 [modifiedByName] => Admin [assignedUserId] => 1 [assignedUserName] => Admin [teamsIds] => Array ( ) [teamsNames] => stdClass Object ( ) [originalLeadId] => [originalLeadName] => [isFollowed] => [followersIds] => Array ( [0] => 1 ) [followersNames] => stdClass Object ( [1] => Admin ) ) [] []

        Comment


        • #5
          Ну с отчета видно что вы питались ввести латинскую букву "N" вместо русской "И". Но и это не должно вызывать проблеммы. Какой у вас "collation" стоит для поля "billing_address_city" в базе данных?

          Comment


          • #6
            Originally posted by maximus View Post
            ну с отчета видно что вы питались ввести латинскую букву "n" вместо русской "и". но и это не должно вызывать проблеммы. какой у вас "collation" стоит для поля "billing_address_city" в базе данных?
            странно конечно, что вместо буквы и, английская n. могу проверить ещё раз.
            спасибо за помощь, максимус.
            Click image for larger version

Name:	8.JPG
Views:	314
Size:	46.9 KB
ID:	57380

            Comment


            • #7
              utf8mb4_unicode_ciэто корректный формат. Попробуйте воссоздать ошибку в анонимном окне браузера. Возможно кеш браузера нужно почистить.

              Comment


              • #8
                И я точно уверен, что буква И Русская буква.
                Выполнил всё в режиме инкогнито, браузер Google Chrome,
                Если не сложно, могу предоставить доступк к хостингу, посмотрите со своей стороны.
                [2020-04-08 11:36:04] Espo.ERROR: Json::encode():Malformed UTF-8 characters, possibly incorrectly encoded - stdClass Object ( [id] => 5e8db7241f137547b [name] => Тест2 [deleted] => [website] => tt.ru [emailAddress] => [phoneNumber] => [type] => Customer [industry] => [sicCode] => [billingAddressStreet] => [billingAddressCity] => [billingAddressState] => [billingAddressCountry] => [billingAddressPostalCode] => [shippingAddressStreet] => Тестовая [shippingAddressCity] => пжевск [shippingAddressState] => [shippingAddressCountry] => [shippingAddressPostalCode] => [description] => [createdAt] => 2020-04-08 11:36:04 [modifiedAt] => 2020-04-08 11:36:04 [emailAddressIsOptedOut] => [phoneNumberIsOptedOut] => [emailAddressData] => Array ( ) [phoneNumberData] => Array ( ) [campaignId] => [campaignName] => [createdById] => 1 [createdByName] => Admin [modifiedById] => [modifiedByName] => [assignedUserId] => 1 [assignedUserName] => Admin [teamsIds] => Array ( ) [teamsNames] => stdClass Object ( ) [originalLeadId] => [originalLeadName] => [isFollowed] => 1 [followersIds] => Array ( [0] => 1 ) [followersNames] => stdClass Object ( [1] => Admin ) ) [] []
                [2020-04-08 11:36:11] Espo.ERROR: Json::encode():Malformed UTF-8 characters, possibly incorrectly encoded - stdClass Object ( [id] => 5e8db7241f137547b [name] => Тест2 [deleted] => [website] => tt.ru [emailAddress] => [phoneNumber] => [type] => Customer [industry] => [sicCode] => [billingAddressStreet] => [billingAddressCity] => [billingAddressState] => [billingAddressCountry] => [billingAddressPostalCode] => [shippingAddressStreet] => Тестовая [shippingAddressCity] => пжевск [shippingAddressState] => [shippingAddressCountry] => [shippingAddressPostalCode] => [description] => [createdAt] => 2020-04-08 11:36:04 [modifiedAt] => 2020-04-08 11:36:04 [emailAddressIsOptedOut] => [phoneNumberIsOptedOut] => [emailAddressData] => Array ( ) [phoneNumberData] => Array ( ) [campaignId] => [campaignName] => [createdById] => 1 [createdByName] => Admin [modifiedById] => [modifiedByName] => [assignedUserId] => 1 [assignedUserName] => Admin [teamsIds] => Array ( ) [teamsNames] => stdClass Object ( ) [originalLeadId] => [originalLeadName] => [isFollowed] => 1 [followersIds] => Array ( [0] => 1 ) [followersNames] => stdClass Object ( [1] => Admin ) ) [] []

                Comment


                • #9
                  Перенёс домой на локальную машину, проблемы не наблюдаются.
                  Видимо проблема в db на хостинге.

                  Comment

                  Working...
                  X