Home arrow Forum
Login Module Bug? [Not solved]
  Welcome, Guest. Please login or register.
August 29, 2008, 01:57:17 AM
Home New Posts Search Calendar


Login with username, password and session length
Forum  |  MamboHacks.com  |  Mambo-SMF Forum 1.3.0 Support  |  Topic: Login Module Bug? [Not solved] « previous next »
Pages: [1] 2 Go Down Print
Author Topic: Login Module Bug? [Not solved]  (Read 14329 times)
Tucker
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 10


View Profile
Login Module Bug? [Not solved]
« on: May 03, 2005, 01:28:16 AM »

Hi,

logout is not working for me!

The problem is:

My mambo-installation is not in the root-path (www.xxx.xy/), but in a subfolder. So
the path /index.php?option=logout is not working for me.

It is not a problem for me to correct the code in the module, but is it a misconfiguration of my installation or a bug, cause of the misplaced / in sefRelToAbs("/index.php?option=logout")  ??

Tucker
« Last Edit: May 04, 2005, 11:29:11 AM by Tucker » Logged
cowboy
Administrator
Hero Member
*****

Karma: +30/-0
Offline Offline

Posts: 663



View Profile WWW
Re: Login Module Bug?
« Reply #1 on: May 03, 2005, 10:45:51 AM »

Can you please try editing the mambo-smf login module and replace the logout link with:

$mosConfig_live_site."/index.php?option=logout

let me know if it works.
Logged
Tucker
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 10


View Profile
Re: Login Module Bug?
« Reply #2 on: May 03, 2005, 11:29:12 AM »

Both variants work for me:

1)   sefRelToAbs("index.php?option=logout")

without the leading slash

and yours

2)  $mosConfig_live_site."/index.php?option=logout"

But i dont't know which one to prefer...
Logged
cowboy
Administrator
Hero Member
*****

Karma: +30/-0
Offline Offline

Posts: 663



View Profile WWW
Re: Login Module Bug?
« Reply #3 on: May 03, 2005, 11:40:00 AM »

use the latter
Logged
Tucker
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 10


View Profile
Re: Login Module Bug?
« Reply #4 on: May 03, 2005, 11:50:47 AM »

thanks
Logged
PifGadget
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 20


View Profile
Re: Login Module Bug? [solved]
« Reply #5 on: May 03, 2005, 12:35:57 PM »

It seems that the same problem occurs with the Register and Password Lost link. I'd suggest you test the component and the module on a Mambo installed in a subfolder, it seems a lot of bugs are related to this particular configuration.

Thanks

PifGadget
Logged
Tucker
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 10


View Profile
Re: Login Module Bug? [solved]
« Reply #6 on: May 03, 2005, 01:26:14 PM »

PifGadget, you are right.

So I will have a more closer look for more problems related to my (not that) special configuration.

Thanks, Tucker
Logged
Edward
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 11


View Profile
Re: Login Module Bug?
« Reply #7 on: May 03, 2005, 08:38:01 PM »

Can you please try editing the mambo-smf login module and replace the logout link with:

$mosConfig_live_site."/index.php?option=logout

let me know if it works.

I'm wondering if that might help me also.    The mambo-smf login is working but not too smoothly.  The logout is doing some wierd things too.
Here I describe what is happening:

Logging out on the forums side I get a message,
  An error has occurred!
  Unable to load 'main' template
  MS IE error, Stack overflow at line: 144  - But I'm logged out ok...

Logging in on the Mambo side, I briefly see a login box
on the Forum side (complete with forum header) that has
My name and 60 as the time, but the password box is blank,
and red letters across the top of the box that says,
"An error has occurred"
and I'm shot back to the mambo side, but the login worked.

Logging out on the mambo side. I see the the forum side with an error message:
Logout, "Session verification failed, please try logging out and back in again, then try again.

And then I'm shot back to the mambo side, but the logout took.

- I'm not getting any PHP or java errors, just those created as I described - otherwise the module and forum is working "a-ok" -  I haven't changed any Admin settings regarding login on either side (mambo or SMF) so, if anyone can think of any I could make, please pass them along.

  Great forum, excellent integration!    Thank you!  Ed
Logged
Alex
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 10


View Profile
Re: Login Module Bug? [solved]
« Reply #8 on: May 04, 2005, 02:50:37 AM »

I have exactly the same problem as Edward, in every way.  Just curious Edward, when you go the component configuration screen for Mambo SMF, do you get a bunch of errors on the right side of the screen?
Logged
jose
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 3


View Profile
Re: Login Module Bug? [solved]
« Reply #9 on: May 04, 2005, 06:07:02 AM »

Me too, exactly the same problem like Alex and Edward.
Logged
robbievk
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 32


View Profile
Re: Login Module Bug? [solved]
« Reply #10 on: May 04, 2005, 06:22:17 AM »

guys that's exactly my problem too.. as far as i know there's no solution yet, the admin is working on it as far as i know... we'll just have to wait  Sad
Logged
Edward
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 11


View Profile
Re: Login Module Bug? [solved]
« Reply #11 on: May 04, 2005, 08:15:48 AM »

Alex,
  Thank you for asking, "No" errors on the right hand side of the screen, but some pretty cool update feeds and announcements from Mambohacks (which I appreciate greately) - if you don't see those, perhaps the links back to Mambohacks aren't proper.

   I'd like to toss in again here that I sure would like to "stay on the side" I'm loggin onto without the brief hop in and out of the other.   So, if possible when I'm "not" logged in and enter the forum I would like to see a login (of course) but once I log-in there, I'd like to stay there.. Right now it bounces me back to the Mambo side.
   When I'm on the Mambo side and logout I'd just like to logout, not briefly visit the SMF side (where I'm seeing a verification message now).

    All of this, and a bucket of chicken would be nice....  (chuckle)
Logged
Tucker
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 10


View Profile
Re: Login Module Bug? [Not solved]
« Reply #12 on: May 04, 2005, 11:27:23 AM »

Ok, I edited again the subject of this thread to "Not Solved".
Of course this one bug is fixed, but the "weird" other things not. not for me, too.

But i spended some time with the code (@admin: linebreaks in functions.smf.php Huh?) and think it is fixable. Have to leave now for one or two beer.  Cheesy

Good luck, admin
Logged
Alex
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 10


View Profile
Re: Login Module Bug? [Not solved]
« Reply #13 on: May 04, 2005, 12:35:57 PM »

To any of you guys above you said you have the same problem: do you also have this problem (from my other thread):

When you login on the Mambo side, it sometimes (not always) prompts you to please enter the username and password fields (which you already have done), then when you click OK, it logs you into Mambo but not SMF?  This is where all the trouble that the other people were describing happens for me (with the redirection weirdness and stuff).
Logged
robbievk
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 32


View Profile
Re: Login Module Bug? [Not solved]
« Reply #14 on: May 04, 2005, 04:28:29 PM »

To any of you guys above you said you have the same problem: do you also have this problem (from my other thread):

When you login on the Mambo side, it sometimes (not always) prompts you to please enter the username and password fields (which you already have done), then when you click OK, it logs you into Mambo but not SMF?  This is where all the trouble that the other people were describing happens for me (with the redirection weirdness and stuff).

well at times i am logged in on mambo but not on SMF... if that's what you mean...
Logged
Pages: [1] 2 Go Up Print 
Forum  |  MamboHacks.com  |  Mambo-SMF Forum 1.3.0 Support  |  Topic: Login Module Bug? [Not solved] « previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Forum | Powered by SMF 1.0.5 & Mambo-SMF.
© 2001-2005, Lewis Media. All Rights Reserved.
Valid XHTML 1.0! Valid CSS!
None of the text or images in this public website may be copied without the expressed written consent of the authors.
Copyright 2005 by MamboHacks.com. Powered by Mambo. All rights reserved.
TERMS OF USE