Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Не работает поиск кириллицей при смене хостинга


Recommended Posts

Добрый день.

При пененосе Ocstore 2.3.4 на другой хостинг перестал работать поиск кириллицей. Просто нет результатов.

Посмтрел в логах. Например слово спрей. На старом хостинге был запрос /search/?search=%D1%81%D0%BF%D1%80%D0%B5%D0%B9

На новом /search/?search=%D1_%D0%BF%D1_%D0%B5%D0%B9

При декодировании соответственно спрей и _п_ей.

Подскажите, пожалуйста, с чем это связано?

Link to comment
Share on other sites


Upd. Не работает часть букв.

По этим поиск работает "йвкамепинголбдзж", по остальным нет.

Link to comment
Share on other sites


14.03.2023 в 16:36, rb2 сказал:

А какой collation стоит у таблиц на новом сервере?

Variable_name Value  
collation_connection utf8mb4_unicode_ci
collation_database utf8mb4_general_ci
collation_server utf8mb4_general_ci
Link to comment
Share on other sites


На старом было так:

Variable_name Value  
collation_connection utf8mb4_unicode_ci
collation_database utf8_general_ci
collation_server utf8_unicode_ci
Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.