SMF Bridge - Login ...
 
Notifications
Clear all

SMF Bridge - Login doesn't stick

7 Posts
4 Users
0 Reactions
1,683 Views
(@guest1964)
Posts: 0
 

I'm currently trying to bridge efiction with SMF. Everything works fine, except for the login.

Everytime I login via my efiction site, I can successfully log into the forums. However, when I go back to the efiction site, I'm not logged in. I attempt to login again, but it's still the same. It redirects me to the forum and I've successfully logged in, but I'm never able to login into efiction itself.

I've attempted to use the 'quick login' button on efiction, but that always gives me a blank page.

The only changes I've made to the queries.php file is changing the table prefix to

$db_prefix = "smf_";

As well as the relative path to my SMF installation.

Is there something else I should be changing, or reverting back to?


 
Posted : 29/06/2007 7:57 pm
(@darklight)
Posts: 170
Estimable Member
 

Clear you cookies and then try again


 
Posted : 30/06/2007 2:09 am
(@guest1964)
Posts: 0
 

Nope, no dice. I still get logged out of efiction.

EDIT: I manually typed in user.php?action=logout to see what would happen, and I got this error message:

A fatal MySQL error was encountered.
Query: SELECT stories.*, author.memberName as penname, UNIX_TIMESTAMP(stories.date) as date, UNIX_TIMESTAMP(stories.updated) as updated FROM (smf_members as author, TABLEPREFIXfanfiction_stories as stories) WHERE author.ID_MEMBER = stories.uid AND stories.validated > 0 AND stories.featured = '1'
Error: (1146) Table 'confu3_smf1.TABLEPREFIXfanfiction_stories' doesn't exist

I'm not quite sure how "TABLEPREFIXfanfiction_stories" made its way in there. I do have "fanfiction_stories" in my database, but why is the code forcing to recognize a table prefix?

EDIT: Fixed it... partially. My layout's duplicated itself when I logout, one saying that I've logged out successfully, the other saying I'm 'not authorized to perform that function'.

I'm still unable to log into efiction.


 
Posted : 30/06/2007 2:40 am
(@lyndsie)
Posts: 1263
Member Moderator
 

I am also having this problem.  It's not for my usual site, but for archive.zukoandkatara.com and forums.zukoandkatara.com. (PHP 4.4.7 and MySQL 5.0.27)

If I log in either through the forums or through the archive, I am logged into the forums, as it should be.  I go back to the archive, and I'm not logged in.

I was also unable to log out until I deleted cookies.  I was able to log in and then out of the forums after I deleted cookies.  (But still not able to log in to archive.)


 
Posted : 25/08/2007 3:03 pm
(@calash)
Posts: 180
Estimable Member
 

I have seen bridging issues caused by domain differences.

For example.

www.yoursite.com/smf/ - Logged in fine but your link to eFiction is
yoursite.com/eFiction/  - SMF sees this as a different site and issues a new cookie for you as a guest. 

I use to have similar problems with the vB bridge.  I ended up setting the .htaccess file to rewrite the url so it always has the www.  This solved the issue for me.


The World of Necrotania - Story Writing Community

 
Posted : 25/08/2007 6:34 pm
(@guest2174)
Posts: 0
 

Anyone help with this issue, I'm having it still.  http://www.prideanddreams.com/forum


 
Posted : 23/01/2008 1:01 am
(@guest2174)
Posts: 0
 

Wow, i fixed this by pure chance, anyway if your having this problem all you have to do is go to your admin panel in SMF, go to Server Settings, Feature Configureation and uncheck

Enable local storage of cookies
(SSI won't work well with this on.)

and voila, works!  at least for me.


 
Posted : 23/01/2008 1:23 am
Share: