but i don't know what is my encodeOPEN functions_vb30.php
FIND
Code: Select all
$encoding = 'ISO-8859-1';
but when i try to open the * View unanswered posts i found my threads over there with this view :This board has no forums.
so what can i do ??The requested topic does not exist.
Code: Select all
General Error
SQL ERROR [ mysqli ]
Incorrect string value: '\xD9' for column 'forum_name' at row 1 [1366]
SQL
INSERT INTO phpbb_forums (forum_id, forum_name, parent_id, forum_parents, forum_desc, forum_type, forum_status, forum_flags, forum_desc_bitfield, forum_desc_options, forum_desc_uid, forum_link, forum_password, forum_style, forum_image, forum_rules, forum_rules_link, forum_rules_bitfield, forum_rules_options, forum_rules_uid, forum_topics_per_page, forum_posts, forum_topics, forum_topics_real, forum_last_post_id, forum_last_poster_id, forum_last_post_subject, forum_last_post_time, forum_last_poster_name, forum_last_poster_colour, display_on_index, enable_indexing, enable_icons, left_id, right_id) VALUES (188, 'بخش مالتی مدیای تلفن های همراه و اسکرین سیور و والپیپر �', 183, '', '', 1, 0, 34, '', 7, '', '', '', 0, '', '', '', '', 7, '', 0, 0, 0, 0, 0, 0, '', 0, '', '', 1, 1, 0, '100', 101)
BACKTRACE
FILE: includes/db/mysqli.php
LINE: 163
CALL: dbal->sql_error()
FILE: install/convertors/functions_vb30.php
LINE: 417
CALL: dbal_mysqli->sql_query()
FILE: install/install_convert.php(1003) : eval()'d code
LINE: 8
CALL: phpbb_insert_forums()
FILE: install/install_convert.php
LINE: 1003
CALL: eval()
FILE: install/install_convert.php
LINE: 203
CALL: install_convert->convert_data()
FILE: install/index.php
LINE: 405
CALL: install_convert->main()
FILE: install/index.php
LINE: 282
CALL: module->load()
I'm going to answer my own question and say YES you can run the converter multiple times to update your conversion with new posts. If I totally missed the answer before... I apologize, but the search did not give me an answer regarding vb 3X to phpBB 3x converter and multiple conversion passes.fgforty2 wrote:Can I run this converter multiple times to update the (inactive)phpbb DB with newer posts now on the (active) vB DB? I saw in the SMF converter thread via search it would work fine, but I just wanted to check if there was a limitation to the vb converter regarding that.
Thanks
Code: Select all
SQL ERROR [ mysql4 ]
Unknown column 'userfield.field3' in 'field list' [1054]
SQL
SELECT user.userid, user.userid AS poster_id, user.usergroupid, user.ipaddress, user.salt, user.joindate, user.username, user.password, user.posts, user.email, user.birthday, user.lastvisit, user.lastactivity, user.timezoneoffset, userfield.field2, userfield.field3, userfield.field4, user.homepage, user.msn, user.yahoo, user.aim, user.icq, user.customtitle, avatar.avatarpath, user.pmunread, user.emailstamp, user.autosubscribe, usertextfield.signature, user.joindate AS post_time FROM ((user LEFT JOIN userfield ON user.userid = userfield.userid) LEFT JOIN usertextfield on user.userid=usertextfield.userid) LEFT JOIN avatar on user.avatarid=avatar.avatarid WHERE (user.userid <> -1) ORDER BY user.userid LIMIT 2000
Code: Select all
array('user_number', 'userfield.field1', array('function1' => 'phpbb_set_encoding')),
array('user_from', 'userfield.field2', array('function1' => 'phpbb_set_encoding')),
array('user_phone', 'userfield.field5', array('function1' => 'phpbb_set_encoding')),
array('user_operate', 'userfield.field6', array('function1' => 'phpbb_set_encoding')),
array('user_own', 'userfield.field8', array('function1' => 'phpbb_set_encoding')),
General Error
SQL ERROR [ mysqli ]
Incorrect string value: '\xCA\xE6\xC8\xEC \xE5...' for column 'forum_name' at row 1 [1366]
SQL
INSERT INTO lastdbforums (forum_id, forum_name, parent_id, forum_parents, forum_desc, forum_type, forum_status, forum_rules, left_id, right_id) VALUES ('1', '���� ���� ������', 0, '', '', 0, 0, '', 1, 2)
BACKTRACE
FILE: includes/db/mysqli.php
LINE: 163
CALL: dbal->sql_error()
FILE: install/convertors/functions_vb30.php
LINE: 315
CALL: dbal_mysqli->sql_query()
FILE: install/install_convert.php(1003) : eval()'d code
LINE: 15
CALL: phpbb_insert_forums()
FILE: install/install_convert.php
LINE: 1003
CALL: eval()
FILE: install/install_convert.php
LINE: 203
CALL: install_convert->convert_data()
FILE: install/index.php
LINE: 405
CALL: install_convert->main()
FILE: install/index.php
LINE: 282
CALL: module->load()
and i start over againg and the same errorwoodp wrote:Got past the "Unknown column 'userfield.field3' in 'field list' [1054]" hurdle by modifying lines 682-685 of vb30.php as follows:
But when I inspect the new SQL database, the phpbb_users table is only populated with the 101 'bots - None of my users were imported. Worse, where the original author may have been user number X, now phpbb is showing the author to be a 'bot.Code: Select all
array('user_number', 'userfield.field1', array('function1' => 'phpbb_set_encoding')), array('user_from', 'userfield.field2', array('function1' => 'phpbb_set_encoding')), array('user_phone', 'userfield.field5', array('function1' => 'phpbb_set_encoding')), array('user_operate', 'userfield.field6', array('function1' => 'phpbb_set_encoding')), array('user_own', 'userfield.field8', array('function1' => 'phpbb_set_encoding')),
The rest of the import seemed to have gone well. What do I need to do to import my users?
Absolutely. The vB database format is pretty much unchanged since 3.5 or 3.6 ...Hrxsz wrote:Is this convertor work well with vBulletin 3.8.2?