Список разделов › phpBBex 2.x (заброшен) › Поддержка 2.x
Потому что икать надо просто version в таблицеAlexell:Я почему то не нашел фразу phpbb_version или phpbb3_version,
phpbb_config
.Конечно, с официального FTP можно скачать любую версию. Правда не знаю зачем оно вам.Alexell:Смогу ли я потом где-нибудь достать эту устаревшую версию движка?
Да.Alexell:Достаточно ли будет изменить адрес у него в настройках?
Не вижу смысла поднимать старый. Просто залейте архив в БД и обновляйте. Нет нужды запускать старый движок.Alexell:После того как мне удастся поднять форум, смогу ли я корректно обновить его до последней версии phpBBEx по инструкциям здесь?
Проблемы могут быть из-за модов или расширений, из-за размера БД проблем быть не должно. Просто будет выполняться долго в несколько шагов.Alexell:Форум большой (вытащил из веб-архива: Total posts 129964 • Total topics 15971 • Total members 4963) и БД почти 300 Мб весит. Это не вызовет проблем?
С этим уже ничего не сделаешь. Есть скрипты слияния баз, но они рассчитаны под чистый phpBB. Можете попытаться использовать их, скрипт сам всё должен сделать и с пользователями, и с вложениями. Поищите на гуру.Alexell:а вот как быть с сообщениями? 200 постов нужно будет перенести с одного форума phpBBEx на другой, при том, что авторы сообщений уже будут иметь другие ID и может даже их логины будут немного отличаться.
Версия 3.0.10.Sumanai:отому что икать надо просто version в таблице phpbb_config.
То есть вы хотите сказать, что мне достаточно залить дамп от phpBB 3.0.10, файлы последней phpBBEx, перейти в install и все нормально обновится?Sumanai:Просто залейте архив в БД и обновляйте. Нет нужды запускать старый движок.
Ага,Alexell:То есть вы хотите сказать, что мне достаточно залить дамп от phpBB 3.0.10, файлы последней phpBBEx, перейти в install и все нормально обновится?
Да ладно? Нет такого. Наоборот, до 2.0 обновляться проще, чем до 1.х.Alexell:Я спрашиваю, потому что у вас сказано что с версии 3.0.* можно обновиться только до phpBBEx 1.x.
user_type
выставить в 3, можно и группу поменять на группу администраторов.Installing Data: \phpbb\db\migration\data\v310\profilefield_googleplus.
Installed Data: \phpbb\db\migration\data\v310\profilefield_googleplus; Time: 0.00 seconds
Installing Schema: \phpbb\db\migration\data\v310\profilefield_skype.
Installed Schema: \phpbb\db\migration\data\v310\profilefield_skype; Time: 0.01 seconds
Installing Data: \phpbb\db\migration\data\v310\profilefield_skype.
Installed Data: \phpbb\db\migration\data\v310\profilefield_skype; Time: 0.00 seconds
Installing Schema: \phpbb\db\migration\data\v310\profilefield_twitter.
Installed Schema: \phpbb\db\migration\data\v310\profilefield_twitter; Time: 0.01 seconds
Installing Data: \phpbb\db\migration\data\v310\profilefield_twitter.
Installed Data: \phpbb\db\migration\data\v310\profilefield_twitter; Time: 0.00 seconds
Installing Schema: \phpbb\db\migration\data\v310\profilefield_youtube.
Installed Schema: \phpbb\db\migration\data\v310\profilefield_youtube; Time: 0.01 seconds
Installing Data: \phpbb\db\migration\data\v310\profilefield_youtube.
Installed Data: \phpbb\db\migration\data\v310\profilefield_youtube; Time: 0.00 seconds
Installing Schema: \phpbb\db\migration\data\v310\rc1.
Installed Schema: \phpbb\db\migration\data\v310\rc1; Time: 0.00 seconds
Installing Data: \phpbb\db\migration\data\v310\rc1.
Installed Data: \phpbb\db\migration\data\v310\rc1; Time: 0.00 seconds
Installing Schema: \phpbb\db\migration\data\v310\rc2.
Installed Schema: \phpbb\db\migration\data\v310\rc2; Time: 0.00 seconds
Installing Data: \phpbb\db\migration\data\v310\rc2.
Installed Data: \phpbb\db\migration\data\v310\rc2; Time: 0.00 seconds
Installing Schema: \phpbb\db\migration\data\v310\captcha_plugins.
Installed Schema: \phpbb\db\migration\data\v310\captcha_plugins; Time: 0.00 seconds
Installing Data: \phpbb\db\migration\data\v310\captcha_plugins.
Installed Data: \phpbb\db\migration\data\v310\captcha_plugins; Time: 0.00 seconds
Installing Schema: \phpbb\db\migration\data\v310\rename_too_long_indexes.
Installed Schema: \phpbb\db\migration\data\v310\rename_too_long_indexes; Time: 25.48 seconds
Updating database to latest stable release
Database type :: mysqli
Previous version :: 3.1.9
Database updater has completed!
Please make sure you have updated your board files too, this file is only updating your database.
SQL ERROR [ mysqli ]
Field 'post_edit_reason' doesn't have a default value [1364]
SQL
INSERT INTO phpbb3_posts (forum_id, poster_id, icon_id, poster_ip, poster_browser_id, post_time, post_visibility, enable_bbcode, enable_smilies, enable_magic_url, enable_sig, post_username, post_subject, post_text, post_checksum, post_attachment, bbcode_bitfield, bbcode_uid, post_postcount, post_edit_locked, topic_id) VALUES (18, 9990, 0, '178.215.96.23', '48e6fb14f3876b46487d5284d8cc20fa', 1470827934, 1, 1, 1, 1, 1, '', 'Forum Registration', '[b:2tu4cd5m]1.[/b:2tu4cd5m] In order to post on the forum, [b:2tu4cd5m]you have to [url=http://celestiaproject.net/forum/ucp.php?mode=register:2tu4cd5m]register[/url:2tu4cd5m][/b:2tu4cd5m]. After clicking on this link, you need to accept the rules and fill out the registration form.\n\n[b:2tu4cd5m]2.[/b:2tu4cd5m] After registration, your email will [b:2tu4cd5m]receive a letter with a link to activate[/b:2tu4cd5m]. Click on the link and your account [b:2tu4cd5m]will be activated[/b:2tu4cd5m].\n\n[b:2tu4cd5m]3.[/b:2tu4cd5m] When you [b:2tu4cd5m]first login[/b:2tu4cd5m] on forum with your new account, you will have a limit on the post messages. Your first post will be [b:2tu4cd5m]sent for moderation[/b:2tu4cd5m] and only after successful completion of moderation, it will appear on the forum.\n\n[b:2tu4cd5m][i:2tu4cd5m]The following posts can be added without the moderation.[/i:2tu4cd5m][/b:2tu4cd5m]', '26c25e663a5cb24d37943860e3e8cd70', 0, 'cA==', '2tu4cd5m', 1, 0, 17396)
BACKTRACE
FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()
FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 852
CALL: trigger_error()
FILE: [ROOT]/phpbb/db/driver/mysqli.php
LINE: 193
CALL: phpbb\db\driver\driver->sql_error()
FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 329
CALL: phpbb\db\driver\mysqli->sql_query()
FILE: [ROOT]/includes/functions_posting.php
LINE: 1955
CALL: phpbb\db\driver\factory->sql_query()
FILE: [ROOT]/posting.php
LINE: 1420
CALL: submit_post()
[phpBB Debug] PHP : in file [ROOT]/phpbb/db/driver/driver.php on line 852:
FILE: (not given by php)
LINE: (not given by php)
CALL: stk_msg_handler()
FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 852
CALL: trigger_error()
FILE: [ROOT]/phpbb/db/driver/mysqli.php
LINE: 193
CALL: phpbb\db\driver\driver->sql_error()
FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 329
CALL: phpbb\db\driver\mysqli->sql_query()
FILE: [ROOT]/stk/tools/support/mysql_upgrader.php
LINE: 337
CALL: phpbb\db\driver\factory->sql_query()
FILE: [ROOT]/stk/tools/support/mysql_upgrader.php
LINE: 70
CALL: mysql_upgrader->_run_result()
FILE: [ROOT]/stk/index.php
LINE: 322
CALL: mysql_upgrader->display_options()
BACKTRACE
FILE: (not given by php)
LINE: (not given by php)
CALL: stk_msg_handler()
FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 852
CALL: trigger_error()
FILE: [ROOT]/phpbb/db/driver/mysqli.php
LINE: 193
CALL: phpbb\db\driver\driver->sql_error()
FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 329
CALL: phpbb\db\driver\mysqli->sql_query()
FILE: [ROOT]/stk/tools/support/mysql_upgrader.php
LINE: 337
CALL: phpbb\db\driver\factory->sql_query()
FILE: [ROOT]/stk/tools/support/mysql_upgrader.php
LINE: 70
CALL: mysql_upgrader->_run_result()
FILE: [ROOT]/stk/index.php
LINE: 322
CALL: mysql_upgrader->display_options()
А должен быть текст.Alexell:BLOB
#
# phpBB Backup Script
# Dump of tables for phpbb3_
# DATE : 28-01-2014 18:46:44 GMT
#
# Table: phpbb3_acl_groups
DROP TABLE IF EXISTS phpbb3_acl_groups;
CREATE TABLE `phpbb3_acl_groups` (
`group_id` mediumint(8) unsigned NOT NULL default '0',
`forum_id` mediumint(8) unsigned NOT NULL default '0',
`auth_option_id` mediumint(8) unsigned NOT NULL default '0',
`auth_role_id` mediumint(8) unsigned NOT NULL default '0',
`auth_setting` tinyint(2) NOT NULL default '0',
KEY `group_id` (`group_id`),
KEY `auth_opt_id` (`auth_option_id`),
KEY `auth_role_id` (`auth_role_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
# Table: phpbb3_acl_options
DROP TABLE IF EXISTS phpbb3_acl_options;
CREATE TABLE `phpbb3_acl_options` (
`auth_option_id` mediumint(8) unsigned NOT NULL auto_increment,
`auth_option` varchar(50) collate utf8_bin NOT NULL default '',
`is_global` tinyint(1) unsigned NOT NULL default '0',
`is_local` tinyint(1) unsigned NOT NULL default '0',
`founder_only` tinyint(1) unsigned NOT NULL default '0',
PRIMARY KEY (`auth_option_id`),
UNIQUE KEY `auth_option` (`auth_option`)
) ENGINE=MyISAM AUTO_INCREMENT=118 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
# Table: phpbb3_acl_roles
DROP TABLE IF EXISTS phpbb3_acl_roles;
CREATE TABLE `phpbb3_acl_roles` (
`role_id` mediumint(8) unsigned NOT NULL auto_increment,
`role_name` varchar(255) collate utf8_bin NOT NULL default '',
`role_description` text collate utf8_bin NOT NULL,
`role_type` varchar(10) collate utf8_bin NOT NULL default '',
`role_order` smallint(4) unsigned NOT NULL default '0',
PRIMARY KEY (`role_id`),
KEY `role_type` (`role_type`),
KEY `role_order` (`role_order`)
) ENGINE=MyISAM AUTO_INCREMENT=25 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
# Table: phpbb3_attachments
DROP TABLE IF EXISTS phpbb3_attachments;
CREATE TABLE `phpbb3_attachments` (
`attach_id` mediumint(8) unsigned NOT NULL auto_increment,
`post_msg_id` mediumint(8) unsigned NOT NULL default '0',
`topic_id` mediumint(8) unsigned NOT NULL default '0',
`in_message` tinyint(1) unsigned NOT NULL default '0',
`poster_id` mediumint(8) unsigned NOT NULL default '0',
`is_orphan` tinyint(1) unsigned NOT NULL default '1',
`physical_filename` varchar(255) collate utf8_bin NOT NULL default '',
`real_filename` varchar(255) collate utf8_bin NOT NULL default '',
`download_count` mediumint(8) unsigned NOT NULL default '0',
`attach_comment` text collate utf8_bin NOT NULL,
`extension` varchar(100) collate utf8_bin NOT NULL default '',
`mimetype` varchar(100) collate utf8_bin NOT NULL default '',
`filesize` int(20) unsigned NOT NULL default '0',
`filetime` int(11) unsigned NOT NULL default '0',
`thumbnail` tinyint(1) unsigned NOT NULL default '0',
PRIMARY KEY (`attach_id`),
KEY `filetime` (`filetime`),
KEY `post_msg_id` (`post_msg_id`),
KEY `topic_id` (`topic_id`),
KEY `poster_id` (`poster_id`),
KEY `is_orphan` (`is_orphan`)
) ENGINE=MyISAM AUTO_INCREMENT=4951 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
# Table: phpbb3_bbcodes
DROP TABLE IF EXISTS phpbb3_bbcodes;
CREATE TABLE `phpbb3_bbcodes` (
`bbcode_id` smallint(4) unsigned NOT NULL default '0',
`bbcode_tag` varchar(16) collate utf8_bin NOT NULL default '',
`bbcode_helpline` varchar(255) collate utf8_bin NOT NULL default '',
`display_on_posting` tinyint(1) unsigned NOT NULL default '0',
`bbcode_match` text collate utf8_bin NOT NULL,
`bbcode_tpl` mediumtext collate utf8_bin NOT NULL,
`first_pass_match` mediumtext collate utf8_bin NOT NULL,
`first_pass_replace` mediumtext collate utf8_bin NOT NULL,
`second_pass_match` mediumtext collate utf8_bin NOT NULL,
`second_pass_replace` mediumtext collate utf8_bin NOT NULL,
PRIMARY KEY (`bbcode_id`),
KEY `display_on_post` (`display_on_posting`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
# Table: phpbb3_forums
DROP TABLE IF EXISTS phpbb3_forums;
CREATE TABLE `phpbb3_forums` (
`forum_id` mediumint(8) unsigned NOT NULL auto_increment,
`parent_id` mediumint(8) unsigned NOT NULL default '0',
`left_id` mediumint(8) unsigned NOT NULL default '0',
`right_id` mediumint(8) unsigned NOT NULL default '0',
`forum_parents` mediumtext collate utf8_bin NOT NULL,
`forum_name` varchar(255) collate utf8_bin NOT NULL default '',
`forum_desc` text collate utf8_bin NOT NULL,
`forum_desc_bitfield` varchar(255) collate utf8_bin NOT NULL default '',
`forum_desc_options` int(11) unsigned NOT NULL default '7',
`forum_desc_uid` varchar(8) collate utf8_bin NOT NULL default '',
`forum_link` varchar(255) collate utf8_bin NOT NULL default '',
`forum_password` varchar(40) collate utf8_bin NOT NULL default '',
`forum_style` mediumint(8) unsigned NOT NULL default '0',
`forum_image` varchar(255) collate utf8_bin NOT NULL default '',
`forum_rules` text collate utf8_bin NOT NULL,
`forum_rules_link` varchar(255) collate utf8_bin NOT NULL default '',
`forum_rules_bitfield` varchar(255) collate utf8_bin NOT NULL default '',
`forum_rules_options` int(11) unsigned NOT NULL default '7',
`forum_rules_uid` varchar(8) collate utf8_bin NOT NULL default '',
`forum_topics_per_page` tinyint(4) NOT NULL default '0',
`forum_type` tinyint(4) NOT NULL default '0',
`forum_status` tinyint(4) NOT NULL default '0',
`forum_posts` mediumint(8) unsigned NOT NULL default '0',
`forum_topics` mediumint(8) unsigned NOT NULL default '0',
`forum_topics_real` mediumint(8) unsigned NOT NULL default '0',
`forum_last_post_id` mediumint(8) unsigned NOT NULL default '0',
`forum_last_poster_id` mediumint(8) unsigned NOT NULL default '0',
`forum_last_post_subject` varchar(255) collate utf8_bin NOT NULL default '',
`forum_last_post_time` int(11) unsigned NOT NULL default '0',
`forum_last_poster_name` varchar(255) collate utf8_bin NOT NULL default '',
`forum_last_poster_colour` varchar(6) collate utf8_bin NOT NULL default '',
`forum_flags` tinyint(4) NOT NULL default '32',
`display_on_index` tinyint(1) unsigned NOT NULL default '1',
`enable_indexing` tinyint(1) unsigned NOT NULL default '1',
`enable_icons` tinyint(1) unsigned NOT NULL default '1',
`enable_prune` tinyint(1) unsigned NOT NULL default '0',
`prune_next` int(11) unsigned NOT NULL default '0',
`prune_days` mediumint(8) unsigned NOT NULL default '0',
`prune_viewed` mediumint(8) unsigned NOT NULL default '0',
`prune_freq` mediumint(8) unsigned NOT NULL default '0',
`display_subforum_list` tinyint(1) unsigned NOT NULL default '1',
`forum_options` int(20) unsigned NOT NULL default '0',
PRIMARY KEY (`forum_id`),
KEY `left_right_id` (`left_id`,`right_id`),
KEY `forum_lastpost_id` (`forum_last_post_id`)
) ENGINE=MyISAM AUTO_INCREMENT=32 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
# Table: phpbb3_posts
DROP TABLE IF EXISTS phpbb3_posts;
CREATE TABLE `phpbb3_posts` (
`post_id` mediumint(8) unsigned NOT NULL auto_increment,
`topic_id` mediumint(8) unsigned NOT NULL default '0',
`forum_id` mediumint(8) unsigned NOT NULL default '0',
`poster_id` mediumint(8) unsigned NOT NULL default '0',
`icon_id` mediumint(8) unsigned NOT NULL default '0',
`poster_ip` varchar(40) character set latin1 collate latin1_bin NOT NULL default '',
`post_time` int(11) unsigned NOT NULL default '0',
`post_approved` tinyint(1) unsigned NOT NULL default '1',
`post_reported` tinyint(1) unsigned NOT NULL default '0',
`enable_bbcode` tinyint(1) unsigned NOT NULL default '1',
`enable_smilies` tinyint(1) unsigned NOT NULL default '1',
`enable_magic_url` tinyint(1) unsigned NOT NULL default '1',
`enable_sig` tinyint(1) unsigned NOT NULL default '1',
`post_username` blob NOT NULL,
`post_subject` blob NOT NULL,
`post_text` mediumblob NOT NULL,
`post_checksum` varchar(32) character set latin1 collate latin1_bin NOT NULL default '',
`post_attachment` tinyint(1) unsigned NOT NULL default '0',
`bbcode_bitfield` varchar(255) character set latin1 collate latin1_bin NOT NULL default '',
`bbcode_uid` varchar(8) character set latin1 collate latin1_bin NOT NULL default '',
`post_postcount` tinyint(1) unsigned NOT NULL default '1',
`post_edit_time` int(11) unsigned NOT NULL default '0',
`post_edit_reason` blob NOT NULL,
`post_edit_user` mediumint(8) unsigned NOT NULL default '0',
`post_edit_count` smallint(4) unsigned NOT NULL default '0',
`post_edit_locked` tinyint(1) unsigned NOT NULL default '0',
PRIMARY KEY (`post_id`),
KEY `forum_id` (`forum_id`),
KEY `topic_id` (`topic_id`),
KEY `poster_ip` (`poster_ip`),
KEY `poster_id` (`poster_id`),
KEY `post_approved` (`post_approved`),
KEY `tid_post_time` (`topic_id`,`post_time`)
) ENGINE=MyISAM AUTO_INCREMENT=134228 DEFAULT CHARSET=latin1;
ALTER TABLE `phpbb3_posts`
CHANGE `post_text` `post_text` mediumtext COLLATE 'utf8_general_ci' NOT NULL,
CHANGE `post_edit_reason` `post_edit_reason` varchar(255) COLLATE 'utf8_general_ci' NOT NULL DEFAULT '',
CHANGE `post_username` `post_username` varchar(255) COLLATE 'utf8_general_ci' NOT NULL DEFAULT '',
CHANGE `post_subject` `post_subject` varchar(255) COLLATE 'utf8_general_ci' NOT NULL DEFAULT '';
ALTER TABLE `phpbb3_captcha_answers`
CHANGE `answer_text` `answer_text` varchar(255) COLLATE 'utf8_general_ci' NOT NULL DEFAULT '';
ALTER TABLE `phpbb3_captcha_questions`
CHANGE `question_text` `question_text` text COLLATE 'utf8_general_ci' NOT NULL;
ALTER TABLE `phpbb3_groups`
CHANGE `group_name` `group_name` varchar(255) COLLATE 'utf8_general_ci' NOT NULL DEFAULT '',
CHANGE `group_desc` `group_desc` text COLLATE 'utf8_general_ci' NOT NULL;