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

Здравствуйте. У меня появилась проблема при установке IPBoard на мой локальный сервер. Вылазит вот такая ошибка:

mySQL query error: CREATE TABLE backup_vars (
  backup_var_key    VARCHAR(255) NOT NULL DEFAULT '',
  backup_var_value  TEXT,
  PRIMARY KEY (backup_var_key)
) ENGINE=MyISAM;

SQL error: Specified key was too long; max key length is 1000 bytes
SQL error code: 1071
Date: Friday 30th December 2016 03:29:13 PM


 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 Date: Fri, 30 Dec 2016 15:29:13 +0000
 Error: 1071 - Specified key was too long; max key length is 1000 bytes
 IP Address: 127.0.0.1 - /admin/install/index.php?app=install§ion=install&do=sql
 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 mySQL query error: CREATE TABLE backup_vars (
  backup_var_key    VARCHAR(255) NOT NULL DEFAULT '',
  backup_var_value  TEXT,
  PRIMARY KEY (backup_var_key)
) ENGINE=MyISAM;
 .--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------.
 | File                                                                       | Function                                                                      | Line No.          |
 |----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------|
 | D:\XAMPP\htdocs\admin\setup\applications\install\sections\install.php      | [install_install].install_sql                                                 | 89                |
 '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------'
 | D:\XAMPP\htdocs\admin\setup\sources\base\ipsController_setup.php           | [install_install].doExecute                                                   | 258               |
 '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------'

Цитата

Не должно быть таких проблем на VARCHAR (255). Ну попробуйте задать тогда 250 (либо 249), открыв admin\applications\core\setup\versions\install\sql\core_mysql_tables.php 

Найти: backup_var_key VARCHAR(255) NOT NULL DEFAULT '',
И заменить на: backup_var_key VARCHAR(250) NOT NULL DEFAULT '', 

 

  • Author
34 минуты назад, WOLF сказал:

 

Теперь вылазит вот это:

mySQL query error: CREATE TABLE core_tags_perms (
    tag_perm_aai_lookup CHAR(32) NOT NULL DEFAULT '',
    tag_perm_aap_lookup CHAR(32) NOT NULL DEFAULT '',
    tag_perm_text VARCHAR(255) NOT NULL DEFAULT '',
    tag_perm_visible INT(1) NOT NULL DEFAULT 1,
    UNIQUE KEY tag_perm_aai_lookup (tag_perm_aai_lookup),
    KEY tag_perm_aap_lookup( tag_perm_aap_lookup ),
    KEY tag_lookup (tag_perm_text, tag_perm_visible)
) ENGINE=MyISAM;

SQL error: Specified key was too long; max key length is 1000 bytes
SQL error code: 1071
Date: Friday 30th December 2016 04:07:39 PM


 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 Date: Fri, 30 Dec 2016 16:07:39 +0000
 Error: 1071 - Specified key was too long; max key length is 1000 bytes
 IP Address: 127.0.0.1 - /admin/install/index.php?app=install§ion=install&do=sql
 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 mySQL query error: CREATE TABLE core_tags_perms (
    tag_perm_aai_lookup CHAR(32) NOT NULL DEFAULT '',
    tag_perm_aap_lookup CHAR(32) NOT NULL DEFAULT '',
    tag_perm_text VARCHAR(255) NOT NULL DEFAULT '',
    tag_perm_visible INT(1) NOT NULL DEFAULT 1,
    UNIQUE KEY tag_perm_aai_lookup (tag_perm_aai_lookup),
    KEY tag_perm_aap_lookup( tag_perm_aap_lookup ),
    KEY tag_lookup (tag_perm_text, tag_perm_visible)
) ENGINE=MyISAM;
 .--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------.
 | File                                                                       | Function                                                                      | Line No.          |
 |----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------|
 | D:\XAMPP\htdocs\admin\setup\applications\install\sections\install.php      | [install_install].install_sql                                                 | 89                |
 '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------'
 | D:\XAMPP\htdocs\admin\setup\sources\base\ipsController_setup.php           | [install_install].doExecute                                                   | 258               |
 '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------'

  • Author
55 минут назад, WOLF сказал:

У вас какая версия mysql? 

какая кодировка БД? 

Кодировка utf8mb4_general_ci

А как узнать версию MySQL?

  • Author
14 часов назад, WOLF сказал:

кодировка должна быть  utf8_general_ci

Спасибо большое, всё установилось.

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.