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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 18:26:37
Script start
Timing: Jan 18 2025 18:26:37
Module start 'layout'
Timing: Jan 18 2025 18:26:37
Module start 'content'
Timing: Jan 18 2025 18:26:37
Module end 'content'
Timing: Jan 18 2025 18:26:37
Script end

Main resources:

Total runtime0.6140 sec
Peak memory usage4,096.0000 KB
Database Queries64

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0085 588.0391152.6406
Module start 'layout' 0.00850.0037 740.679739.4766
Module start 'content' 0.01210.6006 780.1563546.7031
Module end 'content' 0.61280.0012 1,326.859412.1250
Script end 0.6140  1,338.9844 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.6717160.0003
Check MTime0.00170.2704160.0001
Mysql Total
Database connection0.00090.141210.0009
Mysqli_queries0.557290.7533640.0087
Looping result0.00070.1085620.0000
Template Total0.578694.220.2893
Template load0.00280.452920.0014
Template processing0.575893.782620.2879
Template load and register function0.00030.046210.0003
states
state_id_array0.00110.174710.0011
state_identifier_array0.00130.204020.0006
Override
Cache load0.00250.4051360.0001
Sytem overhead
Fetch class attribute can translate value0.00070.110940.0002
Fetch class attribute name0.00140.223840.0003
XML
Image XML parsing0.00060.094640.0001
class_abstraction
Instantiating content class attribute0.00000.001340.0000
General
dbfile0.00070.1060100.0001
String conversion0.00000.001340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 16
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs