News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

converting question

Started by bruceonsfa, January 30, 2009, 03:45:41 PM

Previous topic - Next topic

bruceonsfa

hi all,
My partner set up a SMF forum on one of his own sites, and really liked it.  We would like to convert our yabb forums.  A couple questions

Right now our host has shut down the forum due to cgi-bin overload.  "you must delete yabb2.YaBB.pl [nofollow] for us to restart your cgi-bin"  so, two questions actually.

Can I convert YaBB 2.1 to SMF without the yabb2.YaBB.pl [nofollow] file?

Can I run multiple forums (SMF) on the same server?

Thanks
Bruce

SleePy

Yes you don't need the yabb.pl files. In fact, once you are converted and 100% sure that everything is there (and I suggest a backup), you are able to delete the yabb files and yabb database (again I suggest a backup prior to this). The converter will basically duplicate everything and copy it to a format that is used in the SMF database.

Yes you can run mulitple forums on the same server.

Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

bruceonsfa

OK, just to show how thick I am, we'll check my understanding.

I can delete the yabb.pl [nofollow] file before I do the convert?

Multiple forum on same server (same site, just diff't forums) is OK.

Oh, and one more
Just how good is the yabb2.1 to smf converter?  No mods that I can think of

thanks again
Bruce

ThorstenE

Quote from: bruceonsfa on February 01, 2009, 05:21:19 PM
I can delete the yabb.pl file before I do the convert?
no, you can delete your Yabb files after the conversion!

Multiple forums is possible, everey forum must be in a different folder (example yourdomain.com/smf1 , yourdomain.com/smf2) and must use a different table prefix or a different mysql database (you can specify this during the installation)

bruceonsfa

Thanks SleePy and TE,
No point in starting a new thread.  I am trying to do the conversion on my machine (XAMPP) which seems to be working OK. 

The address bar in my browser shows the substep incrementing up (substep 12200 then a while later substep 13000) - that means the converter is working through the various posts and threads, correct?

Thanks

ThorstenE

yes, every part in the converter file is creating substeps in your browsers URL. convert.php then knows the steps allready done.

bruceonsfa

I hope everything goes well, I just checked the active forum (YaBB) and we have over 100,000 posts - my converter counter says it is at step 50,000.  Once I get this done then there is the archived section, another 70,000 posts to do.  Twenty four hours so far!!
thanks
Bruce

ThorstenE

uuh, long time (and too long in my opinion).. I think you are using the "old" version from the YaBB converter. Maybe it'S better to stop the converter, re-install a new SMF and then use the converter attached to this post:
http://www.simplemachines.org/community/index.php?topic=122338.msg1894646#msg1894646

bruceonsfa

I am at substep 95550, almost hate to stop it.   But from reading the threads I may save myself some trouble - OK I'll do it.
thanks
Bruce

bruceonsfa

I let it run over the night.  Now it show cleaning up (part 2) and appears to stuck at that point.
Bruce

ThorstenE

have you re-installed SMF before using the new converter? I successfully converted a 500k posts forum in less than one hour..

bruceonsfa

Sorry, I should have been clearer.  I let the old converter keep running, which my have been a mistake.  If things don't look right tonight, I will delete the SMF and start over..
Thanks
Bruce

bruceonsfa

#12
I used the converter mentioned by TE.  Worked a champ - almost.  The posts converted quickly and look great but not of the attachments show.  I checked the attachments folder and it was empty - I copied the files from the yabb folder into the SMF folder, but nothing is showing.  (Even the folder is still showing empty).   Ideas?
Thanks
Bruce

I am wondering if this may be due to the paths for yabb, since they are still set to the same as our hosting account.

ThorstenE

any errors during the attachments conversion? maybe an "undefined index yabb['uploaddir']" or something similar?

bruceonsfa

Did not see any errors during the conversion, but I started it did some other things then came back a time or two till it was done.  Tried the 1.1.8 converter and had issues with member conversion, then it just stopped.  Will try the 1.1.7 converter again and monitor it a little closer.

Bruce

oh, checked the paths and they were correct for the local server.


bruceonsfa

#15
During the install this came up
'converting attachments if mod is installed'
followed immediately with a complete notice

I think this is where the problem is, I just don't know what is the problem.
Thanks
Bruce



ThorstenE

Quote from: bruceonsfa on February 07, 2009, 06:41:08 PM
followed immediately with a complete notice
yes, this notice is the interesting part. I think the path to the attachments was wrong. can you post this message please?

bruceonsfa

I should have said during the conversion this message comes up.  Will give it a try.  It shows on the screen for about 20 seconds (at most) on the screen.  When it does show there is no error code or line code showing and it goes immediately to the next step.
thanks
Bruce

bruceonsfa

The screen comes and goes so fast I was unable to capture it.  I did see the line is the convert.php script.  My attachments and avatars folders (in admin panel) are completely empty.  When I view the threads there is not even an indication that there should be an attached pic (no attachment deleted) and when I look a page source there is nothing as well.
Bruce

SleePy

Use the attached convert.php, then add "?debug" in the url at the very start of the conversion.
It has some added code which will log any php or database errors to a converter error log file, but only does this during debug mod. Please make sure PHP can write to the folder you currently have convert.php in. The file will be called "convert_error_log".

Btw, for all those who are wondering, this is avaiable since the 1.1.8 converters :)

Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

bruceonsfa

Converting posts (part 2)... Successful.
Converting attachments (if the mod is installed)... Successful.
Cleaning up... Incomplete.

got it!!!

Bruce

SleePy

That is the cleanup process. It cleans up some stuff after the conversion and before the very end.
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

bruceonsfa

Thanks for your help.  I have some other things to do so I will address this again soon.  I am wondering if it just is my localhost set up - maybe I'll try it on our server space.
thanks
Bruce

ThorstenE

bruceonsfa,
maybe you haven't converted your forum until now, you should use the  updated YaBB 2.1 converter is:
http://www.simplemachines.org/community/index.php?topic=122338.0
this new version works great for two other members:
http://www.simplemachines.org/community/index.php?topic=292698.msg1941294#msg1941294

bruceonsfa

Gave the converter a quick shot but got no where.  I got an error stating 'cannot find the settings for yabb1 gold'   I had to delete the yabb.pl [nofollow] file to get my databases and cgi-bin active again - this is probably where the problem is, correct?
thanks
Bruce

ThorstenE

mhh, interesting.. the converter linked above doesn't check the existance of yabb.pl (only Paths and Variables/Paths.pl and your data files are needed). maybe the path to your YaBB folder was wrong?

bruceonsfa

TE,
Yeah, that is probably right.  I have spent all my time working on a VPS which had a diff't look to the file structure and now we are on a shared hosting plan that looks different enough to leave me lost.  I'll work with this idea for a bit and let you know.
Thanks
Bruce


bruceonsfa

Arg, this is not going well.  I did an install and started the conversion on our hosting account, then the conversion stopped with a too many posts error or something, doesn't matter at this time.  For what ever reason I can create the database needed and the password, but once the install is done the password (in SMF and in mySQL) is entirely different than the one I just created and so I am unable to start the conversion again.  The first time (that failed) the passwords worked fine!  I really hate our host company!!!  I have deleted the installs and databases and tried again several times with no luck since the first time.
thanks for allowing the vent
Bruce

ThorstenE

Quotethen the conversion stopped with a too many posts error or something
do you know the exact error message? some hosts use limits for MySQL (max_allowed_packed_size)

you can reduce the concurrent converted messages in this  block from yabb21_to_smf.php

$block_settings = array(
'members' => 100, // 100
'pms' => 50, // 100
'topics' => 250, // 100
'posts1' => 500, // 100
'posts2' => 500, // 150
'attachments' => 100, // 100
'cleanup' => 150, // 150
'polls1' => 50, // 50
'polls2' => 200, // 200
'polls3' => 50, // 50
);


change the values for posts and posts2 from 500 to 100 and try  it again...

Advertisement: