Mambo + SMF + Bridge

Started by gnom, November 25, 2004, 09:10:07 AM

Previous topic - Next topic

gnom

I have problem ith integration SMF to Mambo via SMF Bridge

- i use mambo 451a in local(easyphp) and on the net : hxxp:reamedbrabois.nuxit.net/reamedsite [nonactive]
- i want integrate SMF via Simple Machine Forum Bridge
before uploading to the net ihave tried in (local (easyphp)


here is my configuration

1) repertory www (easyphp ):
1 repertory "reamedsite" (= Mambo 451a)and
1 repertory "forum" (= SMF1 RC2)
same database, the two applications are full fonctional

2) readme text of  Simple machine Forum Bridge :
"These are all the required files for integrating Mambo and SMF.
There are instructions with each component and module.
The components and modules should be installed in this order:

com_smf
com_smf_registration
mod_smf_login
..."

3) i using the following parameters :

3.1) for "com_smf "
- installation of the composant = "success"
- ftp to config.smf.php :-----> C:\Program Files\EasyPHP1-7\www\reamedsite\components\com_smf\config.smf :

         <?php
         $smf_path = "forum";
         ?>
- new entry in Mambos Main Menu

3.2) for com_smf_registration
- installation of the composant = "success"

3.3) for mod_smf_login : PROBLEMS COME HERE !!!!



(1) unzip the package :------> ok
(2) Upload MOS_SMF.php to your Sources directory : -----> uploadd in : ----> C:\Program Files\EasyPHP1-7\www\forum\Sources : it's ok ?
(3) Go to your Mambo control panel and install the module :-----> " success"
(4) Go to your Mambo template, and add the following code, right before the </head> tag:

<?php  require ("components/com_smf/config.smf.php");
             require ($smf_path . "/SSI.php");
?>
-------> my parameters
<?php require ("components/com_smf/config.smf.php");
  require ("/forum/SSI.php");

BUT I RECEIVE THE FOLLOWING ERROR MESSAGE :

"Warning: main(/forum/SSI.php): failed to open stream: No such file or directory in c:\program files\easyphp1-7\www\reamedsite\templates\JavaBean\index.php on line 21

Fatal error: main(): Failed opening required '/forum/SSI.php' (include_path='.;C:\Program Files\EasyPHP1-7\php\pear\') in c:\program files\easyphp1-7\www\reamedsite\templates\JavaBean\index.php on line 21


thanks for help

[Unknown]

You should change the path in the $smf_path variable, not replace instances of it with something else...

-[Unknown]

gnom

Thanks for your response
But what you mean exactly ?
Change what, where and how ?
thanks

clicker

Maybe you should try putting the full path instead of just "forum", i.e. /home/httpd/ ... etc"


Not an expert, but I hope that this might help you 

Cheers



Kindred

I have responded in PM...
However, for those of you wondering...

the $smf_path defined in config.smf.php should use the root path...
(you can use a relative path, but that can get confusing...   use the root path to your forum!)

DO NOT change the call for $smf_path in the tempate header code...   that path should be defined and changed in one place only!  Everything in the brodge depends on the path defined in config.smf.php.

gnom has the incorrect path defined, which is why it is not working.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

gnom

hello,
thank yoy very much for help
i'll try again in a new propper installation
have a nice day

Advertisement: