Advertisement:

Author Topic: converting question  (Read 32849 times)

Offline bruceonsfa

  • Semi-Newbie
  • *
  • Posts: 22
converting question
« on: January 30, 2009, 03:45:41 PM »
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 for us to restart your cgi-bin"  so, two questions actually.

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

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

Thanks
Bruce

Offline SleePy

  • Site Team Lead
  • SMF Master
  • *
  • Posts: 30,007
  • Gender: Male
  • Thats his happy face.
    • jdarwood007 on GitHub
    • @jdarwood on Twitter
    • SleePy Code - My personal site
Re: converting question
« Reply #1 on: January 31, 2009, 06:33:31 PM »
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
Support the SMF Support team!
Profiles:
GitHub

Offline bruceonsfa

  • Semi-Newbie
  • *
  • Posts: 22
Re: converting question
« Reply #2 on: February 01, 2009, 05:21:19 PM »
OK, just to show how thick I am, we'll check my understanding.

I can delete the yabb.pl 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

  • Guest
Re: converting question
« Reply #3 on: February 02, 2009, 01:02:46 AM »
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)

Offline bruceonsfa

  • Semi-Newbie
  • *
  • Posts: 22
Re: converting question
« Reply #4 on: February 02, 2009, 10:14:13 AM »
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

  • Guest
Re: converting question
« Reply #5 on: February 02, 2009, 10:42:47 AM »
yes, every part in the converter file is creating substeps in your browsers URL. convert.php then knows the steps allready done.

Offline bruceonsfa

  • Semi-Newbie
  • *
  • Posts: 22
Re: converting question
« Reply #6 on: February 02, 2009, 10:48:05 PM »
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

  • Guest
Re: converting question
« Reply #7 on: February 03, 2009, 02:32:37 AM »
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

Offline bruceonsfa

  • Semi-Newbie
  • *
  • Posts: 22
Re: converting question
« Reply #8 on: February 03, 2009, 11:08:23 PM »
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

Offline bruceonsfa

  • Semi-Newbie
  • *
  • Posts: 22
Re: converting question
« Reply #9 on: February 04, 2009, 09:19:35 AM »
I let it run over the night.  Now it show cleaning up (part 2) and appears to stuck at that point.
Bruce

ThorstenE

  • Guest
Re: converting question
« Reply #10 on: February 04, 2009, 12:41:48 PM »
have you re-installed SMF before using the new converter? I successfully converted a 500k posts forum in less than one hour..

Offline bruceonsfa

  • Semi-Newbie
  • *
  • Posts: 22
Re: converting question
« Reply #11 on: February 04, 2009, 05:02:12 PM »
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

Offline bruceonsfa

  • Semi-Newbie
  • *
  • Posts: 22
Re: converting question - close! no pics
« Reply #12 on: February 06, 2009, 10:46:25 PM »
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.
« Last Edit: February 06, 2009, 11:31:28 PM by bruceonsfa »

ThorstenE

  • Guest
Re: converting question
« Reply #13 on: February 07, 2009, 02:52:39 AM »
any errors during the attachments conversion? maybe an "undefined index yabb['uploaddir']" or something similar?

Offline bruceonsfa

  • Semi-Newbie
  • *
  • Posts: 22
Re: converting question
« Reply #14 on: February 07, 2009, 06:01:44 PM »
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.


Offline bruceonsfa

  • Semi-Newbie
  • *
  • Posts: 22
Re: converting question
« Reply #15 on: February 07, 2009, 06:41:08 PM »
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


« Last Edit: February 07, 2009, 06:55:46 PM by bruceonsfa »

ThorstenE

  • Guest
Re: converting question
« Reply #16 on: February 08, 2009, 01:21:59 AM »
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?

Offline bruceonsfa

  • Semi-Newbie
  • *
  • Posts: 22
Re: converting question
« Reply #17 on: February 08, 2009, 10:55:28 AM »
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

Offline bruceonsfa

  • Semi-Newbie
  • *
  • Posts: 22
Re: converting question
« Reply #18 on: February 08, 2009, 02:15:56 PM »
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

Offline SleePy

  • Site Team Lead
  • SMF Master
  • *
  • Posts: 30,007
  • Gender: Male
  • Thats his happy face.
    • jdarwood007 on GitHub
    • @jdarwood on Twitter
    • SleePy Code - My personal site
Re: converting question
« Reply #19 on: February 08, 2009, 06:12:22 PM »
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
Support the SMF Support team!
Profiles:
GitHub

Offline bruceonsfa

  • Semi-Newbie
  • *
  • Posts: 22
Re: converting question
« Reply #20 on: February 08, 2009, 06:51:06 PM »
Converting posts (part 2)... Successful.
Converting attachments (if the mod is installed)... Successful.
Cleaning up... Incomplete.

got it!!!

Bruce

Offline SleePy

  • Site Team Lead
  • SMF Master
  • *
  • Posts: 30,007
  • Gender: Male
  • Thats his happy face.
    • jdarwood007 on GitHub
    • @jdarwood on Twitter
    • SleePy Code - My personal site
Re: converting question
« Reply #21 on: February 08, 2009, 07:58:27 PM »
That is the cleanup process. It cleans up some stuff after the conversion and before the very end.
Jeremy D — Site Team / SMF Developer
Support the SMF Support team!
Profiles:
GitHub

Offline bruceonsfa

  • Semi-Newbie
  • *
  • Posts: 22
Re: converting question
« Reply #22 on: February 09, 2009, 11:15:55 PM »
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

  • Guest
Re: converting question
« Reply #23 on: February 22, 2009, 06:27:49 AM »
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

Offline bruceonsfa

  • Semi-Newbie
  • *
  • Posts: 22
Re: converting question
« Reply #24 on: February 25, 2009, 12:42:44 AM »
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 file to get my databases and cgi-bin active again - this is probably where the problem is, correct?
thanks
Bruce

ThorstenE

  • Guest
Re: converting question
« Reply #25 on: February 25, 2009, 03:18:38 AM »
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?

Offline bruceonsfa

  • Semi-Newbie
  • *
  • Posts: 22
Re: converting question
« Reply #26 on: February 25, 2009, 10:13:40 AM »
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

ThorstenE

  • Guest
Re: converting question
« Reply #27 on: February 27, 2009, 11:01:15 AM »
bruceonsfa,
please check this post, hopefully it helps?!?
http://www.simplemachines.org/community/index.php?topic=249777.msg1953024#msg1953024

Offline bruceonsfa

  • Semi-Newbie
  • *
  • Posts: 22
Re: converting question
« Reply #28 on: March 02, 2009, 12:00:12 AM »
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

  • Guest
Re: converting question
« Reply #29 on: March 02, 2009, 01:34:56 AM »
Quote
then 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

Code: [Select]
$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...