Forums / General / How to migrate a phpbb-forum to eZPublish

How to migrate a phpbb-forum to eZPublish

Author Message

Holger Marx

Friday 26 January 2007 7:38:56 am

I tried to migrate a phpbb-forum to eZPublish by using the extensions advancedforum an import.

It is necessary to modify the script advancedforum/bin/phpbb2ez.php - but how?

Running the script I get the error: Call to a member function on a non-object (line 147)

I use eZPublish 3.9.0

Can anybody give me some hints how to modify phpbb2ez.php?

Luca Di Nubila

Saturday 02 June 2007 6:03:39 am

I need help too..........

I don't know how it works ...........

It's an extension ??????

Inside zip file there's a folder with a file .ezpk..........it's a ez package ???????

Thanx

Maarten Holland

Tuesday 05 June 2007 11:27:00 am

I could use some help too.

I've downloaded contributions 'advancedforum' and 'import' and saved both extracted dirs in /extension.

From my ezPublish root dir I''ve tried

php extension/advancedforum/bin/phpbb2ez.php --type=mysql --host=localhost --database=mydatabase --user=myuser --password --mypassword.

The script reports:

'Using siteaccess eng'.

Fatal error: Call to a member function of a non-object in /myezpublishdir/extension/advancedforum/bin/phpbb2ez.php on line 148.

PHP and PHP-CLI are working fine. I'm not having any problems with runcronjobs.php.

Any hints to point me in the right direction are very appreciated!

Thank you,

Maarten

Stefano Chiari

Thursday 06 March 2008 7:04:09 am

You probably haven't enabled import (and advancedforum) extension in the right place.

Try enable them directly in the
override/site.ini.append.php

Remember also:

$if =& eZImportFramework::instance('phpbb');
phpbb - is the handler used - do not change it

$if->getData( $dbsource, "phpbb" );
phpbb - (and other rows) here is the tablename prefix. If you have customized them, you will have to change this

Hope this helps