vBulletin 4.0.x to phpBB 3.0.x

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
venukb
Registered User
Posts: 1
Joined: Tue Dec 24, 2013 7:46 am

Re: vBulletin 4.0.x to phpBB 3.0.x

Post by venukb »

I am trying to convert from vBulletin 4.2.0 to phpBB3
- phpBB3 installation worked fine
- Downloaded this converter and able to see the converter in /install page
- However after inputting the DB settings I am seeing this error

**Could not connect to the database, see error message below.
No error message given.**

I have verified the DB settings multiple times now - Anyone know what this message might mean and how to resolve this?

(By default table prefix was set to vb_ and i blanked it out since I don't have any prefix for the tables)
Gold1s
Registered User
Posts: 10
Joined: Sat Aug 14, 2010 5:16 pm

Re: vBulletin 4.0.x to phpBB 3.0.x

Post by Gold1s »

Hi.
Could u help me?
I have problem with converter vB>phpBB3: viewtopic.php?p=13252438#p13252438
I have vB 4.2.2 and newest phpBB3.
I was converted forum, I have posts, users, but I don't have Forums.
Some1 know maybe - why?
In panel admin doesn't have too.
Please help me.
Greetz.
demonfatal
Registered User
Posts: 22
Joined: Sun May 29, 2011 8:45 am

Re: vBulletin 4.0.x to phpBB 3.0.x

Post by demonfatal »

Just try to create a new Forum section, then purge cache and your forum section will be back...
It was working for me...
demonfatal
Registered User
Posts: 22
Joined: Sun May 29, 2011 8:45 am

Re: vBulletin 4.0.x to phpBB 3.0.x

Post by demonfatal »

venukb wrote:
**Could not connect to the database, see error message below.
No error message given.**
In the config file try to set "mysqli" instead "mysql"
POBLERO
Registered User
Posts: 1
Joined: Sun Mar 02, 2014 3:13 pm

Re: vBulletin 4.0.x to phpBB 3.0.x

Post by POBLERO »

Hello,

I have this problem when I try to migrate vbulletin 4.2.0 to phpBB 3.0.12

Code: Select all

Error General
SQL ERROR [ mysql4 ]

MySQL server has gone away [2006]

SQL

SELECT forumid, title, description, options, displayorder, parentid, password, link FROM forum ORDER BY parentid, displayorder ASC

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/mysql.php
LINE: 193
CALL: dbal->sql_error()

FILE: [ROOT]/install/convertors/functions_vb4.php
LINE: 201
CALL: dbal_mysql->sql_query()

FILE: [ROOT]/install/install_convert.php(1003) : eval()'d code
LINE: 7
CALL: vb_insert_forums()

FILE: [ROOT]/install/install_convert.php
LINE: 1003
CALL: eval()

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()
Someone can help me?
User avatar
Professional
Registered User
Posts: 187
Joined: Mon Jan 21, 2008 2:40 pm

Re: vBulletin 4.0.x to phpBB 3.0.x

Post by Professional »

can i use the convertor for 4.1.2 to 3.0.12 ?
انجمن تخصصی نسل جدید موبایل ها
My Mobile Forum: M4P Forum
Every Thing That U Feel,Is Every Thing That I Feel.
rykan
Registered User
Posts: 1
Joined: Thu Aug 21, 2014 1:36 pm

Re: vBulletin 4.0.x to phpBB 3.0.x

Post by rykan »

phrogg wrote:I'm having exactly the same errors. I cannot get vB imported past this step. I see that it has created the Forums and all of the boards under that. I also see users having been created and groups. But then there are no topics to work with yet. So I think its failing there somewhere.
storrm wrote: When I hit the continue conversion button I get loads of the following errors on the page :-

Code: Select all

[phpBB Debug] PHP Warning: in file [ROOT]/install/convertors/functions_vb4.php on line 744: Invalid argument supplied for foreach()
and then at the bottom I get 4 lines of

Code: Select all

[phpBB Debug] PHP Warning: in file [ROOT]/install/index.php on line 361: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
I can't link my php errors log because for some reason its not logging anything at the moment.
I'm having this same issue. It looks related to PMs?
BillHeaton89103
Registered User
Posts: 1
Joined: Mon Sep 01, 2014 10:44 am

Re: vBulletin 4.0.x to phpBB 3.0.x

Post by BillHeaton89103 »

The vb_privmsgs_to_users() function in functions_vb4.php doesn't take into account that it's possible for the $users['cc'] to be NULL. Surround the foreach loop with an isset to test that something was actually passed:

Code: Select all

function vb_privmsgs_to_users($user_array)
{
  $users = unserialize($user_array);
  $to = '';
        
  if ( isset($user['cc']) )
  {
    foreach ($users['cc'] as $user_id => $username)
    { 
      $to .= ((!empty($to)) ? ', ' : '') . 'u_' . phpbb_user_id($user_id);
    }
  }
  return $to;
}
storrm wrote:
When I hit the continue conversion button I get loads of the following errors on the page :-

CODE: SELECT ALL
[phpBB Debug] PHP Warning: in file [ROOT]/install/convertors/functions_vb4.php on line 744: Invalid argument supplied for foreach()
El_Lagarto
Registered User
Posts: 55
Joined: Tue Apr 08, 2014 1:21 pm

Re: vBulletin 4.0.x to phpBB 3.0.x

Post by El_Lagarto »

BillHeaton89103 wrote:The vb_privmsgs_to_users() function in functions_vb4.php doesn't take into account that it's possible for the $users['cc'] to be NULL. Surround the foreach loop with an isset to test that something was actually passed:

Code: Select all

function vb_privmsgs_to_users($user_array)
{
  $users = unserialize($user_array);
  $to = '';
        
  if ( isset($user['cc']) )
  {
    foreach ($users['cc'] as $user_id => $username)
    { 
      $to .= ((!empty($to)) ? ', ' : '') . 'u_' . phpbb_user_id($user_id);
    }
  }
  return $to;
}
storrm wrote:
When I hit the continue conversion button I get loads of the following errors on the page :-

CODE: SELECT ALL
[phpBB Debug] PHP Warning: in file [ROOT]/install/convertors/functions_vb4.php on line 744: Invalid argument supplied for foreach()

I did what you specified but there is no difference. I get this error, too.
User avatar
BWilliams
Registered User
Posts: 9
Joined: Tue Dec 13, 2005 9:51 pm
Location: Southern California
Name: Bobby Williams
Contact:

Re: vBulletin 4.0.x to phpBB 3.0.x

Post by BWilliams »

Any updates on these issues?
User avatar
nextgen
Jr. Style Validator
Posts: 2377
Joined: Mon Jul 26, 2010 10:58 pm
Location: Guatemala
Name: Melvin García
Contact:

Re: vBulletin 4.0.x to phpBB 3.0.x

Post by nextgen »

BWilliams wrote:Any updates on these issues?
What issues?
メルビン・ガルシア • phpBB Development StylesphpBB Argentina - Soporte en español 🇦🇷

Please do NOT contact for support via PM or email.
User avatar
Meis2M
Translator
Posts: 943
Joined: Wed Mar 03, 2010 11:32 am
Location: IR.Damghan
Name: میثم نوبری
Contact:

Re: vBulletin 4.0.x to phpBB 3.0.x

Post by Meis2M »

i have a problem with encoding of topic title:
7.png
7.png (67.28 KiB) Viewed 3128 times
phpBB persian international support
Follow us in Instagram
Free upgrade and install extensions on your forum - drop me PM
Ultimate phpBB SEO Friendly URL extension
User avatar
Meis2M
Translator
Posts: 943
Joined: Wed Mar 03, 2010 11:32 am
Location: IR.Damghan
Name: میثم نوبری
Contact:

Re: vBulletin 4.0.x to phpBB 3.0.x

Post by Meis2M »

any body help?

it is important to me....
phpBB persian international support
Follow us in Instagram
Free upgrade and install extensions on your forum - drop me PM
Ultimate phpBB SEO Friendly URL extension
DavidXanatos
Registered User
Posts: 3
Joined: Fri Feb 27, 2015 8:47 am

Re: vBulletin 4.0.x to phpBB 3.0.x

Post by DavidXanatos »

I tryed to run the converter ad got an error

[phpBB Debug] PHP Warning: in file [ROOT]/install/convertors/functions_vb4.php on line 1634: include(./../includes/db/db_tools.php) [function.include]: failed to open stream: No such file or directory
[phpBB Debug] PHP Warning: in file [ROOT]/install/convertors/functions_vb4.php on line 1634: include() [function.include]: Failed opening './../includes/db/db_tools.php' for inclusion (include_path='.:/usr/local/lib/php')

Fatal error: Class 'phpbb_db_tools' not found in /home/board2/domains/neoloader.com/public_html/forum/install/convertors/functions_vb4.php on line 1645

the path ./../includes/db/db_tools.php does not exist my vb4 instalation (4.1.12) does not have it


My current setup is like this:
vb instalation public_html/ -> board.neoloader.com, http://www.neoloader.com, neoloader.com
phpBB instalation public_html/forum -> forum.neoloader.com


PS: Itryed it with phpBB 3.0.11
and got further only errors now
[phpBB Debug] PHP Warning: in file [ROOT]/install/convertors/functions_vb4.php on line 744: Invalid argument supplied for foreach()
[phpBB Debug] PHP Warning: in file [ROOT]/install/convertors/functions_vb4.php on line 744: Invalid argument supplied for foreach()
[phpBB Debug] PHP Warning: in file [ROOT]/install/convertors/functions_vb4.php on line 744: Invalid argument supplied for foreach()
[phpBB Debug] PHP Warning: in file [ROOT]/install/convertors/functions_vb4.php on line 744: Invalid argument supplied for foreach()
[phpBB Debug] PHP Warning: in file [ROOT]/install/convertors/functions_vb4.php on line 744: Invalid argument supplied for foreach()
[phpBB Debug] PHP Warning: in file [ROOT]/install/convertors/functions_vb4.php on line 744: Invalid argument supplied for foreach()
[phpBB Debug] PHP Warning: in file [ROOT]/install/convertors/functions_vb4.php on line 744: Invalid argument supplied for foreach()
[phpBB Debug] PHP Warning: in file [ROOT]/install/convertors/functions_vb4.php on line 744: Invalid argument supplied for foreach()
[phpBB Debug] PHP Warning: in file [ROOT]/install/convertors/functions_vb4.php on line 744: Invalid argument supplied for foreach()
[phpBB Debug] PHP Warning: in file [ROOT]/install/convertors/functions_vb4.php on line 744: Invalid argument supplied for foreach()
[phpBB Debug] PHP Warning: in file [ROOT]/install/index.php on line 361: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/install/index.php on line 362: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/install/index.php on line 363: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/install/index.php on line 364: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)

but it seasm it did not import all users :/
kittrad
Registered User
Posts: 33
Joined: Thu Dec 25, 2014 7:21 pm

Re: vBulletin 4.0.x to phpBB 3.0.x

Post by kittrad »

[phpBB Debug] PHP Warning: in file [ROOT]/install/index.php on line 363: Cannot modify header
Just a hunch, have you checked for directory permissions on it already?
Ubuntu 14.04.1 | 500GB | 8GB RAM Image
Locked

Return to “[3.0.x] Convertors”