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

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

Previous topic - Next topic

margarett

Please re-download the zip file above. I imagine XF has more ways to store passwords that what I could test initially :P
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

matt1206

Quote from: margarett on October 30, 2013, 12:21:52 PM
Please re-download the zip file above. I imagine XF has more ways to store passwords that what I could test initially :P
Brill, thanks. That's now getting to Stage 8 (Polls). It's printing out the array of polls, and then stopping there. Looking in the code, the section for adding the polls is commented out. Is that the case?

margarett

Err, sorry :P I've uploaded a work-in-process file, as the polls are not yet completed. Please re-download (just deleted that incomplete part) or ignore that, it didn't change anything in the database regarding polls.

You can go to your new SMF, recover your passwords and recount totals ;)
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

matt1206

Quote from: margarett on October 30, 2013, 01:03:22 PM
Err, sorry :P I've uploaded a work-in-process file, as the polls are not yet completed. Please re-download (just deleted that incomplete part) or ignore that, it didn't change anything in the database regarding polls.

You can go to your new SMF, recover your passwords and recount totals ;)
Thanks again for this. All working and up and running on SMF  ;)

margarett

Thank you for testing ;)
I'll be finishing polls shortly (I hope :P )
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

margarett

Update: Polls are now converted 8)
I called this "V1.00" and it is the first "full" version. I will not develop it any further as it is now converting all the relevant content.
I am, however, available for the necessary support and bug-fixing (oh, it will be needed :P )
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

AllanD

Great work Margarett, this is the first xenforo converter I have see for non-paid software.
Check out this great sites.
KnD Hosting

AllanD

#27
Just tried this again on another forum and go this error on stage 7

Warning: dir(public_html/data/avatars/l) [function.dir]: failed to open dir: No such file or directory in /home/xxxt/public_html/forum/xf2smf.php on line 2071

Fatal error: Call to a member function read() on a non-object in /home/xxxx/public_html/forum/xf2smf.php on line 2073
Check out this great sites.
KnD Hosting

AllanD

I did some looking around inside the data/avatars foder and there are 3 folders in the avatar l,m.s and then a subfolder 0 in each of them that actually contains the avatars. Hope that helps.
Check out this great sites.
KnD Hosting

margarett

Yup, that's really how it works. The avatars are obtained from the sub-folders inside folder "l" And the functions I used have issues dealing with a folder named "0", so there is also a rename operation included. I'm not on the computer right now, but I'll look into it ASAP.
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

AllanD

Ok great, everything else is great. I got the forum up and running besides the avatars and polls which I think is step 8.
Check out this great sites.
KnD Hosting

margarett

Just curious, did you successfully convert post attachments in the previous step?

I'm under the impression that you might have set an incorrect path for XF.
Your SMF path is: /home/xxxx/public_html/forum
But the error you are getting looks for XF files in public_html/data/avatars/l.
See the difference? No /home/xxxx/public_html...
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

AllanD

Everything converted great besides the avatars, the topics, posts and members went fine.
Check out this great sites.
KnD Hosting

margarett

Humm... I can't reproduce that :(

What did you set in this bit:

//YOU HAVE TO DEFINE THIS
$xf_dir = '';

?
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

AllanD

I just have public_html in there since the xenforo is in the root folder.
Check out this great sites.
KnD Hosting

margarett

Like this:

//YOU HAVE TO DEFINE THIS
$xf_dir = 'public_html';

Or like this:

//YOU HAVE TO DEFINE THIS
$xf_dir = '/home/xxxx/public_html';

?
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

AllanD

I have it like the top one.

//YOU HAVE TO DEFINE THIS
$xf_dir = 'public_html';
Check out this great sites.
KnD Hosting

margarett

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

AllanD

OK I wil, out work right so will be later.
Check out this great sites.
KnD Hosting

badabugs

Hi there;

I'm trying to convert my Xf forum to SMF with your plugin and i get this error ... but it happens after 2500 posts ...

Best regards

First, let's trash the actual contents of SMF "topics" and "messages" tables....
Posts and topics cleared from SMF tables. Next step, count what's there to move?? 525 topics and 4116 posts were found in XF.
Now retrieving topics 1 to 50...
Now retrieving topics 51 to 100...
Now retrieving topics 101 to 150...
Now retrieving topics 151 to 200...
Now retrieving topics 201 to 250...
Now retrieving topics 251 to 300...
Now retrieving topics 301 to 350...
Now retrieving topics 351 to 400...
Now retrieving topics 401 to 450...
Now retrieving topics 451 to 500...
Now retrieving topics 501 to 525...
Now retrieving posts 1 to 50...
Now retrieving posts 51 to 100...
Now retrieving posts 101 to 150...
Now retrieving posts 151 to 200...
Now retrieving posts 201 to 250...
Now retrieving posts 251 to 300...
Now retrieving posts 301 to 350...
Now retrieving posts 351 to 400...
Now retrieving posts 401 to 450...
Now retrieving posts 451 to 500...
Now retrieving posts 501 to 550...
Now retrieving posts 551 to 600...
Now retrieving posts 601 to 650...
Now retrieving posts 651 to 700...
Now retrieving posts 701 to 750...
Now retrieving posts 751 to 800...
Now retrieving posts 801 to 850...
Now retrieving posts 851 to 900...
Now retrieving posts 901 to 950...
Now retrieving posts 951 to 1000...
Now retrieving posts 1001 to 1050...
Now retrieving posts 1051 to 1100...
Now retrieving posts 1101 to 1150...
Now retrieving posts 1151 to 1200...
Now retrieving posts 1201 to 1250...
Now retrieving posts 1251 to 1300...
Now retrieving posts 1301 to 1350...
Now retrieving posts 1351 to 1400...
Now retrieving posts 1401 to 1450...
Now retrieving posts 1451 to 1500...
Now retrieving posts 1501 to 1550...
Now retrieving posts 1551 to 1600...
Now retrieving posts 1601 to 1650...
Now retrieving posts 1651 to 1700...
Now retrieving posts 1701 to 1750...
Now retrieving posts 1751 to 1800...
Now retrieving posts 1801 to 1850...
Now retrieving posts 1851 to 1900...
Now retrieving posts 1901 to 1950...
Now retrieving posts 1951 to 2000...
Now retrieving posts 2001 to 2050...
Now retrieving posts 2051 to 2100...
Now retrieving posts 2101 to 2150...
Now retrieving posts 2151 to 2200...
Now retrieving posts 2201 to 2250...
Now retrieving posts 2251 to 2300...
Now retrieving posts 2301 to 2350...
Now retrieving posts 2351 to 2400...
An Error Has Occurred!
The database value you're trying to insert does not exist: poster_name



[Edit] I'm doing the conversion in local with wampserver. XF 1.3 and SMF 2.0.7

Advertisement: