MyBB to phpBB Conversion problem

Converting from other board software? Good decision! Need help? Have a question about a convertor? Wish to offer a convertor package? Post here.
Anti-Spam Guide
houque
Registered User
Posts: 2
Joined: Fri Feb 14, 2014 3:15 am

MyBB to phpBB Conversion problem

Post by houque » Fri Feb 14, 2014 3:21 am

Hello,
I have tried to convert my mybb forum to phpbb.
I have uploaded the mybb converter to phpbb root directory. But while I visit {my_new_phpbb_root_directory}/install/index.php it just shows a blank page!

What can I do now?

User avatar
prototech
Former Team Member
Posts: 5406
Joined: Mon Mar 19, 2007 2:04 pm
Location: Southern California

Re: MyBB to phpBB Conversion problem

Post by prototech » Fri Feb 14, 2014 7:04 am

Is this occurring when trying to open index.php specifically or when clicking the Convert tab? Check your server error log after getting the white page to see if there are any errors getting logged when you access the page.

Which version of MyBB are you using by the way? I have an unreleased 1.6.x convertor almost completed which I would recommend using over the 1.4.x one. The 1.4.x convertor is rather old and far from finished.
Need help with MOD/style installations or other phpBB problems? Contact me for a quote.

houque
Registered User
Posts: 2
Joined: Fri Feb 14, 2014 3:15 am

Re: MyBB to phpBB Conversion problem

Post by houque » Fri Feb 14, 2014 3:31 pm

I'm far away from selecting the Converter option.
When I type the installation url, it shows blank page.

I'm using mybb 1.6.x

User avatar
prototech
Former Team Member
Posts: 5406
Joined: Mon Mar 19, 2007 2:04 pm
Location: Southern California

Re: MyBB to phpBB Conversion problem

Post by prototech » Fri Feb 14, 2014 10:49 pm

Did you check the server error log? Were there any errors? Did you already install phpBB, or were you only just getting around to doing that? The main installation page doesn't load any of the convertor files, so it's certainly strange that you would be getting a blank page there.

The 1.6.x convertor is attached below. :)
Permissions are not converted. If you're using an encoding other than utf8, you'll need to edit
$encoding = 'utf8'; on line 33 of functions_mybb16.php and change that to your encoding.
Attachments
mybb16_convertor_0.0.4.zip
(21.05 KiB) Downloaded 534 times
Need help with MOD/style installations or other phpBB problems? Contact me for a quote.

MaFeSa
Registered User
Posts: 160
Joined: Wed Feb 11, 2009 7:48 am

Re: MyBB to phpBB Conversion problem

Post by MaFeSa » Wed Feb 19, 2014 4:32 pm

Many thanks prototech ;)

EDIT: Tested with MyBB 1.6.12 utf8 and I get always a white page as houque :(

User avatar
prototech
Former Team Member
Posts: 5406
Joined: Mon Mar 19, 2007 2:04 pm
Location: Southern California

Re: MyBB to phpBB Conversion problem

Post by prototech » Wed Feb 19, 2014 9:57 pm

Is that after the convertor has actually started running or when simply loading the install page? If the former, try adding the following before include($phpbb_root_path . 'config.' . $phpEx); in convert_mybb16.php:

Code: Select all

@set_time_limit(0);
@ini_set('memory_limit', '256M');
@ini_set('upload_max_filesize', '128M');
@ini_set('post_max_size', '256M');
@ini_set('max_input_time', '-1');
@ini_set('max_execution_time', '-1');
@ini_set('expect.timeout', '-1');
@ini_set('default_socket_timeout', '-1');
Please check your server error log for any errors reported when accessing the page. If the above has no effect and the log has nothing relevant, then try converting locally.
Need help with MOD/style installations or other phpBB problems? Contact me for a quote.

MaFeSa
Registered User
Posts: 160
Joined: Wed Feb 11, 2009 7:48 am

Re: MyBB to phpBB Conversion problem

Post by MaFeSa » Sun Feb 23, 2014 5:43 pm

I'm sorry but I always get the blank page and no error, I don't understand what is the problem and the old is ok.

MaFeSa
Registered User
Posts: 160
Joined: Wed Feb 11, 2009 7:48 am

Re: MyBB to phpBB Conversion problem

Post by MaFeSa » Tue Feb 25, 2014 8:59 am

MaFeSa wrote:I'm sorry but I always get the blank page and no error
With WAMP I have this error
Image

Thanks

User avatar
prototech
Former Team Member
Posts: 5406
Joined: Mon Mar 19, 2007 2:04 pm
Location: Southern California

Re: MyBB to phpBB Conversion problem

Post by prototech » Wed Feb 26, 2014 8:57 pm

Thanks. Updated the download with a fixed package. :)
Need help with MOD/style installations or other phpBB problems? Contact me for a quote.

MaFeSa
Registered User
Posts: 160
Joined: Wed Feb 11, 2009 7:48 am

Re: MyBB to phpBB Conversion problem

Post by MaFeSa » Thu Feb 27, 2014 11:29 am

Sorry prototech another error, my forum has many attachments and I get always:

Code: Select all

SQL ERROR [ mysqli ]

MySQL server has gone away [2006]

SQL

UPDATE phpbb_config SET config_value = 'a:3:{s:4:\"step\";s:37:\"&current_table=1&skip_rows=45\";s:12:\"table_prefix\";s:5:\"mybb_\";s:3:\"tag\";s:6:\"mybb16\";}' WHERE config_name = 'convert_progress'

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/includes/db/dbal.php
LINE: 757
CALL: trigger_error()

FILE: [ROOT]/includes/db/mysqli.php
LINE: 189
CALL: dbal->sql_error()

FILE: [ROOT]/includes/functions.php
LINE: 160
CALL: dbal_mysqli->sql_query()

FILE: [ROOT]/install/install_convert.php
LINE: 1541
CALL: set_config()

FILE: [ROOT]/install/install_convert.php
LINE: 1419
CALL: install_convert->save_convert_progress()

FILE: [ROOT]/install/install_convert.php
LINE: 203
CALL: install_convert->convert_data()

FILE: [ROOT]/install/index.php
LINE: 326
CALL: install_convert->main()

FILE: [ROOT]/install/index.php
LINE: 203
CALL: module->load()

User avatar
prototech
Former Team Member
Posts: 5406
Joined: Mon Mar 19, 2007 2:04 pm
Location: Southern California

Re: MyBB to phpBB Conversion problem

Post by prototech » Thu Feb 27, 2014 6:46 pm

Try decreasing the batch size (default is 2000 rows). In convert_mybb16.php, find:

Code: Select all

if (!$get_info)
{
After, add:

Code: Select all

$convert->batch_size = 1500;
Need help with MOD/style installations or other phpBB problems? Contact me for a quote.

User avatar
prototech
Former Team Member
Posts: 5406
Joined: Mon Mar 19, 2007 2:04 pm
Location: Southern California

Re: MyBB to phpBB Conversion problem

Post by prototech » Fri Feb 28, 2014 8:27 am

Uploaded a new version. This fixes two issues:
- Call to an undefined function "mybb_conver_group_type"
- The convertor now handles situations where no smilies exist correctly.
Need help with MOD/style installations or other phpBB problems? Contact me for a quote.

MaFeSa
Registered User
Posts: 160
Joined: Wed Feb 11, 2009 7:48 am

Re: MyBB to phpBB Conversion problem

Post by MaFeSa » Fri Feb 28, 2014 8:54 am

First of all thank you, you did an excellent job!
I converted a forum with 250000 messages, 400 attachments and 20000 users.
The problems encountered with 0.0.2 version are:
- during the conversion of the attachments I have always a mysql server error (MySQL server has gone away [2006]), done a refresh page the process continues but some attachments are lost.
This error occurs only with attachments, with 250000 messages all is fine.
- MyBB quote tag isn't recognized:

Code: Select all

[quote='user' pid='28810' dateline='1393483418'][/quote]
- phpBB smiles are overwritten with those of MyBB and are ugly :mrgreen:

Thanks again

EDIT: I see now new 0.0.3 version :D I try it this weekend ;)

Is amazing! With phpBB my forum is 4 times faster :o
Last edited by MaFeSa on Fri Feb 28, 2014 1:02 pm, edited 1 time in total.

User avatar
prototech
Former Team Member
Posts: 5406
Joined: Mon Mar 19, 2007 2:04 pm
Location: Southern California

Re: MyBB to phpBB Conversion problem

Post by prototech » Fri Feb 28, 2014 9:17 am

Thanks for testing this. Uploaded 0.0.4 now. :) It addresses the quote bbcode issue and adds a check for the user location profile field. This can be deleted in MyBB, so it caused an error in the convertor when it didn't exist.
MaFeSa wrote:during the conversion of the attachments I have always a mysql server error (MySQL server has gone away [2006]), done a refresh page the process continues but some attachments are lost.
That's certainly strange. 400 rows is pretty insignificant in comparison to rest of the data that you have.
MaFeSa wrote:MyBB smiles are overwritten with those of phpbb and are ugly
The convertor will attempt to copy over the smilies. The issue here is probably that your images/smilies/ directory is not writable.
Need help with MOD/style installations or other phpBB problems? Contact me for a quote.

MaFeSa
Registered User
Posts: 160
Joined: Wed Feb 11, 2009 7:48 am

Re: MyBB to phpBB Conversion problem

Post by MaFeSa » Fri Feb 28, 2014 10:10 am

prototech wrote:That's certainly strange. 400 rows is pretty insignificant in comparison to rest of the data that you have.
Attachments are from 8/10 MB each (total 500MB) could be this the problem?
prototech wrote:The convertor will attempt to copy over the smilies. The issue here is probably that your images/smilies/ directory is not writable.
Sorry I explained badly, I would leave phpBB smilies because MyBB smilies are ugly

Locked

Return to “[3.0.x] Convertors”

Who is online

Users browsing this forum: No registered users and 8 guests