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

Когда пытаюсь воспользоваться поиском - получаю следующее 

 

Спойлер

SELECT main.* 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\\blog\\Entry','IPS\\blog\\Entry\\Comment') ) OR ( index_class IN('IPS\\cms\\Records10','IPS\\cms\\Records\\Comment10','IPS\\cms\\Records\\Review10') ) ) AND  AND ( index_permissions = '*' OR ( FIND_IN_SET(4,index_permissions) OR FIND_IN_SET('m4',index_permissions) ) ) ORDER BY index_date_created DESC LIMIT 0,25
IPS\Db\Exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND ( index_permissions = '*' OR ( FIND_IN_SET(4,index_permissions) OR FIND_IN_S' at line 1 (1064)
#0 /home/p11/public_html/system/Db/Select.php(378): IPS\_Db->preparedQuery('SELECT main.* F...', Array, true)
#1 /home/p11/public_html/system/Db/Select.php(440): IPS\Db\_Select->runQuery()
#2 [internal function]: IPS\Db\_Select->rewind()
#3 /home/p11/public_html/system/Content/Search/Mysql/Query.php(1258): iterator_to_array(Object(IPS\Db\Select))
#4 /home/p11/public_html/applications/core/modules/front/search/search.php(609): IPS\Content\Search\Mysql\_Query->search('\xD0\xB6\xD0\xB1', NULL, 17)
#5 /home/p11/public_html/applications/core/modules/front/search/search.php(73): IPS\core\modules\front\search\_search->_results()
#6 /home/p11/public_html/system/Dispatcher/Controller.php(96): IPS\core\modules\front\search\_search->manage()
#7 /home/p11/public_html/system/Dispatcher/Dispatcher.php(146): IPS\Dispatcher\_Controller->execute()
#8 /home/p11/public_html/index.php(12): IPS\_Dispatcher->run()
#9 {main}

Обратная трассировка 
#0 /home/p11/public_html/init.php(523): IPS\_Log::log('SELECT main.* F...', 'uncaught_except...')
#1 [internal function]: IPS\IPS::exceptionHandler(Object(IPS\Db\Exception))
#2 {main}

Некорректно прописаны пути к классам - IPS\\core\\Statuses\\Status','IPS\\core\\Statuses\\Reply, задублированы слэши.

Да вообще дикая запись

Спойлер

SELECT main.* 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\\blog\\Entry','IPS\\blog\\Entry\\Comment') ) OR ( index_class IN('IPS\\cms\\Records10','IPS\\cms\\Records\\Comment10','IPS\\cms\\Records\\Review10') ) ) AND  AND ( index_permissions = '*' OR ( FIND_IN_SET(4,index_permissions) OR FIND_IN_SET('m4',index_permissions) ) ) ORDER BY index_date_created DESC LIMIT 0,25

 

Если форум только создан, советую переустановить по новой (используя местный нулл) и на чистую базу.

У меня была ошибка с поиском только если использовать меньше 4х символов в поиске, возможно у тебя то же самое

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.