Problem with mos_smf bridge: white screen

Started by xenovanis, December 11, 2004, 07:24:06 PM

Previous topic - Next topic

xenovanis

So, I spent several hours reading threads and hoping to find a solution for my problem, but so far I haven't found anything..


  • I have Simple Machines Forum 1.0 RC2 on http://www.xenovanis.nl, databasename = xenovanis_nl_1
  • I recently installed "Mambo 4.5.1a Stable [Three For Rum]" on http://www.taxibalk.nl, databasename = taxibalk_nl_1
  • I did read the readme and installed the bridge v2.11 like I was supposed to

But all I get when I click the forum-button is a completely white screen!

This is how my config.smf.php looks like:

<?php
global $smf_path,$smf_prefix,$mos_prefix;
$smf_path "/data/members/paid/x/e/xenovanis.nl/htdocs/forum/";
$mos_prefix "mos_";
$smf_prefix "smf_";
?>


I think the problem is that I have two different databases, but I'm kind of a n00b concerning php so I don't know how to put it right. Can anyone help me please?
"Insanity: doing the same thing over and over again and expecting different results."

theantidote

This:
$smf_path = "/data/members/paid/x/e/xenovanis.nl/htdocs/forum/";


Should be this:
$smf_path = "/data/members/paid/x/e/xenovanis.nl/htdocs/forum";


No slash after forum.

xenovanis

I changed it, but it's still not working  :(

Thanks anyway.
"Insanity: doing the same thing over and over again and expecting different results."

Orstio

Turn off GZip compression in Mambo.

You will have to change your table prefixes to add your database names.

`xenovanis_nl_1`.smf_

and

`taxibalk_nl_1`.mos_

respectively.

Something I discovered yesterday is that you may also need to make sure that the database username and password are the same for both databases.

xenovanis

Oke, I changed it and now it looks like this:

<?php
global $smf_path,$smf_prefix,$mos_prefix;
$smf_path "/data/members/paid/x/e/xenovanis.nl/htdocs/forum";
$mos_prefix "`taxibalk_nl_1`.mos_";
$smf_prefix "`xenovanis_nl_1`.smf_";
?>


This is the right way, though? I'm not sure... I already checked my gzip page compression and it is off, but the forum-link is still not working. I can't change the usernames of my databases, they are suscribed by my webhosting provider.
"Insanity: doing the same thing over and over again and expecting different results."

Orstio

#5
Oh, wait.  I should have read your first post more carefully.  You have your SMF hosted on a different site than your Mambo? 

I don't know of a way to make that work....

Also, if I read that path correctly, your SMF should be here:

http://www.xenovanis.nl/forum

...and it is not.

xenovanis

I'm sorry, my mistake. The forum is on: http://forum.xenovanis.nl.  :)

So, I suppose the best thing do to is intall the forum on my taxibalk.nl domain and restore a backup with all the messages there?

"Insanity: doing the same thing over and over again and expecting different results."

Orstio

Yes, they will both have to be on the same domain.

xenovanis

Well, I'll try that and make it work. Thank you kindly for your help en patience!
"Insanity: doing the same thing over and over again and expecting different results."

xenovanis

#9
Oke, now I created a new forum on http://forum.taxibalk.nl. To test it I backed up the database of my original forum and restored it here without any problems. The bridge is now working fine on the mambo portal, located at http://www.taxibalk.nl, however when I try to log in or out all I get (again) is a white screen. I have to close the window and open it again to see wheter I'm logged in or not. At some point it's working ok, but most of the time it's not... Am I missing something here?

I created a test-login account for the forum:
username: test01
password: pandora

If you go take a look, please do not notice the mess, I'm still working on the lay-out... My first priority is to let this bridge function like it is supposed to.

Note: this problem seems to concern only logging in/out through the mamboportal. Logging in/out through the forum seems to work fine.
"Insanity: doing the same thing over and over again and expecting different results."

Orstio


xenovanis

Done.

Should this have any effect? The problem still exist..
"Insanity: doing the same thing over and over again and expecting different results."

Orstio

#12
GZip compression in Mambo is off?

Also, did you upload MOS_SMF.php to your Sources directory?

xenovanis

I'm really ashamed.... I forgot to do the upload... Now it's working perfectly.

Thanks again for your time and help! It's a great piece of work, this bridge!
"Insanity: doing the same thing over and over again and expecting different results."

Orstio


Advertisement: