Advertisement:

Author Topic: Yabb 2.6.11 to SMF possible?  (Read 3192 times)

Offline lavoip

  • Charter Member
  • Semi-Newbie
  • *
  • Posts: 18
Yabb 2.6.11 to SMF possible?
« on: April 12, 2019, 12:01:06 PM »
Hi,
I'm the administrator of an old YaBB forum.
 
The YaBB version is 2.6.11. It's almost the latest version of YaBB.
Our forum has 950 members with 33272 posts within 3905 topics.

Do you think it would be possible for us to upgrade it to SMF?
We saw converter progam here to do it but which one will be the good one.

If yes, what would be the step to do it? Any "How to" docs available already?

Offline Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Lead Support Specialist
  • SMF Super Hero
  • *
  • Posts: 18,540
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • LexArma on GitHub
    • aleksi-kilpinen on LinkedIn
    • There's No Place Like 127.0.0.1
Re: Yabb 2.6.11 to SMF possible?
« Reply #1 on: April 12, 2019, 12:05:20 PM »
I would suggest you make a mirror of your install (or at least thorough backups of everything) and try the one on our download page https://download.simplemachines.org/index.php?converters;id=6
A Finnish Support Specialist
 Happily running multiple SMF 2.0 installations.
  Fooling around with an i7 990X @ 3,47Ghz / 12Gb / Win 10 x64 / 3840x2160


How you can help SMF

"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum.
 Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Offline lavoip

  • Charter Member
  • Semi-Newbie
  • *
  • Posts: 18
Re: Yabb 2.6.11 to SMF possible?
« Reply #2 on: April 12, 2019, 12:15:35 PM »
Should we move the SMF 2.0.15 or SMF 2.1 RC2?

Offline Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Lead Support Specialist
  • SMF Super Hero
  • *
  • Posts: 18,540
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • LexArma on GitHub
    • aleksi-kilpinen on LinkedIn
    • There's No Place Like 127.0.0.1
Re: Yabb 2.6.11 to SMF possible?
« Reply #3 on: April 12, 2019, 12:52:28 PM »
At this point I would say 2.0, and that is also the only converter now available. 2.0 can later be upgraded to 2.1.
A Finnish Support Specialist
 Happily running multiple SMF 2.0 installations.
  Fooling around with an i7 990X @ 3,47Ghz / 12Gb / Win 10 x64 / 3840x2160


How you can help SMF

"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum.
 Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Offline lavoip

  • Charter Member
  • Semi-Newbie
  • *
  • Posts: 18
Re: Yabb 2.6.11 to SMF possible?
« Reply #4 on: April 15, 2019, 02:34:08 PM »
Does our server meet the requirement?

We are linux Apache 2.4.39
PHP version is 7.2.16
MySQL version is 10.2.23-MariaDB

Offline Illori

  • Project Manager
  • SMF Legend
  • *
  • Posts: 51,133
Re: Yabb 2.6.11 to SMF possible?
« Reply #5 on: April 15, 2019, 02:37:44 PM »
SMF 2.0.* does not support php 7.2. you will need to downgrade to php 7.1.

Offline lavoip

  • Charter Member
  • Semi-Newbie
  • *
  • Posts: 18
Re: Yabb 2.6.11 to SMF possible?
« Reply #6 on: April 15, 2019, 07:38:26 PM »
Well, host provider don't want to downgrade because it is shared host…

Does not support 7.2 ... does it mean that it will not work? Or it will work but you will not help with any future problem?

Offline Illori

  • Project Manager
  • SMF Legend
  • *
  • Posts: 51,133
Re: Yabb 2.6.11 to SMF possible?
« Reply #7 on: April 15, 2019, 07:51:19 PM »
it will work but throw many errors in the error log.

Offline GigaWatt

  • The Smiley Guy
  • Support Specialist
  • SMF Hero
  • *
  • Posts: 2,104
  • Gender: Male
    • Macedonian electronics forum
Re: Yabb 2.6.11 to SMF possible?
« Reply #8 on: April 15, 2019, 08:16:01 PM »
To explain on Illori's post a bit, those "errors" have nothing to do with the actual forum. They are "function depreciated" errors, which means that some of the functions that SMF uses (one in particular) will be removed in future versions of PHP, that's all.

And support by the team may be dropped only if you remove the SMF copyright in the footer or if you modify it. While dropping the whole copyright isn't illegal, the team has the right to deny support. On the other hand, modifying the copyright is actually illegal by the license SMF is currently published under.
"This is really a generic concept about human thinking - when faced with large tasks we're naturally inclined to try to break them down into a bunch of smaller tasks that together make up the whole."

"A 500 error loosely translates to the webserver saying, "WTF?"..."

Offline lavoip

  • Charter Member
  • Semi-Newbie
  • *
  • Posts: 18
Re: Yabb 2.6.11 to SMF possible?
« Reply #9 on: April 15, 2019, 09:28:25 PM »
It is not our intention to remove any copyrights. We ran on Yabb for more then 10 years without any need to remove their so I don't see why we would do it with SMF.

My question about the support was more like are we going to live : "Huh! We cannot help you at all because this version is not supported. Bye."

The php version 7.2.16 is not supported right now but I guess it will at some point.
Should we go ahead and try to install SMF 2.0.15 with the YaBB converter?

Our plan for now is trying to upgrade our forum on a test plateform like XAMPP.
I already have XAMPP 7.1.28 which is php 7.1.28.
I will run our YaBB forum on it. Then I will install SMF 2.0.15 and try the YaBB converter.
If it work then we will do it on the live server.

How does it sound?

Offline GigaWatt

  • The Smiley Guy
  • Support Specialist
  • SMF Hero
  • *
  • Posts: 2,104
  • Gender: Male
    • Macedonian electronics forum
Re: Yabb 2.6.11 to SMF possible?
« Reply #10 on: April 15, 2019, 09:49:05 PM »
The php version 7.2.16 is not supported right now but I guess it will at some point.
Should we go ahead and try to install SMF 2.0.15 with the YaBB converter?

See, that's another problem... don't know about this particular converter, but most converters were designed way back and don't know how updated they were, so the converter might not work with PHP 7.2 and you might have to roll back to 5.6 in order to do the conversion :-\. In general, it's preferred to do these types of things on older versions of PHP, since, as I said, most of them are pretty old.

There are cases which also require you to do the conversion to a lower version of SMF (say, 2.0.0) and then do a large upgrade, either to 2.0.10 and then to 2.0.15 or directly to 2.0.15. Conversion processes are tricky and rarely go without a glitch. Shuffling between PHP versions is a must in these cases.

If you absolutely have no choice and can't change hosting providers, I'd suggest using a free hosting provider, one that allows shuffling between PHP versions, just for the conversion. This of course depends on how willing you'd be to put that data on a free hosting provider, but, in most cases, you can delete the data after you're done with the conversion ;).

Our plan for now is trying to upgrade our forum on a test plateform like XAMPP.
I already have XAMPP 7.1.28 which is php 7.1.28.
I will run our YaBB forum on it. Then I will install SMF 2.0.15 and try the YaBB converter.
If it work then we will do it on the live server.

Just read this ;).

This is actually a good plan, convert the forum locally, then make it live ;). Of course, you'll still probably need to shuffle between PHP versions through the conversion process.

But, if you go live (production) with 2.0.15 installed, you'll probably have to empty the error log daily. This problem will probably be fixed in 2.0.16, but until then, you'll just have to live with this problem :-\.

On the other hand, 2.1 supports PHP 7.2 or higher out of the box. The problem is, it's still in RC, therefore, still not considered stable enough for production. So... I guess the question comes down to, are you willing to empty out error logs daily, or are you willing to try out 2.1 RC and preferably transfer to 2.1 Final when it gets releases.
"This is really a generic concept about human thinking - when faced with large tasks we're naturally inclined to try to break them down into a bunch of smaller tasks that together make up the whole."

"A 500 error loosely translates to the webserver saying, "WTF?"..."

Offline lavoip

  • Charter Member
  • Semi-Newbie
  • *
  • Posts: 18
Re: Yabb 2.6.11 to SMF possible?
« Reply #11 on: April 28, 2019, 01:03:12 AM »
OK Here is what we did so far…

I installed XAMPP 5.6.39
I ran my current YaBB 2.6.11 forum on it.
I installed YaBB 2.4 then I downgrade my version 2.6.11 to 2.4. (basically copied boards, messages, members and attachments files to proper directory)
I did all maintenance control.
I installed SMF 1.1.14
I used the converter from https://www.simplemachines.org/community/index.php?topic=240334.msg4002547#msg4002547

So now I have my forum running somehow on SMF but with a lot of things that doesn't seem to be right.

All the boards are only visible when I logon. If I'm not logged then only 2 boards are visible… It was not behave like that on YaBB.

Seem that not all attachments was properly imported…

I ran into a lot of problem while converting.
I always got this error for the attachment:
SELECT command denied to user "@'localhost' for table 'smf_settings' with a warning from MySQL that a connection attempt failed because the connected party did not properly respond after a period of time….

I will try to add screenshot of errors and warnings tomorrow.


Offline GigaWatt

  • The Smiley Guy
  • Support Specialist
  • SMF Hero
  • *
  • Posts: 2,104
  • Gender: Male
    • Macedonian electronics forum
Re: Yabb 2.6.11 to SMF possible?
« Reply #12 on: April 28, 2019, 01:09:18 PM »
All the boards are only visible when I logon. If I'm not logged then only 2 boards are visible…

The converter might have messed some things up or your setup might have been altered in a way that doesn't affect YaBB, but it does affect SMF.

Go to the Admin panel and see if some boards are set to hidden for guests. Unhide them if they're setup this way ;).

Seem that not all attachments was properly imported…

Yeah, something definitely went wrong during the conversion process :-\.

Out of curiosity, why didn't you use this upgrade package?

https://download.simplemachines.org/index.php?thanks;filename=smf_1-1-21_upgrade.zip

SELECT command denied to user "@'localhost' for table 'smf_settings' with a warning from MySQL that a connection attempt failed because the connected party did not properly respond after a period of time….

This is probably related to the server or the script... and is probably the reason why some boards are viewable for members only (not all settings got converted).
"This is really a generic concept about human thinking - when faced with large tasks we're naturally inclined to try to break them down into a bunch of smaller tasks that together make up the whole."

"A 500 error loosely translates to the webserver saying, "WTF?"..."

Offline lavoip

  • Charter Member
  • Semi-Newbie
  • *
  • Posts: 18
Re: Yabb 2.6.11 to SMF possible?
« Reply #13 on: April 29, 2019, 10:17:16 AM »
Okay. Let's start from scratch!
I tried to take a shortcut by reading the most recent post about converting Yabb to SMF and tried to use this one. It's my mistake.
 
So I read all minimum requirements for different version of SMF and I made a table versus all the converters I found.
Here is my results:
      From Yabb version   To SMF version    PHP and MySql   XAMMP for
                                    In convert.php                             Windows
Official:
Yabbse   Yabb SE 1.5.x        2.0         4.1.0 - 4.0.18      

Yabb      Yabb 1 Gold           2.0         4.1.0 - 4.0.18   

Yabb2   Yabb 2                   2.0         4.1.0 - 4.0.18       5.5.19

Yabb21   Yabb 2.1              1.1         4.1.0 - 4.0.18      

Yabb22   Yabb 2.2              1.1         4.1.0 - 4.0.18   

From post:
Yabb24   Yabb 2.2              1.1         4.1.0 – 3.23.28   

Yabb24   Yabb 2.4              1.1         4.1.0 – 3.23.28

Based on that statement from the minimum requirements:
o   Versions of SMF below 2.0.7 will not work on PHP 5.5. If you use PHP 5.5 it is required to use SMF 2.0.7 or greater.
o   Versions of SMF 2.0.14 and higher will not work on PHP 5.3 or below. If you use PHP 5.3 it is required to upgrade to a newer version of PHP.

and because I only found only one XAMPP suitable version I will try the Yabb2 converter from the official download page.

So my next try will be:
XAMPP 5.5.19
Donwgrade Yabb 2.6.11 to Yabb 2
Install SMF 2.0.8
Use converter Yabb2

Offline lavoip

  • Charter Member
  • Semi-Newbie
  • *
  • Posts: 18
Re: Yabb 2.6.11 to SMF possible?
« Reply #14 on: May 03, 2019, 02:46:03 PM »
It doesn't work at all.

Next try
XAMPP 5.5.19
Donwgrade Yabb 2.6.11 to Yabb 2.4 and remove RSS, allow all to all boards...and other tweak.
Install SMF 1.1.14
Use converter Yabb24

Offline lavoip

  • Charter Member
  • Semi-Newbie
  • *
  • Posts: 18
Re: Yabb 2.6.11 to SMF possible?
« Reply #15 on: May 05, 2019, 11:32:53 AM »
Dawm! I always got this error:

SELECT command denied to user "@'localhost' for table 'smf_settings' with a warning from MySQL that a connection attempt failed because the connected party did not properly respond after a period of time….

The MySQL default user name is root without password with XAMPP. Do I need to change it?
What else it should be?

I'm able to do the conversion, I mean all boards,topics,members look like there but it's always the attachments that suck!

On my last try, the attachments was all there but 4 times, I mean if I have one attachment in a post then it was displayed 4 times!?

For your information...I'm just a regular user. I'm not an IT guy. I have no programmation knowledge. But I can read and follow instructions and also figure out how thing should work by myself. But now, I need a little help please. Thank.

Offline lavoip

  • Charter Member
  • Semi-Newbie
  • *
  • Posts: 18
Re: Yabb 2.6.11 to SMF possible?
« Reply #16 on: May 07, 2019, 02:28:40 PM »
How can I fix this?


Offline lavoip

  • Charter Member
  • Semi-Newbie
  • *
  • Posts: 18
Re: Yabb 2.6.11 to SMF possible?
« Reply #17 on: May 07, 2019, 07:54:03 PM »
OK, I tried again with XAMPP 5.6.39 with converter 2.4 to SMF 1.1.14.

Look like it work but I still got the attachment in three copy?

How can I remove the two extra copies?

Offline lavoip

  • Charter Member
  • Semi-Newbie
  • *
  • Posts: 18
Re: Yabb 2.6.11 to SMF possible?
« Reply #18 on: May 21, 2019, 02:24:32 PM »
Does anyone of you has any success to convert attachements when more than 1 was allowed per posts?