Simple Machines Community Forum

SMF Support => Converting to SMF => YaBB/YaBB SE => Topic started by: Conservationist on June 27, 2008, 07:25:08 PM

Title: YaBB 2.2 Conversion: Duplicate entry
Post by: Conservationist on June 27, 2008, 07:25:08 PM
For those who have not shared in the sad saga, here's a recap:

I'm converting a series of YaBB 2.2 databases to SMF because our webhost stopped supporting YaBB.

Thanks to SleePy's help, I figured out the first was getting killed by the webhost because it was a large process (in their view).

Now, on to the second:


Undefined variable: command_line in [path]/convert.php on line 1148
Cleaning up (part 2)... Successful.
Converting polls and poll choices... Successful.
Converting polls and poll choices (part 2)... Successful.
Converting poll votes... Unsuccessful!
This query:

    ALTER TABLE `tablename`.prefix_poll_choices
    ADD PRIMARY KEY (ID_POLL, ID_CHOICE);

Caused the error:

    Duplicate entry '16777215-0' for key 1


This is one of those darn polls. Questions:

(a) How do I fix this?
(b) Can I skip it? Polls... we have a few, but they're not important. I have no idea where they are in the original forum, which is no longer on its original machine.

Cheers
Title: Re: YaBB 2.2 Conversion: Duplicate entry
Post by: SleePy on June 28, 2008, 01:03:49 AM
You are so close to the end :(

Who is your host btw? I asked Jay and he says that a host he has seen does this (for what ever reason).

You could go in and manually remove it though and we can hope its the only duplicate one in there and then the conversion would complete its last 3 changes (Yea your that close).
Title: Re: YaBB 2.2 Conversion: Duplicate entry
Post by: Conservationist on June 29, 2008, 07:31:11 PM
It's done! Both forums.

I had to find another machine and run the converter there, which is I think more a reflection of how stringent our webhost is about processor time than anything else.

We lost some PMs on one forum, and I had to remove all poll-linked topics on another (go to Convert/Members and select *.polls, then delete thatname.*).

Quote from: SleePy on June 28, 2008, 01:03:49 AM
Who is your host btw? I asked Jay and he says that a host he has seen does this (for what ever reason).

I spilled all the details here (http://www.yabbforum.com/community/YaBB.pl?num=1214682357).

...Thank you, SleePy, and all others who helped. We survived somehow. It's a good feeling. New forums so far are a big improvement, but still slow, because our webhost is a bit overloaded and as a result has restricted users to very little processor time.
Title: Re: YaBB 2.2 Conversion: Duplicate entry
Post by: SleePy on June 29, 2008, 10:13:22 PM
You are welcome :)

You may want to take a peak at our hosts and hosting board, It has information about other hosts that may help you in your search if you want a new host.