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.
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.
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.
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?
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.
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.
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_?
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.
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.
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
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.
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...
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