Advertisement:

Author Topic: Convert from Yabb 2.6  (Read 694 times)

Offline Larian

  • Newbie
  • *
  • Posts: 3
Convert from Yabb 2.6
« on: June 26, 2020, 04:36:49 PM »
Hello,

I'm using a new server and now my Yabb 2.6 doesn't work. So i found Simple Machine an tried to convert. But i only find converters from yabb 1 to yabb 2.2. With the yab 2.2 converter i get the error "Unable to find the settings for YaBB 2.2."
If i rename my Paths.pm to Paths.pl it seems to work, but i see only:

"Successful.
Converting membergroups... Successful.
Converting members..."

- and nothing more

The error-log says:
[Fri Jun 26 22:28:47.252180 2020] [proxy_fcgi:error] [pid 17277:tid 139640652621568] AH01071: Got error 'PHP message: PHP Warning:  file(/var/www/vhosts/domain/httpdocs/forum26/Variables/Settings.pl): failed to open stream: No such file or directory in /var/www/vhosts/domain/httpdocs/forum/yabb22_to_smf.php on line 87\nPHP message: PHP Warning:  Invalid argument supplied for foreach() in /var/www/vhosts/domain/httpdocs/forum/yabb22_to_smf.php on line 88\n', referer: domain/forum/convert.php?step=1

[Fri Jun 26 22:28:47.252339 2020] [proxy_fcgi:error] [pid 17277:tid 139640652621568] AH01071: Got error 'PHP message: PHP Warning:  file(/var/www/vhosts/domain/httpdocs/forum26/Variables/membergroups.txt): failed to open stream: No such file or directory in /var/www/vhosts/domain/httpdocs/forum/yabb22_to_smf.php on line 139\nPHP message: PHP Warning:  Invalid argument supplied for foreach() in /var/www/vhosts/domain/httpdocs/forum/yabb22_to_smf.php on line 140\n', referer: domain/forum/convert.php?step=1

[Fri Jun 26 22:28:47.253214 2020] [proxy_fcgi:error] [pid 17277:tid 139640652621568] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught Error: Call to undefined function mysql_fetch_assoc() in /var/www/vhosts/domain/httpdocs/forum/yabb22_to_smf.php:202\nStack trace:\n#0 /var/www/vhosts/domain/httpdocs/forum/convert.php(1361): convertStep3()\n#1 /var/www/vhosts/domain/httpdocs/forum/convert.php(988): run_php_converter()\n#2 /var/www/vhosts/domain/httpdocs/forum/convert.php(51): doStep1()\n#3 {main}\n  thrown in /var/www/vhosts/domain/httpdocs/forum/yabb22_to_smf.php on line 202\n', referer: domain/forum/convert.php?step=1

I'm using php 7.1 and SMF 2.0.17

I would say the converter doesn't work with php 7 and with yabb 2.6

Has anyone an working converter for yabb 2.6?

Thank You
MArcus

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 22,651
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Convert from Yabb 2.6
« Reply #1 on: June 26, 2020, 10:15:29 PM »
Do those files exist var/www/vhosts/domain/httpdocs/forum26/Variables/Settings.pl
/var/www/vhosts/domain/httpdocs/forum26/Variables/membergroups.txt

Or are they named something else in the directory

yabb22_to_smf.php  for sure does not work PHP 7 probably will need to downgrade to PHP 5.5
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline Larian

  • Newbie
  • *
  • Posts: 3
Re: Convert from Yabb 2.6
« Reply #2 on: June 29, 2020, 04:08:36 AM »
The problem with settings.pl i found, it's renamed to Settings.pm too (like the Paths.pl/.pm)
But the membergroups.txt soesn't exist at yabb 2.6 it's integrated in Settings.pm now.

My new server doesn't support php 5.x anymore but i will try to convert yabb to smf at my old server now :)

Offline Larian

  • Newbie
  • *
  • Posts: 3
Re: Convert from Yabb 2.6
« Reply #3 on: July 06, 2020, 03:41:13 PM »
Ok, found the solution and converted my old yabb 2.6.11:

1. installed smf 1.1.14 with php 5.5 (on my old server)
2. renamed Paths.pm to Paths.pl and Settings.pm to Settings.pl
3. used the converter from this post: https://www.simplemachines.org/community/index.php?topic=240334.msg4002547#msg4002547
4. converter worked, except for membergroups (other problems: some membernames with special German letters were empty, some board-categories were missing (alle boards were in General board))
5. removed problems (added categories and moved boards, added missing displaynames)
6. added membergroups
7. update to smf 2.0.17
8. changed php to 7.1
9. ready