Jump to content
View in the app

A better way to browse. Learn more.

IPBMafia.ru - поддержка Invision Community, релизы, темы, плагины и приложения

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Проблема с поиском

Featured Replies

Posted

Здравствуйте! Версия ipb 4.2.2, php 7.1.8, от стиля проблема не зависит. 

Вообщем, если вписать в поиск на английском, например "test", то все в порядке - поиск работает. Если же вписать на русском "тест" то вылетает вот такое:

К сожалению, возникла проблема

Что-то пошло не так. Пожалуйста, попробуйте еще раз.

Код ошибки: EX-1

SELECT main.*, ((MATCH(index_title) AGAINST ('тест')*5)+(MATCH(index_content,index_title) AGAINST ('тест')))/POWER(( ( UNIX_TIMESTAMP( NOW() ) - ( CASE WHEN index_date_updated <= UNIX_TIMESTAMP( NOW() ) THEN index_date_updated ELSE 0 END )) / 3600 ) + 2,1.5) AS calcscore FROM `core_search_index` AS `main` WHERE ( ( index_class IN('IPS\\core\\Statuses\\Status','IPS\\core\\Statuses\\Reply') ) OR index_class='IPS\forums\Topic\Post' OR ( index_class IN('IPS\\calendar\\Event','IPS\\calendar\\Event\\Comment','IPS\\calendar\\Event\\Review') ) ) AND MATCH(index_content,index_title) AGAINST ('тест') AND ( index_permissions = '*' OR ( FIND_IN_SET(4,index_permissions) OR FIND_IN_SET('m1',index_permissions) ) ) ORDER BY calcscore DESC LIMIT 0,25
IPS\Db\Exception: No result metadata - possible table crash (-1)
#0 /home/admin/web/dndz.eu/public_html/system/Db/Select.php(433): IPS\Db\_Select->runQuery()
#1 [internal function]: IPS\Db\_Select->rewind()
#2 /home/admin/web/dndz.eu/public_html/system/Content/Search/Mysql/Query.php(1211): iterator_to_array(Object(IPS\Db\Select))
#3 /home/admin/web/dndz.eu/public_html/applications/core/modules/front/search/search.php(608): IPS\Content\Search\Mysql\_Query->search('\xD1\x82\xD0\xB5\xD1\x81\xD1\x82', NULL, 17)
#4 /home/admin/web/dndz.eu/public_html/applications/core/modules/front/search/search.php(73): IPS\core\modules\front\search\_search->_results()
#5 /home/admin/web/dndz.eu/public_html/system/Dispatcher/Controller.php(96): IPS\core\modules\front\search\_search->manage()
#6 /home/admin/web/dndz.eu/public_html/system/Dispatcher/Dispatcher.php(146): IPS\Dispatcher\_Controller->execute()
#7 /home/admin/web/dndz.eu/public_html/index.php(12): IPS\_Dispatcher->run()
#8 {main}

  • Author

Решил проблему весьма просто, включил на cloudflare режим разработчика, очистил пару раз кэш, отключил режим разработчика и заработал поиск. 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Ответить в этой теме...

Последние посетители 0

  • No registered users viewing this page.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.