Home
Login problem - not yet discussed
  Welcome, Guest. Please login or register.
December 01, 2008, 01:44:27 PM
Home New Posts Search Calendar


Login with username, password and session length
Forum  |  MamboHacks.com  |  Mambo-SMF Forum 1.3.0 Support  |  Topic: Login problem - not yet discussed « previous next »
Pages: 1 [2] Go Down Print
Author Topic: Login problem - not yet discussed  (Read 27637 times)
Goody
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 2


View Profile
Re: Login problem - not yet discussed
« Reply #15 on: August 09, 2005, 10:26:24 PM »

Same thing on my site, if I logout from SMF it logs out both from Mambo and SMF no errors.  But I logout from the module I get this:
*******
Notice: Undefined index: Itemid in /home/main/smf/index.php on line 74

Notice: Undefined index: Itemid in /home/main/smf/index.php on line 80
*********

-Goodman-
Logged
johnnydement
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 7


View Profile
Re: Login problem - not yet discussed
« Reply #16 on: August 13, 2005, 07:33:49 PM »

Think the problem I have has not yet discussed, it just happens since the last smf/hack update.

When loging out, I just get logged from mambo, not from forums, and I have to log also from there, this happened me when using old custom login screen, not with official one, but now, Iit happens with both, and I get this error message:

Fatal error: Hacking attempt... in /home/iberianm/public_html/foro/Sources/Errors.php on line 302

anyway, I'm using again your custom login (miself and the people in site loved it Cheesy) and there's no difference with the official one, I noticed this just after reinstalling it, but just cause it's when I started triing things to see if it still missworked for us...
Logged
evcj
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 1


View Profile
Re: Login problem - not yet discussed
« Reply #17 on: August 16, 2005, 11:13:56 PM »

A solution that I have found for users being logged out automatically involves changing the way mambo handles cookies since smf uses the same name as mambo for the session cookie "sessioncookie"

Go to /includes/mambo.php then wherever you find an instance of "sessioncookie" replace it with "msessioncookie"

This will stop smf from overwriting the session cookie that causing mambo to not be able to find your session info in the sessions table of the db among other problems that having the same name for the cookie with the same variables creates.

Since its implementation, there have been zero negative side effects.

[update]
This is for the staying logged into smf and being partially logged out of mambo bug.
« Last Edit: August 16, 2005, 11:23:36 PM by evcj » Logged
Bryan
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 2


View Profile
Re: Login problem - not yet discussed
« Reply #18 on: August 22, 2005, 05:07:39 PM »

Has there been any other resolutions for this problem? The fix Keymaster brings up will work for most but I am behind a corp fire wall and use IP addresses. Still having the same login issues described.

Thankx for the help.
« Last Edit: August 22, 2005, 05:10:29 PM by Bryan » Logged
Pete
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 7


View Profile
Re: Login problem - not yet discussed
« Reply #19 on: August 29, 2005, 02:12:44 AM »

Ok, I know this sounds silly, but...

The problem seems to goes away when you change (in mamboroot/configuration.php):

$mosConfig_live_site = 'http://mysite.com';

to:

$mosConfig_live_site = 'http://www.mysite.com'; (added the 'www.')
My live site is listed as 'http://www.mysite.com' in global config but if I went to 'http://mysite.com'I most often had a pop up box that would read "Please complete the username and password fields" when I went to log in and I usually was not able log in.  My problem was fixed by using a redirect to use www. everytime, see the thread here: http://forum.opensourcematters.org/index.php/topic,1474.msg13133.html#msg13133
Logged
Pages: 1 [2] Go Up Print 
Forum  |  MamboHacks.com  |  Mambo-SMF Forum 1.3.0 Support  |  Topic: Login problem - not yet discussed « 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