SMF Support > YaBB/YaBB SE

[SMF Converter] Yabb 2.2

<< < (6/10) > >>

SleePy:
Do any boards convert?

Far as I can tell I think the boards conversion may be failing. But I don't see why

Edit,
We could try this
Find in the yabb2_to_smf.sql


--- Code: --- list ($tempCatID, $tempID, , $description, $mods, , , , , $doCountPosts, , , $is_recycle) = explode('|', rtrim($line));
// !!! is_recycle -> set recycle board?

--- End code ---

Add before:

--- Code: --- if (substr($line, 0, 3) == 'qq~')
$line = substr($line, 3);

--- End code ---

dataangel:
Ill give that a try and report the results, thanks.


^
Successful.
Converting membergroups... Successful.
Converting members... Successful.
Converting settings... Successful.
Converting personal messages (part 1)... Successful.
Successful.
Converting boards and categories...
Notice: Undefined index: general_cat in /home/content/d/a/t/dataangel/html/yabb22_to_smf.php on line 785

Notice: Undefined index: general_cat in /home/content/d/a/t/dataangel/html/yabb22_to_smf.php on line 787
Successful.
Converting topics (part 1)...
Notice: Undefined variable: i in /home/content/d/a/t/dataangel/html/yabb22_to_smf.php on line 866

Notice: Undefined variable: userData in /home/content/d/a/t/dataangel/html/yabb22_to_smf.php on line 866

Converting posts (part 1 - this may take some time)... Unsuccessful!
This query:

    UPDATE `smfzork`.smfzork_topics
    SET ID_FIRST_MSG = ,
    ID_LAST_MSG =
    WHERE ID_TOPIC = 7;

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 '
    ID_LAST_MSG =
    WHERE ID_TOPIC = 7' at line 2

SleePy:
I think I see it now.
Make a backup of your forum.control.

Open it. The very last line should have something similar to "general_cat|news||All"

Change general_cat to 1. I think this is the issue here as that is an invalid cat id. The converter can't find it so index errors are occurring and the conversion isn't completing.

dataangel:
FIXED ^

Notice: Undefined variable: i in /home/content/d/a/t/dataangel/html/yabb22_to_smf.php on line 864

Notice: Undefined variable: userData in /home/content/d/a/t/dataangel/html/yabb22_to_smf.php on line 864

Converting posts (part 1 - this may take some time)... Unsuccessful!
This query:

    UPDATE `smfzork`.smfzork_topics
    SET ID_FIRST_MSG = ,
    ID_LAST_MSG =
    WHERE ID_TOPIC = 7;

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 '
    ID_LAST_MSG =
    WHERE ID_TOPIC = 7' at line 2

SleePy:
Did the members get converted?

Those line errors are way off from what I have, so this is making debugging harder to track down. I don't think it is anything you are doing, most likely just issues with line endings from different operating systems.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version