Simple Machines Community Forum

SMF Support => Converting to SMF => MyBB => Topic started by: apking on March 04, 2010, 04:03:33 AM

Title: Myybb 1.4 to SMF 2.0 convertion problem
Post by: apking on March 04, 2010, 04:03:33 AM
Hi Friends,

Iam trying to convert mybb to smf2.0 .in step1 i got below msg.

Converting...
Converting members...Field 'message_labels' doesn't have a default value


means its converting or not.how can i know its process or not.please help me?


apking
Title: Re: Myybb 1.4 to SMF 2.0 convertion problem
Post by: Oldiesmann on March 04, 2010, 12:35:09 PM
Try this file. The problem is that MySQL is running in strict mode, so it will complain if SMF doesn't try to insert data into fields that don't have a default value.
Title: Re: Myybb 1.4 to SMF 2.0 convertion problem
Post by: apking on March 04, 2010, 09:30:07 PM
yea i replace sql file. now iam getting this error

Converting...
Converting members...Wrong value type sent to the database. Date expected. (birthdate)

what can id o now?


Thanks in advance
apking
Title: Re: Myybb 1.4 to SMF 2.0 convertion problem
Post by: apking on March 05, 2010, 11:41:36 AM
hi Oldiesmann,

any sollution for above problem. please help me?


Thanks
apking
Title: Re: Myybb 1.4 to SMF 2.0 convertion problem
Post by: Oldiesmann on March 05, 2010, 12:03:22 PM
Can you give me some sample data from MyBB's "birthday" column? I'm trying to figure out what's going on here. Either SMF is reversing the month and the date, or MySQL isn't interpreting the result as a date.
Title: Re: Myybb 1.4 to SMF 2.0 convertion problem
Post by: apking on March 05, 2010, 01:03:27 PM
date format in mybb is   DD/mm/year

Title: Re: Myybb 1.4 to SMF 2.0 convertion problem
Post by: Oldiesmann on March 05, 2010, 01:29:56 PM
Does this one work better?

I replaced the ridiculously complex string concatenation code with MySQL's DATE_FORMAT function.
Title: Re: Myybb 1.4 to SMF 2.0 convertion problem
Post by: apking on March 05, 2010, 01:42:48 PM
hi

now iam getting this error


Converting...
Converting members... Unsuccessful!
This query:

    LIMIT 500;

Caused the error:

    You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 500' at line 1


thanks
Title: Re: Myybb 1.4 to SMF 2.0 convertion problem
Post by: Norv on March 05, 2010, 05:33:25 PM
Please, try the attached file, instead.
Title: Re: Myybb 1.4 to SMF 2.0 convertion problem
Post by: apking on March 05, 2010, 10:07:48 PM
hi norv,


iam replace that file.then it works fine. but it will automatically stop processing in conversion of topics. what i will do now?

i will get this

Converting...
Converting members...
Successful.
Converting categories... Successful.
Converting boards... Successful.
Converting topics...

but there is no process

Thanks
apking
Title: Re: Myybb 1.4 to SMF 2.0 convertion problem
Post by: apking on March 06, 2010, 07:11:28 AM
need help please
Title: Re: Myybb 1.4 to SMF 2.0 convertion problem
Post by: Oldiesmann on March 06, 2010, 12:46:18 PM
Please wait at least 24 hours before bumping your topics. We are all volunteers here and can't always respond immediately.
Title: Re: Myybb 1.4 to SMF 2.0 convertion problem
Post by: apking on March 07, 2010, 03:34:38 AM
ok i will wait.

Thank you
Apking
Title: Re: Myybb 1.4 to SMF 2.0 convertion problem
Post by: Norv on March 07, 2010, 04:05:04 AM
Sorry for the delay, I don't seem able to replicate the problem. Can you please try re-running the converter as: http://your_smf_site/convert.php?debug=1
Then, a file (named "convert_error_log") should be created in your SMF directory. Please, attach it here.

Also, perhaps if you could post all messages on that page where conversion stops, might help.
Title: Re: Myybb 1.4 to SMF 2.0 convertion problem
Post by: apking on March 07, 2010, 07:44:10 AM
hi

here is iam attached error log,

i got this msg again

i will get this

Converting...
Converting members...
Successful.
Converting categories... Successful.
Converting boards... Successful.
Converting topics...



Thanks
Apking
Title: Re: Myybb 1.4 to SMF 2.0 convertion problem
Post by: apking on March 08, 2010, 07:41:37 PM
hi norv,


i was attached error log. please check.
Title: Re: Myybb 1.4 to SMF 2.0 convertion problem
Post by: apking on March 10, 2010, 08:48:40 AM
hi norv,

please give any suggestions regarding conversion.

Thanks
apking
Title: Re: Myybb 1.4 to SMF 2.0 convertion problem
Post by: apking on March 12, 2010, 04:44:20 AM
hi friends,
please help me?


Apking
Title: Re: Myybb 1.4 to SMF 2.0 convertion problem
Post by: Norv on March 18, 2010, 06:44:08 PM
Sorry for the delay. I can't tell where the problem is, and I am unable to replicate it.
Do you use a shared server only, or can you make the conversion on your local computer, or perhaps on a server where you have access to MySQL log and settings?
Title: Re: Myybb 1.4 to SMF 2.0 convertion problem
Post by: mrl586 on March 18, 2010, 07:06:06 PM
This file works: http://www.simplemachines.org/community/index.php?topic=256073.msg2409397#msg2409397
But polls seems convert incorrectly.
Title: Re: Myybb 1.4 to SMF 2.0 convertion problem
Post by: Lich_king2 on April 08, 2010, 01:30:03 PM
I'm sorry for bumping old thread, I've edited mybb14x_to_smf.sql and fixed the birthdays table issue.
If anyone has the same problem, feel free to use attached SQL file. Converted from MyBB 1.4.11 to SMF 2.0 RC3
Title: Re: Myybb 1.4 to SMF 2.0 convertion problem
Post by: Norv on April 10, 2010, 10:51:29 AM
Thank you for sharing, Lich_king2.
Title: Re: Myybb 1.4 to SMF 2.0 convertion problem
Post by: fantom01 on April 12, 2010, 02:54:52 PM
Hello,

Been trying to convert mybb 1.4.x to smf 2.0 rc3 and I  keep getting stuck at: "Converting polls...Wrong value type sent to the database. Integer expected. (expire_time)". Did a search on the forum and it looks like no ones has run into this problem before for mybb.

Any help would be greatly appreciated.
Title: Re: Myybb 1.4 to SMF 2.0 convertion problem
Post by: Norv on April 12, 2010, 03:12:47 PM
Can you please, if you tried using the last file posted here by Lich_king2?
http://www.simplemachines.org/community/index.php?topic=368769.msg2575944#msg2575944
Title: Re: Myybb 1.4 to SMF 2.0 convertion problem
Post by: apking on April 13, 2010, 02:54:55 AM
Hi norv,

iam trying that. iam getting this error now


Converting members...Field 'message_labels' doesn't have a default value


Thanks
APking
Title: Re: Myybb 1.4 to SMF 2.0 convertion problem
Post by: Lich_king2 on April 13, 2010, 04:13:20 PM
Hmm try to add this:    
'' AS message_labels, '' AS openid_uri, '' AS location, '' AS avatar, '' AS personal_text,
'' AS secret_question, '' AS ignore_boards, '' AS additional_groups

Add it before FROM {$from_prefix}users;
Title: Re: Myybb 1.4 to SMF 2.0 convertion problem
Post by: apking on April 13, 2010, 09:30:00 PM
hi

it struck  at conversion of topics. what i will do now?

i will get this

Converting...
Converting members...
Successful.
Converting categories... Successful.
Converting boards... Successful.
Converting topics...

but there is no process.

Thanks
apking
Title: Re: Myybb 1.4 to SMF 2.0 convertion problem
Post by: Norv on April 17, 2010, 03:42:21 PM
I can't replicate this...
It does not seem to go further at all?
Are there errors on the page? (In Firefox, Tools menu, please see the Javascript error console)
Do you have javascript enabled?