News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

MyBB 1.8 Convertor

Started by vbgamer45, December 27, 2018, 07:01:48 PM

Previous topic - Next topic

racerhistory

Well, it had an error when it got to the polls.

Updated convert.php, trying again.

vbgamer45

Also, the error message posted here may help
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

racerhistory

Converting polls...The database value you're trying to insert does not exist: id_member

SQL: 10.0.38-MariaDB-cll-lve
PHP: 7.4

racerhistory

If I skip past the pools the rest of the conversion works just fine.

vbgamer45

Odd can you run this query on your old mybb database and let me know what happens.
SELECT
p.pid AS id_poll, SUBSTRING(p.question, 1, 255) AS question, p.closed AS voting_locked,
    t.uid AS id_member,
    IF(p.timeout = 0, 0, p.dateline + p.timeout * 86400) AS expire_time,
    SUBSTRING(t.username, 1, 255) AS poster_name
FROM mybb_polls AS p
    LEFT JOIN mybb_threads AS t ON (t.tid = p.tid);
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

Jim R

Quote from: vbgamer45 on December 27, 2018, 07:01:48 PMMyBB 1.8 Convertor Beta

https://github.com/SimpleMachines/converters/tree/master/SMF2.0/MyBB/1.8

Requires both files to be copied to your new empty SMF install.

I'm not getting this to work. 

I have the converter.php and the mybb18 to smf.sql files installed in my SMF's directory.  SMF is installed. 

I input the paths and database password, and it makes the fields where I enter the information disappear and just leaves the Steps table.  It doesn't progress or prompt me for anything. 

vbgamer45

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

gear777

Quote from: vbgamer45 on December 27, 2018, 07:01:48 PMMyBB 1.8 Convertor Beta

github. /SimpleMachines/converters/tree/master/SMF2.0/MyBB/1.8

Requires both files to be copied to your new empty SMF install.

Sorry, Do you have any tutorial? I'm new in this.

vbgamer45

Can also be found at
https://download.simplemachines.org/index.php?converters;id=70 as well just do like the other standard convertor help guide
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

gear777

Quote from: vbgamer45 on May 10, 2024, 03:19:11 PMCan also be found at
https://download.simplemachines.org/index.php?converters;id=70 as well just do like the other standard convertor help guide
How can I use? I'm really new in SMF. Sorry if I bothering you.

vbgamer45

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

gear777

#71
Quote from: vbgamer45 on May 10, 2024, 08:02:01 PMCheck out the guide
https://wiki.simplemachines.org/smf/Converting
install smf to test in xampp before doing them in the hosting. But when I run the file http://localhost/smf/convert.php I get the image error.

Fatal error: Array and string offset access syntax with curly braces is no longer supported in C:\xampp\htdocs\smf\convert.php on line 2813



Solved: I just replace { } for [ ].

Updated:

Enter the data, it is local so I do not use a password, that is why it is empty.



Now I get this error when I click continue:

Fatal error: Uncaught Error: Undefined constant "MYSQL_TITLE" in C:\xampp\htdocs\smf\Sources\Subs-Db-mysql.php:55 Stack trace: #0 C:\xampp\htdocs\smf\Sources\Load.php(3697): smf_db_initiate('localhost', 'smf2', 'root', '', 'smf_', Array) #1 C:\xampp\htdocs\smf\convert.php(410): loadDatabase() #2 C:\xampp\htdocs\smf\convert.php(223): loadSettings() #3 C:\xampp\htdocs\smf\convert.php(139): preparse_sql('C:\\xampp\\htdocs...') #4 C:\xampp\htdocs\smf\convert.php(37): initialize_inputs() #5 {main} thrown in C:\xampp\htdocs\smf\Sources\Subs-Db-mysql.php on line 55






vbgamer45

Ok I see the issue. You are trying to convert to SMF 2.1 the convertors do not support SMF 2.1 yet.

You will need to install SMF 2.0.19 run then use the convertor. Then upgrade your SMF version to SMF 2.1
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

gear777

Thank you for answering so quickly. if that was the problem.

Jim R


Advertisement: