News:

Wondering if this will always be free?  See why free is better.

Main Menu

Myybb 1.4 to SMF 2.0 convertion problem

Started by apking, March 04, 2010, 04:03:33 AM

Previous topic - Next topic

apking

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 [nofollow] can i know its process or not.please help me?


apking

Oldiesmann

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.
Michael Eshom
Christian Metal Fans

apking

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

apking

hi Oldiesmann,

any sollution for above problem. please help me?


Thanks
apking

Oldiesmann

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.
Michael Eshom
Christian Metal Fans

apking


Oldiesmann

Does this one work better?

I replaced the ridiculously complex string concatenation code with MySQL's DATE_FORMAT function.
Michael Eshom
Christian Metal Fans

apking

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

Norv

To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

apking

#9
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

apking


Oldiesmann

Please wait at least 24 hours before bumping your topics. We are all volunteers here and can't always respond immediately.
Michael Eshom
Christian Metal Fans

apking


Norv

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.
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

apking

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

apking

hi norv,


i was attached error log. please check.

apking

hi norv,

please give any suggestions regarding conversion.

Thanks
apking

apking


Norv

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?
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

mrl586

#19

Lich_king2

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

Norv

To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

fantom01

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.

Norv

To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

apking

Hi norv,

iam trying that. iam getting this error now


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


Thanks
APking

Lich_king2

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;

apking

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

Norv

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?
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

Advertisement: