MyBB Community Forums

Full Version: smf 2.0.2
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Does the merge system not work with smf 2.0.2 ?
The merge system supports SMF 2.0 so it should in theory work on 2.0.2. Smile
Hi

when importing users it produces this screen info:

Warning [2] Invalid argument supplied for foreach() - Line: 116 - File: merge/boards/smf2.php PHP 5.2.17 (Linux)
File Line Function
/merge/resources/class_error.php 64 errorHandler->error
/merge/boards/smf2.php 116 debugErrorHandler->error
/merge/boards/smf2/users.php 48 SMF2_Converter->get_group_id
/merge/resources/modules/users.php 130 SMF2_Converter_Module_Users->convert_data
/merge/boards/smf2/users.php 38 Converter_Module_Users->insert
/merge/index.php 1069 SMF2_Converter_Module_Users->import
Warning [2] Invalid argument supplied for foreach() - Line: 116 - File: merge/boards/smf2.php PHP 5.2.17 (Linux)
File Line Function
/merge/resources/class_error.php 64 errorHandler->error
/merge/boards/smf2.php 116 debugErrorHandler->error
/merge/boards/smf2/users.php 48 SMF2_Converter->get_group_id
/merge/resources/modules/users.php 130 SMF2_Converter_Module_Users->convert_data
/merge/boards/smf2/users.php 38 Converter_Module_Users->insert
/merge/index.php 1069 SMF2_Converter_Module_Users->import
Warning [2] Invalid argument supplied for foreach() - Line: 116 - File: merge/boards/smf2.php PHP 5.2.17 (Linux)
File Line Function
/merge/resources/class_error.php 64 errorHandler->error
/merge/boards/smf2.php 116 debugErrorHandler->error
/merge/boards/smf2/users.php 48 SMF2_Converter->get_group_id
/merge/resources/modules/users.php 130 SMF2_Converter_Module_Users->convert_data
/merge/boards/smf2/users.php 38 Converter_Module_Users->insert
/merge/index.php 1069 SMF2_Converter_Module_Users->import
Warning [2] Invalid argument supplied for foreach() - Line: 116 - File: merge/boards/smf2.php PHP 5.2.17 (Linux)
File Line Function
/merge/resources/class_error.php 64 errorHandler->error
/merge/boards/smf2.php 116 debugErrorHandler->error
/merge/boards/smf2/users.php 48 SMF2_Converter->get_group_id
/merge/resources/modules/users.php 130 SMF2_Converter_Module_Users->convert_data
/merge/boards/smf2/users.php 38 Converter_Module_Users->insert
/merge/index.php 1069 SMF2_Converter_Module_Users->import
Warning [2] Invalid argument supplied for foreach() - Line: 116 - File: merge/boards/smf2.php PHP 5.2.17 (Linux)
File Line Function
/merge/resources/class_error.php 64 errorHandler->error
/merge/boards/smf2.php 116 debugErrorHandler->error
/merge/boards/smf2/users.php 48 SMF2_Converter->get_group_id
/merge/resources/modules/users.php 130 SMF2_Converter_Module_Users->convert_data
/merge/boards/smf2/users.php 38 Converter_Module_Users->insert
/merge/index.php 1069 SMF2_Converter_Module_Users->import
Warning [2] Invalid argument supplied for foreach() - Line: 116 - File: merge/boards/smf2.php PHP 5.2.17 (Linux)
File Line Function
/merge/resources/class_error.php 64 errorHandler->error
/merge/boards/smf2.php 116 debugErrorHandler->error
/merge/boards/smf2/users.php 48 SMF2_Converter->get_group_id
/merge/resources/modules/users.php 130 SMF2_Converter_Module_Users->convert_data
/merge/boards/smf2/users.php 38 Converter_Module_Users->insert
/merge/index.php 1069 SMF2_Converter_Module_Users->import


Then on importing permissions it gets stuck on

1,000 forum permissions are importing right now. There are 411 forum permissions left to import and 1 pages left.

with no progress bar and just keeps redirecting

Also in private messages:

MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1054 - Unknown column 'import_pmid' in 'field list'
Query:
INSERT INTO mybb_privatemessages (import_pmid,uid,toid,fromid,recipients,folder,subject,icon,message,dateline,deletetime,status,statustime,includesig,smilieoff,receipt,readtime,pmid) VALUES ('4853','7','59','62','a:2:{i:0;s:1:\"7\";i:1;s:2:\"60\";}','1','Details','','Hi All\n\nThink I gave Al and Jax my new mobile number but thought I would copy them in just in case I didn\'t :-[\n\nLandline 01736 ******\n\nMobile 07879 ******\n\nKat\nxx','1303399727','0','3','0','0','','2','0','')

Note **** is where i removed some phone numbers
(12-03-2012, 03:47 PM)andykay Wrote: [ -> ]Hi

(...)

Then on importing permissions it gets stuck on

1,000 forum permissions are importing right now. There are 411 forum permissions left to import and 1 pages left.

with no progress bar and just keeps redirecting

Also in private messages:

MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1054 - Unknown column 'import_pmid' in 'field list'
Query:
INSERT INTO mybb_privatemessages (import_pmid,uid,toid,fromid,recipients,folder,subject,icon,message,dateline,deletetime,status,statustime,includesig,smilieoff,receipt,readtime,pmid) VALUES ('4853','7','59','62','a:2:{i:0;s:1:\"7\";i:1;s:2:\"60\";}','1','Details','','Hi All\n\nThink I gave Al and Jax my new mobile number but thought I would copy them in just in case I didn\'t :-[\n\nLandline 01736 ******\n\nMobile 07879 ******\n\nKat\nxx','1303399727','0','3','0','0','','2','0','')

Note **** is where i removed some phone numbers

Hi.
I'm having the same issues with permissions and PM's. How did you solved it?
Sometimes imports of smf2 were a pain in the lime for me. You may have to do a little bit of work to merge.

I think mybb has an issue with blank titled smf 2 private messages, but I could be mistaken as to what causes the error.