Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 4 Years, 3 Weeks ago SMF 2.0.7 conversion | Errors
#11
Solved: 4 Years, 3 Weeks ago
(06-12-2014, 02:38 PM)King Louis Wrote: Which module? I can't find "icon" in the module files atm.

Private messages.

EDIT: Posts has a syntax error too.
1366 - Incorrect integer value: '' for column 'replyto' at row 1
#12
Solved: 4 Years, 3 Weeks ago
To fix the icon thing: Open "/merge/resources/modules/privatemessages.php", line 22:
'icon' => 0,

I wasn't able to reproduce the issue with the posts module but here's a dirty fix which should work: Open "/merge/boards/smf2/posts.php", around line 50:
		// Make the replyto the first post of thread unless it is the first post
		if($first_post == $data['id_msg'])
		{
			$insert_data['replyto'] = 0;
		}
		else
		{
			$insert_data['replyto'] = $this->get_import->pid($first_post);
		}
		
		// Dirty fix
		if(empty($insert_data['replyto']))
			$insert_data['replyto'] = 0;
Support PMs will be ignored!
#13
Solved: 4 Years, 3 Weeks ago
Last one, hopefully.

1054 - Unknown column 'import_pmid' in 'field list'
#14
Solved: 4 Years, 3 Weeks ago
There's a fix here: http://community.mybb.com/thread-107272-...#pid805074 the file in the last post should work.
Support PMs will be ignored!
#15
Solved: 4 Years, 3 Weeks ago
Sorry about my extremely late reply!

Importing users I get a few errors:
Warning [2] Invalid argument supplied for foreach() - Line: 114 - File: C:\xampp\htdocs\merge\boards\smf2.php PHP 5.5.9 (WINNT)

And the PM error still exists.


Forum Jump:


Users browsing this thread: 1 Guest(s)