Home arrow Forum Login problem after update
  Welcome, Guest. Please login or register.
Did you miss your activation email?
December 02, 2008, 04:07:51 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 11328 times)
ddonzal
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 44


View Profile WWW
Re: Login problem after update
« Reply #15 on: November 29, 2005, 02:29:52 AM »

I'm having the same problem since an upgrade from Mambo to Joomla 1.0.4 on www.certifiedsecuritypro.com. Unpatching and repatching both Joomla/Mambo index and SMF index didn't help. I can login fine directly on the forum page but can't login using smf-login 1.3. I tried going back to 1.2 and upping to 1.3.1 - same result. I can logout using both.

Any thoughts?

Thanks in advance.
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 #16 on: November 29, 2005, 10:58:58 AM »

hmmmm, I tried and tried and couldn't even get logged in with a new account.  I tried two separate accounts, both times after clicking register, entering my data, and then clicking OK I was presented with the error message:

 You were unable to login. Please check your cookie settings.

I tried to login from this point in both the Joomla-SMF module and SMF and was unable to.  I was receiving Incorrect User/Pass popup error messages.  If I delete the cookies from your site I receive a different message, no popup, just that my password is incorrect.  I attempted to reset my password but the problem continues. 

Have you patched the Joomla index and SMF index in the JoomlaSMF Component Configuration?
Have you sync'd the Joomla and SMF users in the JoomlaSMF Component Configuration?
What is the cookie prefix you setup for the SMF forums?
Do you have subdomain independent cookie turned on or off?

Let's see if we can't identify what is going on here.
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 #17 on: November 29, 2005, 01:35:02 PM »

I am able to login using the SMF login, but not the module. If you are experiencing problems with both, this is new to me.

To answer your questions:

I patched both.
I did not sync after the upgrade. It was working before the upgrade, so I figured it wasn't needed. If I sync again now, will this duplicate members?
Where do I find the setting for cookie prefix?
Subdomain ind cookies is not checked.

FYI - Enable local storage of cookies is not checked. Should this be checked?

Thanks for your help,
Don

PS - PM me if you feel we need to do this on the phone.
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 #18 on: November 29, 2005, 01:50:02 PM »

The sync shouldn't ever duplicate members.  It first checks if there is a member in one table and not the other, and then only syncs that user.  So if you sync now you should only see new users.  However, I don't think that is what is causing this. 

The cookie prefix is under Server Settings in the SMF administration.  Let me know what it is and I can attempt to sign on again to see if the cookie is being created. 

As far as local cookie storage, I don't have mine on because I am using subdomain independent cookies... I have dev.mysite.com for a place to play. 

Just out of curiousity, do you have compress output enabled in SMF or Joomla?

Also, are there any messages in the SMF Error Log?
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 #19 on: November 29, 2005, 04:13:18 PM »

I had a huge response and typed out and JoomlaHacks forum went down for a few minutes. Here we go again...

Cookie prefix: SMFCookie10
Cookie name: user@www.certifiedsecuritypro.txt
Compression is enabled for both.

Errors from your IP:

This one I get for about 95% of all error messages. Probably because it is an old module, but I like it.

8: Undefined variable: _ns_str
File: /homepages/1/d109832938/htdocs/cspmag/modules/mod_newsflashscroller_pro.php
Line: 313
?option=com_smf&Itemid=190&action=login2

This one deals specifically with cookies:

8: Undefined index: cookielength
File: /homepages/1/d109832938/htdocs/cspmag/administrator/components/com_smf/functions.smf.php
Line: 1008
?option=com_smf&Itemid=190&action=login2

And here is our password error:

Password incorrect - <span class="remove">-Wolverine</span>
?option=com_smf&Itemid=190&action=login2

Hope this helps,
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 #20 on: November 29, 2005, 07:47:07 PM »

I hate posting twice... I usually type responses in an editor first b/c I have lost my posts too many times.  Ok, first thing I would tell you to try is to disable compression for both.  Chances are apache is compressing the output anyways so double compressing it won't give you much... or at least this is how it was explained to me once upon a time.  But just for giggles, disable both and try it again. 
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 #21 on: November 29, 2005, 11:00:36 PM »

Same results. I will keep compression off for both in case you want to try. Compression was used for both before the upgrades and all was fine, but I was willing to give it a shot.

Any other thoughts?

BTW - Thanks for your attention on this matter.
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 #22 on: November 30, 2005, 12:18:55 AM »

And you are on 1.0.2a of the bridge?  The main diff between your site and mine is that I use Joomla Registration.  I'm still searching though...
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 #23 on: November 30, 2005, 12:28:30 AM »

Yes. I am using 1.0.2a. I actually use the same exact versions of everything on http://www.ethicalhacker.net (EH-Net) and all works fine. The only difference is that EH-Net was a clean install. CSP Mag still has db tables with the mos_ prefix. Can this cause a problem, since the tables don't start with jos_?

Thanks.
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 #24 on: November 30, 2005, 08:40:27 AM »

I wouldn't think so, but at this point it seems possible.  When I upgraded I did a migration from mydbname_mambo to mydbname_joomla.  I was able to install a clean db without changing a thing of the old, just in case I needed to quickly move back to it(my quick and easy backup plan!).  I exported everything a few tables at a time and performed find and replace all's to change mos_ to jos_ on the inserts.  I'd be happy to share any info with you.  I can't imagine that is the problem, but I just can't explain what you are seeing. 
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 #25 on: November 30, 2005, 03:19:17 PM »

If you look at members list in SMF, and manually compare them to the Joomla members, they do not match. The last member to join SMF that is also in Joomla is Brian Haddock. You are not listed in Joomla. I clicked verify in the synch option in the Component and it changed nothing.

Does this give you a good lead?

Thanks.
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 #26 on: November 30, 2005, 04:28:48 PM »

do you have direct access to the database via php myadmin or something?  Check if there is a jos_users table hanging around... maybe it is syncing to the wrong table?  Also, try this SQL and see what it returns:

Code:
SELECT memberName, realName, passwd, emailAddress, dateRegistered, is_activated, validation_code
FROM smf_members 
LEFT JOIN mos_users
ON mos_users.username=smf_members.memberName 
WHERE mos_users.username IS NULL



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 #27 on: November 30, 2005, 06:38:18 PM »

No table names jos_ anything. Ran the query, and I get the same 4 members that joined SMF directly but that don't show up in the Joomla Member listing.
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 #28 on: November 30, 2005, 07:27:46 PM »

I'll start diggin some more.  I'd really like to know why you aren't seeing any error when syncing.  Maybe check the apache error log?  It really seems like it is related to mos_ vs jos_.  I'll keep searching...
Logged

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

Karma: +0/-0
Offline Offline

Posts: 5


View Profile
Re: Login problem after update
« Reply #29 on: November 30, 2005, 08:06:45 PM »

I'm seeing the same problem. Joomla 1.0.4, SMF 1.1 RC1, and SMF Component 1.0.2a.

Using the Joomla registration method:
The user is created in jos_users table but is not created in smf_members table.

Using the SMF registration method:
The user is created in smf_members table but not jos_users.

Syncing in either case does not sync the db tables.

If you have any breakthroughs please post them here.
Logged
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
i-Vibe.com
Search Contact About Advertise Blogs Topsites Submit News Register Login