SOS :: joomla == phpbb2 --> smf -- weird situation

Started by bobbykashyap, March 13, 2006, 11:56:31 AM

Previous topic - Next topic

bobbykashyap

hi SMF/Joomla experts,
im a novice in PHP and i have this website on which I have Joomla 1.0.7 + phpBB. The phpBB is a hacked  bridge version taken from www.joomlastuff.org.

Now, I'm trying to get rid of phpBB and enter the SMF camp.

I installed SMF 1.0.5 using fantastico. then upgraded SMF to 1.0.6.

Now, I'm trying to migrate the phpBB2 to SMF. Facing problems over here.
I believe its cause of the so called hacked phpBB bridge.

the error message is
Quote
Notice: Undefined variable: Itemid in /home/<folder_name>/public_html/mambo/components/com_forum/extension.inc on line 32

the following is the extension.inc file contents. the bolded line is the so called "line 32"::

<?php
if ( !defined('IN_PHPBB') )
{
die("Hacking attempt");
}

$version "v1.2.4 RC4";

//
// Change this if your extension is not .php!
//
$phpEx "php";

global 
$run_as_component;

if(
$run_as_component){
define("basefile""index.php?option=com_forum&Itemid=" $Itemid "&");
}
else{
[
b] define("basefile""index2.php?option=com_forum&Itemid=" $Itemid "&");[/b]
}

$starttime 0;

?>



yep, i did understand that its coz of the Itemid parameter. But, no clue to fix this and go for a smooth migration. Any Gurus, to my rescue?

bobbykashyap

I removed the itemid in extension.inc.
now im facing another problem...

QuoteSorry, the database connection information used in the specified installation of SMF cannot access the installation of phpBB2.

I did give ALL PRIVELEGES for smf db user on the phpbb/mambo database. But, still facing this error.
anyone please help.

thx in advance

Advertisement: