Home arrow Forum Login problem after update
  Welcome, Guest. Please login or register.
Did you miss your activation email?
December 02, 2008, 03:50:58 AM
Home New Posts Search Calendar


Login with username, password and session length
+  Joomla Forum
|-+  Joomla Addon Discussion
| |-+  Joomla Modules
| | |-+  Login problem after update
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: 1 2 [3] Go Down Print
Author Topic: Login problem after update  (Read 11326 times)
Kawika Ohumukini
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 5


View Profile
Re: Login problem after update
« Reply #30 on: November 30, 2005, 09:21:42 PM »

Okay, I see what's happening. I just don't know why it's happening.

When installing SMF the install.php script ALTERS my joomla database to use the latin1_swedish_ci character set.

I built the database on a different character set.

So my jos_ tables are one character set and the smf_ tables are another character set.

What happens is the queries in isMamboSMFUserSync() fail because of mismatched collation.

This would seem to be an issue with SMF, not the bridge.

I'm off to SMF to figure this out.
Logged
Kawika Ohumukini
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 5


View Profile
Re: Login problem after update (solved)
« Reply #31 on: November 30, 2005, 10:38:05 PM »

I figured out why it was doing this on my servers. I built the joomla database on utf8 character set but my database server was using the default latin1.

In the SMF install.php it calls "CREATE DATABASE IF NOT EXISTS" which resets the database to the server default (i.e. latin1_swedish_ci). The SMF tables were INSERTed as latin1 character set.

In the SMF bridge functions.php file when isMamboSMFUserSync() is called, the query would fail with a collation error on the username.

Make sure your jos_users and smf_members tables use the same character set.
Logged
-Wolverine
Developer
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: Login problem after update
« Reply #32 on: December 01, 2005, 02:52:15 PM »

Ok, I think I found it.  After adding some debugging messages I was able to capture this error message:

Syncing username test2 Failed! WARNING: mosuser does not support checkin.

mosuser->checkin is the last task performed in insertToMambo2.  This has been apparently failing yet it was not being checked for error messages.  Question is, why does mosuser->checkin not work on Joomla and is it supposed to?  Off to find out why.


In the meantime, just to make sure, how bout uploading this new functions.smf.php to administrator/components/com_smf/.  Unzip it first of course.
« Last Edit: December 01, 2005, 03:01:50 PM by -Wolverine » Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
-Wolverine
Developer
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: Login problem after update
« Reply #33 on: December 01, 2005, 03:16:13 PM »

BAH!  Checking com_registration they use checkin without checking errors so I assume that is normal.   Angry  Wild goose chase.
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
ddonzal
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 44


View Profile WWW
Re: Login problem after update
« Reply #34 on: December 01, 2005, 03:35:45 PM »

Just for kicks, I uninstalled and reinstalled. Don't know what the difference was between what I did before and what I did now, but it works. It fixed one problem but not another. I am now able to login using both SMF and the JoomlaSMF Login Mod. But when I look at the users in Joomla, I don't see the most recent members. I verified and synched again and no change. Still missing the most recent members.

Try logging on yourself to my site using the mod to make sure it works OK now.

What does BAH! mean? Should I upload the new functions.smf.php or wait?
Logged

Certified Security Pro Online Magazine
http://www.certifiedsecuritypro.com
The Ethical Hacker Network
http://www.ethicalhacker.net
-Wolverine
Developer
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: Login problem after update
« Reply #35 on: December 01, 2005, 04:47:51 PM »

BAH means I'm dumb and just plain frustrated.   Wink  Lemme go check to see if I can login.
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
-Wolverine
Developer
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: Login problem after update
« Reply #36 on: December 01, 2005, 04:52:10 PM »

I was able to login using both the login module and directly in the forums.  Good deal.  Hey, all is not lost, I know much more about this component than I did, which is never a bad thing.   Grin  Glad your site is working.
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
-Wolverine
Developer
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: Login problem after update
« Reply #37 on: December 01, 2005, 04:53:30 PM »

oh, and btw, I don't think it sync's a user until they have logged in once.  So until I had logged in you should have seen me in only the smf table and not joomla. 
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
ddonzal
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 44


View Profile WWW
Re: Login problem after update
« Reply #38 on: December 01, 2005, 06:38:09 PM »

I do see you now in Joomla Member List under your real name not -Wolverine. Is that what you used? In the past, it did enter users that had not visited the site at least once. There was a red 'X' by those who had not activated the account. Is this a change in the new version of the bridge?

Apparently since you were able to login, you successfully went through the entire reg process, got the email, and activated your account, right? Any problems in that process at all?

Don
Logged

Certified Security Pro Online Magazine
http://www.certifiedsecuritypro.com
The Ethical Hacker Network
http://www.ethicalhacker.net
-Wolverine
Developer
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: Login problem after update
« Reply #39 on: December 02, 2005, 10:32:18 AM »

Well, I always, and I mean always, forget that -Wolverine is an invalid Joomla username(can't have dashes).  And when I regged via SMF I used -Wolverine which will never work in Joomla but SMF is happy go lucky with it.  So delete that account b/c it was never going to work.  That is why I used joshualross instead. 

I am not sure if that has changed... believe it or not I am somewhat new to JoomlaSMF bridge.  I love to hack at things and used to do tech support so I try to help others when/where I can.  So if it has changed then I am unaware of it. 

Let me verify that the sync from SMF to Mambo occurs after the first login before we investigate any further.  Or if Cowboy is around and wants to set me straight that's fine too!   Grin
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
Pages: 1 2 [3] Go Up Print 
« previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved.
Terms of Use
Joomla Hacks



Joomla Hacks
German Lang French Lang Italian Lang Spanish Lang Japanese Lang Chinese Lang
Search Contact About Advertise Blogs Topsites Submit News Register Login