Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => Joomla Bridge Support => Topic started by: jmbent on January 25, 2006, 12:27:04 AM

Title: Joomla/SMF Can't Login or Register using bridge rc2
Post by: jmbent on January 25, 2006, 12:27:04 AM
I Can't login or register through the bridge

php 4.4.1
Apache/1.3.34
mysql 4.1.13-standard

I'm running Joomla! 1.0.3 Stable

I have installed SMF 1.0.5 and

MOS_SMF_BRIDGEv3[1].19a_SMF1.1b3

Joomla and SMF work fine separately on separate DB's

I Installed the file smf_mambo3.1.tar.gz with my SMF package manager, I uploaded the package

clicked [Apply Mod].,clicked "Proceed"

I Installed com_smf.zip as a Mambo component and changed the values in the configuration via the

Mambo backend., chose Wrapped

Installed the SMF-Registration Component in Mambo

a) Installed mod_smf_login.php as a module.

b) Went to my Mambo template (index.php), and added the following code, right before the </head>

tag:

<?php
global $sc, $context;

if (!defined('SMF')){
require ("administrator/components/com_smf/config.smf.php");
require ($smf_path."/SSI.php");
}

$sc = &$context['session_id'];
$_SESSION['USER_AGENT'] = $_SERVER['HTTP_USER_AGENT'];

mysql_select_db($mosConfig_db);
?>

c) Also, in my mambo template (index.php), added the following code just above the </body> tag:

<?php mysql_select_db($db_name); ?>

d) Published the module, and unpublished the default Mambo login module.


------------------------------------------------------------
This is the error I get when I try to login with the
Mod_smf_login published
------------------------------------------------------------


Fatal error: Cannot redeclare md5_hmac() (previously declared in

/home/classico/public_html/forum/Sources/Load.php:210) in

/home/classico/public_html/forum/Sources/MOS_SMF.php on line 502


------------------------------------------------------------
This is the error I get when I try to register
------------------------------------------------------------

Warning: saveregistration(/home/classico/public_html/forum/Sources/Subs-Members.php): failed to

open stream: No such file or directory in

/home/classico/public_html/components/com_smf_registration/smf_registration.php on line 281

Fatal error: saveregistration(): Failed opening required

'/home/classico/public_html/forum/Sources/Subs-Members.php'

(include_path='.:/usr/lib/php:/usr/local/lib/php') in

/home/classico/public_html/components/com_smf_registration/smf_registration.php on line 281


I'm a NOOB so type slowly for me so I can keep up! (LOL) ;)
I've searched the forums and FAQS and can't figure whats wrong

Site is: www.ClassicOldie.com

Any Help on this would be deeply appreciated.  :)

Thanks,
John
Title: Re: Joomla/SMF Can't Login or Register using bridge rc2
Post by: Kindred on January 25, 2006, 12:28:44 AM
wrong bridge...  you need to be using MOS_SMF_BRIDGEv3.19a_stable

_SMF1.1b3 is (obviously?) for 1.1beta3, beta4 and RC1
Title: Re: Joomla/SMF Can't Login or Register using bridge rc2
Post by: jmbent on January 25, 2006, 12:39:43 AM
Where can I find the Download of MOS_SMF_BRIDGEv3.19a_stable

Thanks for that lightning fast response. You Guys are quite amazing around here.

Thanks again,
John
Title: Re: Joomla/SMF Can't Login or Register using bridge rc2
Post by: Kindred on January 25, 2006, 01:03:29 AM
looks in the combined readme post (down near the bottom) for a link to the older bridges on mamboforge