MyBB Community Forums

Full Version: Smf attachments import
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi.

I really want this conversion to work for me but it does not. I have a smf 1.18 forum , i tried to convert it to MyBB, everything went fine until the attachments. I changed the permissions to 777 for both the attachments folder and for the individual files too. I have 2800 attachments...without these my forum is useless, so they are important.

So I started the import using this path:
/home/baross/public_html/forum/attachments

It went one page (20 files) and when started the second one it stopped and i got this error:

Quote:Fatal error: Call to undefined method Cache_Handler::attach_filename() in /home/baross/public_html/mybb/convert/boards/smf/attachments.php on line 176

I go back and resume, it shows me the same error.
So is there something i can do about it? I really want to convert my smf to mybb...is way better. So please help me.

Edit:
Nevermind..i got it.
If someone has this problem, just go to
convert/boards/smf/attachments.php, and go to line 176:
$thumbnail = $this->get_import->attach_filename($data['ID_THUMB']);
replace with:
$thumbnail = $this->get_import_attach_filename($data['ID_THUMB']);

I am not a coder..i just tried like this and worked.

EDIT AGAIN
It doesn`t work like this. All attachments are damaged. So anybody please respond to this issue.