Problems logging in

Started by Willebil, May 13, 2005, 01:04:32 AM

Previous topic - Next topic

Willebil

I have installed the smf forum following the step by step installation. When i login i get redirected to the forum page (main page of my site), without any notice, and not logged in. When i directly login (using smf login option), and return to the forum using the mambo menu link, i can then have normal access to the forum, and yes, the logout button in the module works fine.

I have read several posts that descibe similar problems, and most of them also with solutions in it. I have tried these suggestions, none of them seem to work.

Is someone able pointing me into the right direction, or better, able of solving my problem?

P.S. I am using mambo 4.5.2.1 and MOS_SMF_BRIDGEv3.15stable installed, running on Linux, Apache and Mysql.

Orstio

Do you have a URL?  You can PM it if you want to keep it private.

Willebil

I have fixed the problem by hacking the index.php that is in the root of smf. On line 184 i added the "mambo_login" event, check the code below, and then it worked.

elseif (empty($modSettings['allow_guestAccess']) && $user_info['is_guest'] && (!isset($_REQUEST['action']) || !in_array($_REQUEST['action'], array('mambo_login', 'login', 'login2', 'register', 'register2', 'reminder', 'activate', 'help', '.xml'))))

I don't know if this is ok (i chiver when i need to alter core code), but it works perfectly....

chadness

Did you not have guest access turned on?  That can definitely cause a problem.  You might run in to other problems as well.

Advertisement: