MyBB Community Forums

Full Version: Merging phpBB2 to myBB -> Internal error + UTF8 problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi all,
New here, trying the get around myBB, converting a phpBB2 forum to myBB. That's what I get :

MyBB has experienced an internal error and cannot continue.
Error Type: (8192)
Error Message: Assigning the return value of new by reference is deprecated
Location: File: convert/resources/class_converter_module.php Line: 29
Backtrace: File Line Function
/inc/class_error.php 171 errorHandler->output_error
/convert/index.php 949 errorHandler->error
/convert/index.php 949 require_once


My environment :
Linux CentOS server
PHP 5.3.0
MySQL 5.1.39
MyBB Merge System - Version: 1.4 Beta 5
MyBB : 1.4.9


My question : should I just go everywhere it complains and just zap the references, or is there another version, or did some good soul post on the forum a step by step guide which I couldn't find ?
PHP 5.3.0 incompatibility by the look of it, feel free to report it here: http://dev.mybboard.net/projects/mybb-import
(2009-10-19, 05:02 PM)MattRogowski Wrote: [ -> ]PHP 5.3.0 incompatibility by the look of it, feel free to report it here: http://dev.mybboard.net/projects/mybb-import

Done. Still wonder if I could/should try to patch it on my system though...
If it's at all possible to downgrade to PHP 5.2.9, you could do that, run the merge, and then upgrade to 5.3.0 again. There are still 5.3.0 incompatibilities within MyBB itself, however the fixes for that are posted on the forums.
Mmmh. Will look into that. Thanks Matt.
Ok, I went to PHP 5.1.6 and imported the phpBB2 forum without errors. I still have a problem with accented characters (it's a french forum, latin charset).

Example, quand il était now becomes quand il était on the browser.

The CentOS server is in UTF8. The MySQL dump file is in UTF8 and displays properly in a text editor. The "create table" commands inside this file do not specify tables should be utf8. I did not specify utf8 at database creation. But I believe they are utf8 by default.
If I display the posts with the MySQL client, as in SELECT * FROM posts LIMIT 10, the accents are properly displayed on the terminal.

- I tried mbstring.http_output = UTF-8 in php.ini
- I tried to force the table as being utf8: mysql > alter table threads charset = utf8 collate = utf8_unicode_ci
- I tried $config['database']['encoding']='UTF8' in inc/config.php

I am pretty much stuck, and probably missed something quite basic somewhere... But I'm new to myBB...