News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

[Converter] XenForo 1.2 --> SMF 2.0.x

Started by margarett, October 06, 2013, 05:09:45 PM

Previous topic - Next topic

Ninja ZX-10RR

I don't think I will ever use it since I am already on SMF but I wanted to say congrats for creating such a difficult thing and also for supporting it like this. You are awesome, my respect for you is very high, for this and for many other things you have done here, for me and not only for me.
Quote from: BeastMode topic=525177.msg3720020#msg3720020
It's so powerful that on this post and even in the two PMs you sent me,you still answered my question very quickly and you're apologizing for the delay. You're the #1 support I've probably ever encountered man, so much respect for that. Thank you, and get better soon.

I'll keep this in my siggy for a while just to remind me that someone appreciated what I did while others didn't.

♥ Jess ♥

STOP EDITING MY PROFILE

p13t3rm

Thanks a lot for this, I'm currently getting stuck on step 3 on a XenForo 1.2.2 install.
Here's a full transcript of whats shown:
Boards cleared from SMF table. Next step, how many boards are in XF "node" table and whose category id is "Forum"/"ForumLink"? 6 boards and 0 "redirect boards" were found in XF.

Notice: Undefined offset: 0 in /home2/billybob/public_html/smf_forum/xf2smf.php on line 547

Notice: Undefined offset: 0 in /home2/billybob/public_html/smf_forum/xf2smf.php on line 547

Notice: Undefined offset: 0 in /home2/billybob/public_html/smf_forum/xf2smf.php on line 547

Notice: Undefined offset: 0 in /home2/billybob/public_html/smf_forum/xf2smf.php on line 547

Notice: Undefined offset: 0 in /home2/billybob/public_html/smf_forum/xf2smf.php on line 547

Notice: Undefined offset: 0 in /home2/billybob/public_html/smf_forum/xf2smf.php on line 547
An Error Has Occurred!

The database value you're trying to insert does not exist: id_cat


Any help would be greatly appreciated!

Thanks again

margarett

Don't you have any categories? I mean, all your boards are directly on the root?
Can I have a link to your XF forum? (via PM if you don't want to post it here)
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

SaltedWeb

Thank you for the referral going to take me some research I do not work allot with the DB on my server so when it says install withing it ,
the thought went beyond my pay grade. I do like the possibilities of doing this. But I was semis lost from the beginning using database installs as you mentioned.
Knowing your limitations makes you human, exceeding these limitations makes you worthy of being human.

margarett

Well, you always need to install SMF in order to convert (or any other software, for that matter :P ).
In this case you are just required to have it in the same database as XF is running (which should normally be painless ;) )

30 minutes-run:
* Set XF in "maintenance mode" (so that no one can access/post/etc).
* backup everything. If you have cPanel it should allow you to generate a full backup in minutes
* install SMF in the same DB where XF is.
* try the converter

If the conversion is successful and if your forum is big, it should take you more than 30 minutes :P But you can only know by trying

In either case, your XF setup should be left untouched ;)
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

SaltedWeb

Knowing your limitations makes you human, exceeding these limitations makes you worthy of being human.

margarett

Nop, this is not an official converter sorry... Read the first post of this topic carefully. Everything you need to know is there ;)
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

SaltedWeb

Ok I saw it under the attachments you posted , great I will look carefully thank you,
Knowing your limitations makes you human, exceeding these limitations makes you worthy of being human.

sc4t

Hello!

The converter has stoper
QuoteNow retrieving posts 46801 to 46850...


margarett

I would assume that the converter stopped because the server didn't answer. You might need to increase the wait time between operations...
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

sc4t


margarett

Find this code
//Did we finish or WHAT?!
if ($counter >= $num_posts)
$done = true;
else
sleep(1);

See the sleep(1)? Increase it to a higher value. Do note that will make the conversion much slower.
You can also decrease the variable $max_queries = 50; at the beginning of the file. Both operations will  make the converter "lighter", while significantly increasing the time it takes...
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

sc4t


sc4t

 :'(

Hello! I have an error message

QuoteErreur de base de données

margarett

Go to phpmyadmin and check your smf_log_errors. The last entry should be what cause that error
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

sc4t

Erreur de base de données: Duplicate entry '134291-59' for key 'first_message'

sc4t

I still have the same error message at the same location
Erreur de base de données: Duplicate entry '134291-59' for key 'first_message'

margarett

Sorry I've been out of the computer for several days. As soon as I get back to it I'll suggest a fix for you
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

sc4t


sc4t

QuoteErreur de base de donn&#233;es: Duplicate entry '134291-59' for key 'first_message'<br /><br /><br />      INSERT INTO `db598946955`.smf_topics(`id_topic`, `is_sticky`, `id_board`, `id_first_msg`, `id_last_msg`, `id_member_started`, `id_member_updated`, `id_poll`, `id_previous_board`, `id_previous_topic`, `num_replies`, `num_views`, `locked`, `unapproved_posts`, `approved`)<br />      VALUES<br />         (13410, 0, 68, 134593, 134593, 1, 1, 0, 0, 0, 0, 69, 1, 0, 1),<br />         (13411, 0, 68, 134594, 134594, 1, 1, 0, 0, 0, 0, 71, 1, 0, 1),<br />         (13412, 0, 68, 134595, 134595, 1, 1, 0, 0, 0, 0, 76, 1, 0, 1),<br />         (13413, 0, 68, 134596, 134596, 1, 1, 0, 0, 0, 0, 79, 1, 0, 1),<br />         (13414, 0, 68, 134597, 134597, 1, 1, 0, 0, 0, 0, 88, 1, 0, 1),<br />         (13415, 0, 68, 134598, 134598, 1, 1, 0, 0, 0, 0, 77, 1, 0, 1),<br />         (13416, 0, 68, 134599, 134599, 1, 1, 0, 0, 0, 0, 60, 1, 0, 1),<br />         (13417, 0, 68, 134600, 134600, 1, 1, 0, 0, 0, 0, 61, 1, 0, 1),<br />         (13418, 0, 68, 134601, 134601, 1, 1, 0, 0, 0, 0, 65, 1, 0, 1),<br />         (13419, 0, 68, 134602, 134602, 1, 1, 0, 0, 0, 0, 55, 1, 0, 1),<br />         (13420, 0, 68, 134603, 134603, 1, 1, 0, 0, 0, 0, 83, 0, 0, 1),<br />         (13421, 0, 73, 134604, 134604, 926, 926, 0, 0, 0, 0, 70, 0, 0, 1),<br />         (13422, 0, 59, 134606, 134613, 219, 1, 0, 0, 0, 7, 245, 0, 0, 1),<br />         (13424, 0, 53, 134615, 134893, 929, 1027, 0, 0, 0, 3, 88, 0, 0, 1),<br />         (13425, 0, 63, 134616, 134756, 929, 929, 0, 0, 0, 4, 180, 0, 0, 1),<br />         (13426, 0, 53, 134617, 134665, 929, 942, 0, 0, 0, 3, 131, 0, 0, 1),<br />         (13427, 0, 59, 134618, 134703, 929, 929, 0, 0, 0, 6, 270, 0, 0, 1),<br />         (13428, 0, 53, 134623, 134625, 931, 1, 0, 0, 0, 1, 69, 0, 0, 1),<br />         (13430, 0, 54, 134629, 134631, 932, 932, 0, 0, 0, 2, 114, 0, 0, 1),<br />         (13435, 0, 53, 134637, 134664, 934, 942, 0, 0, 0, 3, 128, 0, 0, 1),<br />         (13436, 0, 59, 134638, 134899, 934, 1, 0, 0, 0, 16, 734, 0, 0, 1),<br />         (13437, 0, 68, 134648, 134648, 1, 1, 0, 0, 0, 0, 103, 1, 0, 1),<br />         (13438, 0, 54, 134650, 134656, 1, 942, 0, 0, 0, 1, 95, 0, 0, 1),<br />         (13439, 0, 63, 134653, 134654, 936, 1, 0, 0, 0, 1, 113, 0, 0, 1),<br />         (13441, 1, 52, 134658, 134658, 1, 1, 0, 0, 0, 0, 211, 0, 0, 1),<br />         (13442, 0, 68, 134660, 134660, 1, 1, 0, 0, 0, 0, 18, 0, 0, 1),<br />         (13443, 0, 68, 134661, 134661, 1, 1, 0, 0, 0, 0, 26, 0, 0, 1),<br />         (13446, 0, 53, 134668, 134693, 924, 9, 0, 0, 0, 3, 701, 0, 0, 1),<br />         (13447, 0, 60, 134669, 134724, 924, 1, 0, 0, 0, 18, 282, 0, 0, 1),<br />         (13448, 0, 68, 134676, 134676, 1, 1, 0, 0, 0, 0, 38, 0, 0, 1),<br />         (13450, 0, 59, 134689, 134704, 929, 929, 0, 0, 0, 5, 201, 0, 0, 1),<br />         (13451, 0, 54, 134706, 134706, 1, 1, 0, 0, 0, 0, 47, 0, 0, 1),<br />         (13455, 0, 54, 134711, 134715, 130, 1, 0, 0, 0, 4, 106, 0, 0, 1),<br />         (13457, 0, 68, 134717, 134717, 1, 1, 0, 0, 0, 0, 51, 0, 0, 1),<br />         (13458, 0, 59, 134291, 134916, 130, 1, 0, 0, 0, 15, 663, 0, 0, 1),<br />         (13459, 0, 59, 134722, 134759, 924, 1, 0, 0, 0, 9, 87, 0, 0, 1),<br />         (13460, 0, 63, 134726, 134729, 1017, 1, 0, 0, 0, 1, 66, 0, 0, 1),<br />         (13461, 0, 59, 134730, 134737, 1018, 1, 0, 0, 0, 3, 73, 0, 0, 1),<br />         (13462, 0, 60, 134738, 134748, 1020, 1, 0, 0, 0, 3, 86, 0, 0, 1),<br />         (13464, 0, 68, 134740, 134740, 1020, 1020, 0, 0, 0, 0, 26, 0, 0, 1),<br />         (13465, 0, 60, 134739, 134739, 1020, 1020, 0, 0, 0, 0, 38, 0, 0, 1),<br />         (13466, 0, 68, 134742, 134742, 1, 1, 0, 0, 0, 0, 28, 0, 0, 1),<br />         (13468, 0, 68, 134744, 134744, 1, 1, 0, 0, 0, 0, 30, 0, 0, 1),<br />         (13469, 0, 68, 134745, 134746, 1, 1, 0, 0, 0, 1, 62, 0, 0, 1),<br />         (13470, 0, 60, 134749, 134750, 1019, 1, 0, 0, 0, 1, 75, 0, 0, 1),<br />         (13471, 0, 56, 134751, 134751, 1, 1, 0, 0, 0, 0, 38, 0, 0, 1),<br />         (13472, 0, 59, 134752, 134755, 929, 929, 0, 0, 0, 3, 58, 0, 0, 1),<br />         (13473, 0, 68, 134760, 134760, 1, 1, 0, 0, 0, 0, 8, 0, 0, 1),<br />         (13474, 0, 68, 134761, 134761, 1, 1, 0, 0, 0, 0, 26, 0, 0, 1),<br />         (13475, 0, 68, 134762, 134762, 1, 1, 0, 0, 0, 0, 12, 0, 0, 1)

Advertisement: