|
Title: Login Module Bug? [Not solved] Post by: Tucker 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 Title: Re: Login Module Bug? Post by: cowboy 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. Title: Re: Login Module Bug? Post by: Tucker 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... Title: Re: Login Module Bug? Post by: cowboy on May 03, 2005, 11:40:00 AM use the latter
Title: Re: Login Module Bug? Post by: Tucker on May 03, 2005, 11:50:47 AM thanks
Title: Re: Login Module Bug? [solved] Post by: PifGadget 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 Title: Re: Login Module Bug? [solved] Post by: Tucker 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 Title: Re: Login Module Bug? Post by: Edward on May 03, 2005, 08:38:01 PM Quote from: admin 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. 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 Title: Re: Login Module Bug? [solved] Post by: Alex 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?
Title: Re: Login Module Bug? [solved] Post by: jose on May 04, 2005, 06:07:02 AM Me too, exactly the same problem like Alex and Edward.
Title: Re: Login Module Bug? [solved] Post by: robbievk 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 :(
Title: Re: Login Module Bug? [solved] Post by: Edward 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) Title: Re: Login Module Bug? [Not solved] Post by: Tucker 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 ????) and think it is fixable. Have to leave now for one or two beer. :D Good luck, admin Title: Re: Login Module Bug? [Not solved] Post by: Alex 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). Title: Re: Login Module Bug? [Not solved] Post by: robbievk on May 04, 2005, 04:28:29 PM Quote from: Alex 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). well at times i am logged in on mambo but not on SMF... if that's what you mean... Title: Re: Login Module Bug? [Not solved] Post by: Edward on May 04, 2005, 08:55:43 PM oooooh!.. So close, but still no banana...
I just installed the 1.3.1 files, first without the SMF login, then with... The results (ouch!). First of all, it looked good, went in well and I can see there's been improvement in the logging in. I am staying in the side (mambo/vb) that I do the login on (this is good), even though I make a brief visit to the SMF side (complete with an error I will describe below) before shooting back to the Mambo side.. This is "without" the SMF login module.... Logging off on the Forum side still gives me a "unable to load the 'main' template", and "stack overflow at line:144" errors, but I am logged off, and thats a good thing. (oh, after clicking the Ok on the MS error) Logging on the Forum side did NOT log me on the Mambo side however... (boo!) - Installed the SMF login 1.3.1 Fairly nearly the same events as described above, with the addition of when I log in on the forum side, there is a "logout" box on the Mambo side, but I'm really not logged in properly (ie.. no admin menu items, edit features on frontpage etc.. ) - If I click the logout on the Mambo side, I'm shot to the SMF side and there's a box saying, "Verification error, try again.. etc.. , that sort of thing" But I AM logged out of both sides and do return to the Mambo side.. Logging in on the Mambo side with or without the SMF login module gives me a brief visit to the SMF side with an error in red, that an error has occured (I see a box with my name, but no password, and a 60) - then I shoot back to the Mambo side.. Logged in on both sides as I should be. Logging out on the Mambo side gives the "unable to.... Stack overflow, error I described before" Installing, I still had to manually edit the config file to get the install to finish (had to manually enter the absolute address thing) - I noticed that the Mambo prefix (that used to be grey) is gone.. thats a good thing I suppose, and it shows work has been done.. In short though, "close" but not quite smooth.... I do now stay in the side I logged in on... and thats a good thing... But I sure don't want users to see errors... arrrrgh! Title: Re: Login Module Bug? [Not solved] Post by: cowboy on May 04, 2005, 09:14:09 PM Edward,
This issue is on the "KNOWN ISSUE" and is not fixed in 1.3.1. Like I said, I have no way to fix this right now since I cannot reproduce this error on my linux demo site and my winxp dev site. I can focus on this maybe this weekend but I need a very nice guy to lend me his problematic server so I can start looking why. Please next time try to read first what's on the sticky. And if you're gonna post another bug report, please provide your php_info, your mambo version, smf version... etc. Just think, how can fix this if doesn't even happen in this website, my demo site, my dev site. So if you will just provide those things, at least I can find a pattern. Regards. admin Title: Re: Login Module Bug? [Not solved] Post by: Tucker on May 04, 2005, 11:06:46 PM hi, admin.
giving you access to one of my servers is no prob. but they do not (re)produce every prob mentioned here. i took a look in your code, but didn't get the prob: switching from login2 to login. but if you need access, just ask! tucker Title: Re: Login Module Bug? [Not solved] Post by: Edward on May 05, 2005, 02:20:58 PM Quote from: admin on May 04, 2005, 09:14:09 PM Edward, This issue is on the "KNOWN ISSUE" and is not fixed in 1.3.1. Like I said, I have no way to fix this right now since I cannot reproduce this error on my linux demo site and my winxp dev site. I can focus on this maybe this weekend but I need a very nice guy to lend me his problematic server so I can start looking why. Please next time try to read first what's on the sticky. And if you're gonna post another bug report, please provide your php_info, your mambo version, smf version... etc. Just think, how can fix this if doesn't even happen in this website, my demo site, my dev site. So if you will just provide those things, at least I can find a pattern. Regards. admin Sure, I'm a team player.... I was merely posting in a forum I had already posted remarks in and hoping to provide input as to the progress of the work done on 1.3.1 - I'll be more careful in the future, honest!
Forum | Powered by SMF 1.0.5 & Mambo-SMF.
© 2001-2005, Lewis Media. All Rights Reserved. |