News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Password Log-In Error

Started by Marmot, November 15, 2007, 01:41:39 PM

Previous topic - Next topic

Marmot

*I have searched the forums for a solution to this problem bu there doesn't seem to be a resolution... Is there something I'm doing wrong?*

I run a forum with around 200+ members & recently (around the time I upgrade to 1.1.4) most of them began receiving an "incorrect password" error message at log-in regardless of OS or browser (Firefox/IE Vista/XP/2000/Ubuntu/etc...)

Log-in works after a second attempt but I as the Admin I am left with 20-30 pages of error logs per day!!! Some users give up or keep requesting their password over and over.

I have attempted all the general forum maintenance: But it's not working.


  • Optimize all tables to improve performance.
  • Find and repair any errors.
  • Recount all forum totals and statistics.
  • Empty out unimportant logs.

I don't want to switch forum software but this is pretty big issue/bug.

H

SMF Version?

Theme?

Mods installed?

Link to site?
-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

Marmot

Sorry about that. Below is my info. Any help would be greatly appreciated.

SMF Version?
1.1.4

Theme?
dilbermc

Mods installed?
RSS Feed Icon     1.1
SMF 1.1.1 Update Package    1.1.1
SMF 1.1.2 Update Package    1.1.2
Admin Notepad    1.0
SMF 1.0.11 / 1.1.3 Update    1.1
Enhanced Calendar    1.1
Ad Managment    2.3
SMF 1.0.12 / 1.1.4 / 2.0 b1.1 Update    1.0
SMF Shoutbox

Link to site?
hxxp:www.orusports.com/talk [nonactive]


Pyro_2004

hxxp:prettycreations.com [nonactive]hxxp:prettycreations.com [nonactive]

hxxp:kissesforkatelyn.org [nonactive]hxxp:kissesforkatelyn.org [nonactive]

Marmot

#4
.htaccess did not seem to help solve any of my problems. Users (including myself) are still having to sign in twice (it gives a "incorrect password" error but when the same password is enter again it works) & I am still getting page after page of these errors...


  • .../default/Who.template.php (eval?)
  • .../default/Admin.template.php (eval?)
  • Password incorrect - 'username'

Could this possibly be a cookie issue? In server settings my cookie setting is blank.

JimM

Yep, that could do it.  Set a cookie name and see what happens.  SMFCookie11 is the standard default but any name you want should work.
Jim "JimM" Moore
Former Support Specialist

greyknight17

Give it a cookie name as mentioned earlier and then logout. You might want to clear your temp files also and then try logging in.

Kimmie

#7
I too am having issues with password errors at login and it taking 2 tries before they can log in. It seems to only be affecting a small number of members.

Anyways...here is an example of the error:




Edit.. I am also noticing this error. Does this have anything to do with it?

8: Undefined index: fixed_width
File: /home/patriotg/public_html/Themes/default/Login.template.php (main_below sub template - eval?)
Line: 375

greyknight17

Go to Admin->Server Settings->Feature Configuration and see if you have the following options set:

Enable local storage of cookies -> Unchecked
Use subdomain independent cookies -> Checked
Use database driven sessions -> Checked

For that error, did you install or change anything recently before you saw the error? Attach that file here.

Kimmie

My server settings are like you posted them. As for installing anything or changing anything.... I uninstalled all the mods I had, then I installed TP, then reinstalled the mods , then I installed the Blue Ace Theme. After installing each mod I checked the forum log and no errors were present. The login error (screenshot) seems to only appear with 2 or 3 of the members (I have 30 members total).

The login errors and the login.template.php errors didnt happen until I installed TP  and the theme. I had those same mods on before and never got any errors. However, I installed TP and the theme pretty much within about 15 minutes of each other so I am not sure if this is a TP issue, a theme issue, or a mod not being compatible with the theme/TP issue..lol

greyknight17

You can try removing the theme first and use the default theme to see if you still get the errors. If not, remove TP also since those are the last two you installed before you noticed the error.

Attach your /Themes/default/Login.template.php file here. We'll see if you can find out why you are having that error.

Kimmie

#11
File attached... this one is the current one with me still having TP/Theme/Mods installed.

I also just noticed hat the "amadeus" name I showed above, I am talking to him via the shoutbox but he is not appearing as being loged into the forum.


EDIT: I also just noticed hat the "amadeus" name I showed above, I am talking to him via the shoutbox but he is not appearing as being loged into the forum. The forum booted him back to the login screen even with him telling it to keep him logged in "forever". Could this be a cookie issue?

greyknight17

Did you see if this happens in the default theme? Reset everyone to use the default theme for now and have the user try logging in again.

Clear your error log...

Go into phpMyAdmin and click on your database. Then click on the SQL tab and copy paste the following code and run it:

INSERT INTO smf_settings VALUES ('disableTemplateEval', 1);

Use the forum and ask the user to try logging in after you clear the error log. Give us the new errors. When you're done and get the new error, run this query:

DELETE FROM smf_settings WHERE variable = 'disableTemplateEval';

Kimmie

ok well I didnt catch him in time to have him test it. I will have to wait until he comes back on the site later tonight so I can have him test it.  :-\

As soon as he comes on I will do the above and post back here.  :) (sorry for the delay)

Kimmie

#14
sorry for doubleposting...

he came back on, I changed to the defaut theme and made him log out/in.. no errors and it didnt make him log in twice.

Theme issue?

EDIT.. do I still need to do the above steps?

Edit#2 - Just had someone else come on the site.. while it was in the default theme and they didnt show as being logged in. No errors in the log as of yet.

Edit #3 - ok I changed back to the blueace theme and made him log out/in.. and no errors and it didnt make him log in twice..lol. Those errors are trying to make a fool of me..lol.

Could this be a board cookie issue?

Not sure if that means it fixed itself or what... I will keep you updated as to what happens.  :)

greyknight17

There may be times when the following settings may be better than the one I posted earlier:

Enable local storage of cookies -> Checked
Use subdomain independent cookies -> Unchecked
Use database driven sessions -> Checked

Give that a try...basically trial and error ;)

Kimmie

#16
ok I will try the settings you just mentioned and I will post the results the next time these particular members log in :)


UPDATE: I figured out what it was. These members use Opera as their browser. As soon as I had them try IE it didnt happen.  8)

Fiery

I see Kimmie was able to solve this.

Marmot, did any of the suggestions work for you?

Advertisement: