IPB 2.3.x to phpBB 3

Converting from other board software? Good decision! Need help? Have a question about a convertor? Wish to offer a convertor package? Post here.
Scam Warning
Locked
phillaholic
Registered User
Posts: 2
Joined: Wed Apr 22, 2009 12:17 am

Re: IPB 2.3.x to phpBB 3

Post by phillaholic » Wed Apr 22, 2009 12:20 am

I am also getting the following error as a user above mentioned trying to convert from version 2.3.6

Code: Select all

[phpBB Debug] PHP Notice: in file /install/convertors/functions_ipb23.php on line 23: Invalid argument supplied for foreach()
Can any confirm that Converting from 2.3.6 works or not? Also my IPB datbase is myisam while the phpbb3 install is InnoDB. If this is a problem, which should I change and how would I go about changing it?

User avatar
D¡cky
Former Team Member
Posts: 11812
Joined: Tue Jan 25, 2005 8:38 pm
Location: New Hampshire, USA
Name: Richard Foote
Contact:

Re: IPB 2.3.x to phpBB 3

Post by D¡cky » Wed Apr 22, 2009 5:12 am

phillaholic wrote:I am also getting the following error as a user above mentioned trying to convert from version 2.3.6

Code: Select all

[phpBB Debug] PHP Notice: in file /install/convertors/functions_ipb23.php on line 23: Invalid argument supplied for foreach()
Can any confirm that Converting from 2.3.6 works or not? Also my IPB datbase is myisam while the phpbb3 install is InnoDB. If this is a problem, which should I change and how would I go about changing it?
Yes, the convertor does work for 2.3.6. Use the convertor in this post.

The foreach error you are getting is with the polls and poll options. These errors won't stop the convertor, but you may have to fix some of the polls.

The database engine type, MyISAM or InnoDB, has no affect on the operation of the convertor. Either works fine.
Have you hugged someone today?

phillaholic
Registered User
Posts: 2
Joined: Wed Apr 22, 2009 12:17 am

Re: IPB 2.3.x to phpBB 3

Post by phillaholic » Thu Apr 23, 2009 5:28 am

I ignored the above errors and let the converter go. However It failed miserably. It didn't covert any of the members, instead putting Guest or the names of bots in. 90% of my posts didn't get carried over, and have Thu Jan 01, 1970 12:00 am as their dates. Topic titles, forums names and actual counts of posts seem to be right though. I can't test anything further because I don't even have the admin account.

Any tips?

User avatar
D¡cky
Former Team Member
Posts: 11812
Joined: Tue Jan 25, 2005 8:38 pm
Location: New Hampshire, USA
Name: Richard Foote
Contact:

Re: IPB 2.3.x to phpBB 3

Post by D¡cky » Thu Apr 23, 2009 4:35 pm

phillaholic,

I am not sure why your posts and dates didn't convert. There may be a problem with your server causing information to get dropped. You may be better off doing the conversion offline.

Anyway, give the attached convertor a try. It is still very much a work in progress, but there are a lot of issues fixed, such as the problem you had with polls. Permissions are not exactly right yet, so you will need to check those.

This convertor does have the ability to convert the IPB topic descriptions. You will need to install this MOD to phpBB3 before running the convertor, Simple Topic Description 0.0.2.

Very Important:
You need to set your group_id's before running the convertor.

OPEN convert_ipb23.php
FIND

Code: Select all

	define('IPB_ADMIN', 4);
	define('IPB_MODERATOR', 7);
	define('IPB_MEMBER', 3);
	define('IPB_GUEST', 2);
	define('IPB_VALIDATING', 1);
	define('IPB_BANNED', 5);
	define('IPB_CO-ADMIN', 6);
ADJUST the numerical values to the group_id for your IPB board.
SAVE/CLOSE
Attachments
IPB2.3.x_to_phpBB3_04a.zip
IPB 2.3.x to phpBB3 Version 04a
(25.79 KiB) Downloaded 1507 times

OnY_cOoL
Registered User
Posts: 19
Joined: Sun May 20, 2007 2:27 pm

Re: IPB 2.3.x to phpBB 3

Post by OnY_cOoL » Thu May 28, 2009 3:15 am

I am getting the following error while i press the Continue Conversion Button

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Any help??


Thanks in advance

User avatar
D¡cky
Former Team Member
Posts: 11812
Joined: Tue Jan 25, 2005 8:38 pm
Location: New Hampshire, USA
Name: Richard Foote
Contact:

Re: IPB 2.3.x to phpBB 3

Post by D¡cky » Thu May 28, 2009 5:04 am

An internal server error is caused by your server not having enough resources to run the convertor. You can try the following:

Open phpbb3/install/install_convert.php

Find:

Code: Select all

<?php
/**
*
* @package install
* @version $Id: install_convert.php 8615 2008-06-07 13:50:39Z acydburn $
* @copyright (c) 2006 phpBB Group
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/

/**
*/
After add:

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');
If that doesn't work, you will have to do the conversion offline. Use EasyPHP, WampServer, or XAMPP.

Some helpful tips are in this Knowledge Base article, Offline Conversions
Have you hugged someone today?

OnY_cOoL
Registered User
Posts: 19
Joined: Sun May 20, 2007 2:27 pm

Re: IPB 2.3.x to phpBB 3

Post by OnY_cOoL » Thu May 28, 2009 5:23 am

Thanks for ur reply..now i am not getting any server error but stuck in step 13 for while..i have more than 1 lac posts..is it gonna take long time?

OnY_cOoL
Registered User
Posts: 19
Joined: Sun May 20, 2007 2:27 pm

Re: IPB 2.3.x to phpBB 3

Post by OnY_cOoL » Thu May 28, 2009 5:43 am

'phpbb_privmsgs_to_userid' was given
[phpBB Debug] PHP Notice: in file /install/index.php on line 440: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3184)
[phpBB Debug] PHP Notice: in file /install/index.php on line 441: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3184)
[phpBB Debug] PHP Notice: in file /install/index.php on line 442: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3184)
[phpBB Debug] PHP Notice: in file /install/index.php on line 443: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3184)
Getting this error..

AFUNA
Registered User
Posts: 7
Joined: Fri Mar 14, 2008 7:45 pm
Location: Cairo, Egypt

Re: IPB 2.3.x to phpBB 3

Post by AFUNA » Fri Jun 26, 2009 5:34 am

My Conversion Conclusion : FAILED 100% :mrgreen:
Converting from IPB 2.3.5 to phpBB 3
Forums Language : Arabic
Apache Used : XAMPP
after about 1 hour and starting to feel like an ass :oops:
I tried many things

My first attempt : I tried to convert from another database (db_ipb to db_phpbb)
conversion done. But ...
  • no passwords were converted
    no users were converted
    no usergroups were converted
    no forum permissions were converted
    The language was gibberish, sth closer to russian (screenshot1attached)
My second attempt : I tried to convert from the same database (db_phpbb with the db_ipb rows)
Modified the authentication method from ACP after the fresh installation
conversion done. But ...
  • no passwords were converted
    no users were converted
    forums and posts didnt appear (screenshot2attached)
My last attempt : I tried to convert from another database (db_ipb to db_phpbb)
Modified the authentication method from ACP after the fresh installation
conversion done. But ...
  • no users were converted
    no usergroups were converted
    no forum permissions were converted
    The language was gibberish, sth closer to russian (screenshot1 attached)
    when I try to login with my IPB password I face the error message

Code: Select all

SQL ERROR [ mysqli ]

Table 'phpbb.ibf_members_converge' doesn't exist [1146]

SQL

SELECT ibf_members_converge.converge_pass_hash, ibf_members_converge.converge_pass_salt,ibf_members.name FROM ibf_members_converge,ibf_members WHERE ibf_members.name REGEXP ('afuna')

BACKTRACE

FILE: includes/db/mysqli.php
LINE: 143
CALL: dbal->sql_error()

FILE: includes/auth/auth_ipb.php
LINE: 103
CALL: dbal_mysqli->sql_query()

FILE: includes/auth.php
LINE: 858
CALL: login_ipb()

FILE: includes/functions.php
LINE: 2309
CALL: auth->login()

FILE: ucp.php
LINE: 81
CALL: login_box()
I hope that I explained the problem well and sorry if some of my problems are repeated but I really got tired after page 11
I also hope there are solutions to all my problems :cry:
Thanks in advance and best regards ..
Attachments
neither passwords or users converted &amp; forums and posts didnt appear
neither passwords or users converted & forums and posts didnt appear
screenshot2 .png (34.19 KiB) Viewed 12406 times
nor passwords, users, usergroups or forum permissions were converted &amp; The language was gibberish, sth closer to russian
nor passwords, users, usergroups or forum permissions were converted & The language was gibberish, sth closer to russian
screenshot1.png (84.66 KiB) Viewed 12406 times

BenOwnsAgain
Registered User
Posts: 2
Joined: Sat Jun 27, 2009 12:13 am

Re: IPB 2.3.x to phpBB 3

Post by BenOwnsAgain » Sat Jun 27, 2009 3:54 pm

edit: nvm i figured it out, but getting errors
[phpBB Debug] PHP Notice: in file /install/convertors/functions_ipb23.php on line 23: Invalid argument supplied for foreach()
[phpBB Debug] PHP Notice: in file /install/convertors/functions_ipb23.php on line 23: Invalid argument supplied for foreach()
[phpBB Debug] PHP Notice: in file /install/convertors/functions_ipb23.php on line 23: Invalid argument supplied for foreach()
[phpBB Debug] PHP Notice: in file /install/convertors/functions_ipb23.php on line 23: Invalid argument supplied for foreach()

BenOwnsAgain
Registered User
Posts: 2
Joined: Sat Jun 27, 2009 12:13 am

Re: IPB 2.3.x to phpBB 3

Post by BenOwnsAgain » Sat Jun 27, 2009 6:21 pm

alright i got it to convert, but it did not transfer all my members just 170 of them
any ideas?

AFUNA
Registered User
Posts: 7
Joined: Fri Mar 14, 2008 7:45 pm
Location: Cairo, Egypt

Re: IPB 2.3.x to phpBB 3

Post by AFUNA » Sun Jun 28, 2009 4:59 pm

I managed to make a successful conversion by using the phpbb2 converter
but as I said am converting an Arabic forums so what is the best encode of the old database to make it appear in the normal auto encode
cos I dont wanna my members to change encoding of the forum every time they change the page ..

wessite
Registered User
Posts: 1
Joined: Mon Jun 29, 2009 11:03 am
Contact:

Re: IPB 2.3.x to phpBB 3

Post by wessite » Mon Jun 29, 2009 11:08 am

I also got it to convert like BenOwnsAgain, but only 85 of the 261 members converted...
Does anyone know a solution for this little hick up? Thanks in advance!

User avatar
D¡cky
Former Team Member
Posts: 11812
Joined: Tue Jan 25, 2005 8:38 pm
Location: New Hampshire, USA
Name: Richard Foote
Contact:

Re: IPB 2.3.x to phpBB 3

Post by D¡cky » Tue Jun 30, 2009 5:01 am

AFUNA wrote:I managed to make a successful conversion by using the phpbb2 converter
but as I said am converting an Arabic forums so what is the best encode of the old database to make it appear in the normal auto encode
cos I dont wanna my members to change encoding of the forum every time they change the page ..
For the phpBB3 convertor,

OPEN functions_ipb23.php
FIND

Code: Select all

	$db_character_set = 'iso-8859-1';
REPLACE WITH

Code: Select all

	$db_character_set = 'windows-1256';
For wessite and BenOwnsAgain not converting all members:
Inactive members are not counted.
Did you set the group_id's as instructed in http://www.phpbb.com/community/viewtopi ... 5#p9367695?
Have you checked the number of rows in the phpBB3 database in the user''s table to see if the number of rows match with the number of rows in the IPB member's table?
Have you hugged someone today?

AFUNA
Registered User
Posts: 7
Joined: Fri Mar 14, 2008 7:45 pm
Location: Cairo, Egypt

Re: IPB 2.3.x to phpBB 3

Post by AFUNA » Tue Jun 30, 2009 12:25 pm

New updates
I managed to convert the whole thing passwords, polls etc
but by converting it to SMF first
so now I want to know how to manage the same question I asked for it with the smf converting steps or some tips to avoid it when am converting to SMF
best Regards ..

Locked

Return to “[3.0.x] Convertors”