Skip to main content

Import locations bug with cyrillic characters

ClassiBase classifieds script Forums General help Import locations bug with cyrillic characters

This topic contains 1 reply, has 2 voices, and was last updated by  ClassiBase 4 days, 8 hours ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #7021 Reply

    Dmitry Grunt
    Participant

    Have new installed 1.8 script ubuntu 16 (Linode).
    Trying to import locations for Belarus (cyrillic names) and got empty “name” field in locations.

    Tested same locations file on ubuntu 14 php 5 (Digital Ocean) all works ok.

    Here my php info https://vcene.by/test.php
    Locations example https://pastebin.com/t6XZjSsj

    What can be wrong? Maybe need to change server configs?

    #7024 Reply

    ClassiBase
    Keymaster

    Hello,

    You are right there is a bug in mysql tables in “cb_location_description” table “description” column should allow NULL or script should send empty string for description when adding with bulk insert. We will be releasing fix for this bug in our next release by making sure that empty string will be sent as description when adding new location.

    Meanwhile you can fix it yourself by changing “description” column to allow NULL. There is also similar bug in “cb_category_description”. You can make “description” field there allow null as well.

    Thank you for reporting.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Import locations bug with cyrillic characters
Your information:




  • Classifieds Business Newsletter

    Get discounts and tips about growing your classifieds website.

    Subscribe