Problem with SMF br...
 
Notifications
Clear all

Problem with SMF bridge (SOLVED)

8 Posts
2 Users
0 Reactions
3,038 Views
(@myinterests)
Posts: 11
Active Member
Topic starter
 

URL to your eFiction: http://fandom.myinterests.com
Version of eFiction: 3.4.3
Have you bridged eFiction, if so with what?:  attempted to bridge with smf 1.1.5
Version of PHP: 5.2.3
Version of MySQL:  4.1.22
Have you searched for your problem: (yes/no)  yes Found similar, but not quite.
If so, what terms did you try: SMF, Bridge, white
State the nature of your problem: When I login on any browser from my efiction screen it goes to a blank white screen
Do you have a test account for us? yes, UN: test  PW: test

Hello!

 When I attempt to login via the efiction site, it gives me a white screen instead of the forum screen.  However, when I log in from the forum itself, it works perfectly.  What could I have done wrong?  I have reupped my login pages and such and no luck.

Thanks!


 
Posted : 27/07/2008 6:10 pm
(@carissa)
Posts: 791
Member Moderator
 

Did you upload the file that goes in the SMF folder? That's the one (I think) that contols the login.


 
Posted : 27/07/2008 8:16 pm
(@myinterests)
Posts: 11
Active Member
Topic starter
 

I had followed the instructions that came with it where I uploaded the files into users, and includes

I move the following files to the user folder in my fandom area

editbio.php
login.php
profile.php
register.php
logout.php

and I move the following files to the includes folder:

get_session_vars.php
queries.php

I edited the queries.php file as well in one area.  I did not see any other place that was supposed to be editied.

and then I move the en_SMF.php file to the languages folder in my fandoms area.

Then the last one I moved was QueryString.php to the Sources folder in my SMF install. 


 
Posted : 27/07/2008 9:08 pm
(@carissa)
Posts: 791
Member Moderator
 

There are two things to edit in the queries.php--the database prefix and the path to smf.


 
Posted : 27/07/2008 11:11 pm
(@myinterests)
Posts: 11
Active Member
Topic starter
 

Here's what I have:

// The table prefix for SMF
$db_prefix = "smf_";

// The RELATIVE path to your SMF install from your eFiction install. 
// The example given is an SMF and eFiction install as sibling folders.
define("PATHTOSMF", "forum/");

I believe that my database prefix is smf_ and my forum is located at http://fandom.myinterests.com/forum

My database for my efiction and my forum is  mi2_fanfic and each part that refers to the SMF board is labeled with a smf_ so I assume this is what it means, right?

I'm going to attempt to put a slash in the front of forum to see if that works.


 
Posted : 28/07/2008 12:27 am
(@myinterests)
Posts: 11
Active Member
Topic starter
 

When I changed the db or the whereabouts of the forum, it took down the entire site so I don't think that they are wrong.  πŸ˜•  Is there a way my login adaption page isn't redirecting properly?


 
Posted : 28/07/2008 12:33 am
(@carissa)
Posts: 791
Member Moderator
 

Well, your login is not redirecting, so something is wrong. At this point, I just don't know what. I almost wonder if it's not a bug in the new version. Mine's working fine with 3.3.1.

Try reuploading your login.php file from the bridge. Maybe something happened to it.


 
Posted : 28/07/2008 6:19 pm
(@myinterests)
Posts: 11
Active Member
Topic starter
 

WOOT!  I think I solved it!  I had to edit the login.php file.  Where it says:

else $_SESSION['login_url'] = $url."/user.php";

I had to change it to:
else $_SESSION['login_url'] = $url."forum/index.php?action=login";

Thanks so much for your time!  I would like to ask one last fav, double check it for me to make sure it's not my cookies playing tricks on me, lol

Thanks again!


 
Posted : 28/07/2008 10:57 pm
Share: