Перейти к публикации
View in the app

A better way to browse. Learn more.

Дизайн и модификация 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.

Важное с Sysman.Ru: IPB 1.x + MySQL 5.x

Опубликовано:

dimitry: При отправке сообщения (жалобы) на пост через меню /index.php?act=report&send=1&f=xxx&t=xxxx&p=xxxx&st=0

при MySQL 5 выдается ошибка:

 

Цитата
mySQL query error: SELECT m.name, m.email, mod.member_id FROM ibf_moderators mod, ibf_members m WHERE mod.forum_id='17' and mod.member_id=m.id

 

mySQL error: 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 'mod, ibf_members m WHERE mod.forum_id='17' and mod.member_id=m.id' at line 1

mySQL error code:

Date: Monday 16th of July 2007 05:33:28 AM

 

Исправление:

Найти:

Цитата (sources/misc/contact_member.php)
[color=green]// Check for mods in this forum[/color]                [color=#048284]$DB[/color]->query("SELECT m.name, m.email, mod.member_id FROM ibf_moderators mod, ibf_members m WHERE mod.forum_id='$fid' and mod.member_id=m.id");

Заменить на:

[color=green]// Check for mods in this forum[/color]                [color=#048284]$DB[/color]->query("SELECT m.name, m.email, md.member_id FROM ibf_moderators md, ibf_members m WHERE md.forum_id='$fid' and md.member_id=m.id");

Рекомендованные сообщения

No posts to show
Гость
Эта тема закрыта для дальнейших сообщений.

Сейчас на странице 0

  • Нет пользователей, просматривающих эту страницу.

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.