News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Mambo problem

Started by Motorhead, December 04, 2004, 07:03:16 AM

Previous topic - Next topic

Motorhead

Sorry for starting a new topic but there's that much info when I search its hard to know where to look

I thought I'd followed the instructions

MAMBO works but I get this message bottom right

Warning: main(/207.44.249.84/orrp.com/smf/SSI.php): failed to open stream: No such file or directory in C:\Inetpub\vhosts\orrp.com\httpdocs\mambo\modules\mod_smf_login.php on line 7

Fatal error: main(): Failed opening required '/207.44.249.84/orrp.com/smf/SSI.php' (include_path='.;./includes;./pear') in C:\Inetpub\vhosts\orrp.com\httpdocs\mambo\modules\mod_smf_login.php on line 7


please point me in the right direction, so far Ive managed to get past all the other probs through the invaluable help in here

Orstio

Change the path in your bridge configuration to this:

C:\Inetpub\vhosts\orrp.com\httpdocs\smf

Motorhead

Has anybody ever had a nervous breakdown doing this....changed the path, I presume you meant in the config.smf.php file

Now I'm getting

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in C:\Inetpub\vhosts\orrp.com\httpdocs\smf\Sources\Subs.php on line 167

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in C:\Inetpub\vhosts\orrp.com\httpdocs\smf\Sources\Load.php on line 107

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in C:\Inetpub\vhosts\orrp.com\httpdocs\smf\Sources\Load.php on line 109

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in C:\Inetpub\vhosts\orrp.com\httpdocs\smf\Sources\Subs.php on line 167

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in C:\Inetpub\vhosts\orrp.com\httpdocs\smf\Sources\Load.php on line 741

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in C:\Inetpub\vhosts\orrp.com\httpdocs\smf\Sources\Load.php on line 751

Warning: array_unshift(): The first argument should be an array in C:\Inetpub\vhosts\orrp.com\httpdocs\smf\Sources\Load.php on line 820


where the previous error message was

Orstio

Did you add the code into the header of your Mambo template, like it says in the instructions?

Quote4) Go to your Mambo template, and add the following code, right before the </head> tag:

<?php
global $sc, $context;

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

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

?>

Motorhead

:( wheres the hide under rock with embarrasment smiley....

I'd done that earlier but then deleted it when I had another problem....

Just a quick question though so I know I'm in the right area...

I add that code through Mambo template editor on the html editor yes / no

thanks for helping...

Orstio

Quotewheres the hide under rock with embarrasment smiley....

I'd done that earlier but then deleted it when I had another problem....

Just a quick question though so I know I'm in the right area...

I add that code through Mambo template editor on the html editor yes / no

thanks for helping...

Don't worry about it.  That's something a lot of people forget, or they switch templates, and wonder why it's broken.  ;)

Yes, editing the template from your Mambo backend is fine.

Motorhead

yippe it works, just need to make it look nice looks horrible at moment


Motorhead

Thanks for the help

Wheres the best place to look to learn how to make it look better

I can't see a link for SMF on my Mambo main page, should there be or do I now have to add it..

I do get limited options bottom right where I was getting the error, but it opens SMF in the "window" on the left and looks squashed

http://207.44.249.84/orrp.com/mambo/

Just noticed something else...2 login windows

The top one if I log in takes me straight to my SMF replacing the Mambo window

The bottom one logs me in but stays on the Mambo window ???

Orstio

Go to your Mambo admin panel, Main Menu, and add Simple Machines Forum as a component.

Go to the site module manager, and unpublish (don't delete!) the Mambo default login (mod_login).

Did you read the instructions?

Motorhead

Sorry about the questions, just been through the read me's that came with the Bridge download and can't find anything concerning what you mentioned there....

I'm guessing I'm looking in the wrong place....

Also the above instructions about Main Menu's I'm sorry but not that clear...

I understand must be a bind you must have had these questions a million times


Motorhead


Advertisement: