Advertisement:

Author Topic: vBulletin 3.6 to SMF 2.0 RC2 ERROR  (Read 10751 times)

Offline Norv

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 18,313
  • Blue Wolf
Re: vBulletin 3.6 to SMF 2.0 RC2 ERROR
« Reply #20 on: November 29, 2009, 01:55:34 PM »
Please try the attached file, instead.
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

Offline ACAMS

  • Full Member
  • ***
  • Posts: 607
  • HEY, watch this....here, hold my beer
    • gametechmods.com
Re: vBulletin 3.6 to SMF 2.0 RC2 ERROR
« Reply #21 on: November 29, 2009, 02:24:04 PM »
I think I got closer, but the list is long this time.

http://gametechmods.com/forums-old-smf/poll_votes.txt

Offline Norv

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 18,313
  • Blue Wolf
Re: vBulletin 3.6 to SMF 2.0 RC2 ERROR
« Reply #22 on: November 29, 2009, 02:40:34 PM »
Oops, might be my fault, that. Please, use this file, instead.
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

Offline ACAMS

  • Full Member
  • ***
  • Posts: 607
  • HEY, watch this....here, hold my beer
    • gametechmods.com
Re: vBulletin 3.6 to SMF 2.0 RC2 ERROR
« Reply #23 on: November 29, 2009, 03:00:33 PM »
Looks like you are busy helping lots of people.

I tried the last one, but still stuck here

Converting...
Converting posts (this may take some time)...
Successful.
Converting polls... Successful.
Converting poll options...Wrong value type sent to the database. Integer expected. (votes)

Offline Norv

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 18,313
  • Blue Wolf
Re: vBulletin 3.6 to SMF 2.0 RC2 ERROR
« Reply #24 on: November 29, 2009, 03:33:08 PM »
Option 1: Please, use this attached file.

Option 2: If it still doesn't work, then if you can take the time, please do the following: run in phpmyadmin, selecting the vbulletin database, the query:
Code: [Select]
SELECT votes FROM vb_poll;
and "export" the result into a file, as phpmyadmin allows to, or copy paste them here (if not too many, at least).

Option 3: Or, you could perhaps do this: if you agree to losing the number of votes for the time being, then in the (last) file vbulletin37_to_smf.sql, the file attached to this message, you could:
Code: (find) [Select]
'votes' => (is_numeric($votes[$i]) ? $votes[$i] : 0),

Code: (replace) [Select]
'votes' => 0,
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

Offline ACAMS

  • Full Member
  • ***
  • Posts: 607
  • HEY, watch this....here, hold my beer
    • gametechmods.com
Re: vBulletin 3.6 to SMF 2.0 RC2 ERROR
« Reply #25 on: November 29, 2009, 05:09:06 PM »
Stopped in the same place again.

here is the dump file

http://gametechmods.com/forums/phpMyAdmin_SQL_Dump.txt

I went ahead with #2 and now I wonder if there is a way to either mass delete all polls, or fix them?

http://gametechmods.com/forums/poll_gone.png
« Last Edit: November 29, 2009, 06:49:03 PM by ACAMS »

Offline Norv

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 18,313
  • Blue Wolf
Re: vBulletin 3.6 to SMF 2.0 RC2 ERROR
« Reply #26 on: November 29, 2009, 06:50:21 PM »
Everything seems as expected in the table you attached, there is obviously is a bug in the code I didn't see at first sight. I'll come back tomorrow on the polls options problem, surely they can be imported correctly instead of that. (it's getting very late here)
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

Offline ACAMS

  • Full Member
  • ***
  • Posts: 607
  • HEY, watch this....here, hold my beer
    • gametechmods.com
Re: vBulletin 3.6 to SMF 2.0 RC2 ERROR
« Reply #27 on: November 30, 2009, 02:17:59 AM »
No, don't worry about it for me, you have really helped me through this and it is VERY easy to delete polls with SMF. In vbulletin I had to go into the control panel and put in the number of the post I wanted to strip....then go back to the forum and get another number, and so on

THANKS for your help, I really appreciate you taking time to help me.

You guy's will have a new charter member as soon as I get home from work (which should be this week)

THANKS again for the help, and I will mark this solved.

Offline Norv

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 18,313
  • Blue Wolf
Re: vBulletin 3.6 to SMF 2.0 RC2 ERROR
« Reply #28 on: November 30, 2009, 03:53:45 AM »
Cheers, good to hear you have it sorted out!
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