Advertisement:

Author Topic: Cannot login to my forum  (Read 896 times)

Offline carbar57

  • Semi-Newbie
  • *
  • Posts: 25
Cannot login to my forum
« on: December 20, 2017, 08:37:37 PM »
I keep getting this error



Can't login as admin or as dummy member

So what can I do ?

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,243
Re: Cannot login to my forum
« Reply #1 on: December 20, 2017, 08:41:26 PM »
Which SMF version are you running?  Which theme?  Is that happening in the header login?  Have you tried the 'Login' menu option?  Can you login in Curve?

Offline carbar57

  • Semi-Newbie
  • *
  • Posts: 25
Re: Cannot login to my forum
« Reply #2 on: December 20, 2017, 09:16:26 PM »
Version 2.013
Theme: Alpha Centure then switch back to default theme (might be curved), temporarily.
Tried all login fields. Same error again

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,243
Re: Cannot login to my forum
« Reply #3 on: December 20, 2017, 09:57:06 PM »
Link to your forum?  Can you pm test member login info?

Offline carbar57

  • Semi-Newbie
  • *
  • Posts: 25
Re: Cannot login to my forum
« Reply #4 on: December 20, 2017, 11:24:16 PM »
Sent PM

Offline Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Lead Support Specialist
  • SMF Super Hero
  • *
  • Posts: 18,542
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • LexArma on GitHub
    • aleksi-kilpinen on LinkedIn
    • There's No Place Like 127.0.0.1
Re: Cannot login to my forum
« Reply #5 on: December 21, 2017, 01:04:49 AM »
Try to login through

http://yourdomain/index.php?theme=1

OR through an error message, like try to view a member only area or a user profile as a guest, and use the login link in the error message.

A Finnish Support Specialist
 Happily running multiple SMF 2.0 installations.
  Fooling around with an i7 990X @ 3,47Ghz / 12Gb / Win 10 x64 / 3840x2160


How you can help SMF

"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum.
 Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Offline carbar57

  • Semi-Newbie
  • *
  • Posts: 25
Re: Cannot login to my forum
« Reply #6 on: December 21, 2017, 03:05:29 AM »
Try to login through

http://yourdomain/index.php?theme=1

OR through an error message, like try to view a member only area or a user profile as a guest, and use the login link in the error message.
Tried that. Didn't work.
And there is no login link in the error message.

Offline Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Lead Support Specialist
  • SMF Super Hero
  • *
  • Posts: 18,542
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • LexArma on GitHub
    • aleksi-kilpinen on LinkedIn
    • There's No Place Like 127.0.0.1
Re: Cannot login to my forum
« Reply #7 on: December 21, 2017, 04:44:04 AM »
When did this start, did you do something like install an update or a mod?
A Finnish Support Specialist
 Happily running multiple SMF 2.0 installations.
  Fooling around with an i7 990X @ 3,47Ghz / 12Gb / Win 10 x64 / 3840x2160


How you can help SMF

"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum.
 Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Offline carbar57

  • Semi-Newbie
  • *
  • Posts: 25
Re: Cannot login to my forum
« Reply #8 on: December 21, 2017, 06:20:50 AM »
No ... Only changed themes then logged out.

Offline Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Lead Support Specialist
  • SMF Super Hero
  • *
  • Posts: 18,542
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • LexArma on GitHub
    • aleksi-kilpinen on LinkedIn
    • There's No Place Like 127.0.0.1
Re: Cannot login to my forum
« Reply #9 on: December 21, 2017, 06:24:19 AM »
Could you give me a link to see?
Perhaps PM me a test login?
A Finnish Support Specialist
 Happily running multiple SMF 2.0 installations.
  Fooling around with an i7 990X @ 3,47Ghz / 12Gb / Win 10 x64 / 3840x2160


How you can help SMF

"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum.
 Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Offline Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Lead Support Specialist
  • SMF Super Hero
  • *
  • Posts: 18,542
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • LexArma on GitHub
    • aleksi-kilpinen on LinkedIn
    • There's No Place Like 127.0.0.1
Re: Cannot login to my forum
« Reply #10 on: December 21, 2017, 06:43:29 AM »
Something is off there, and not just logins, have you installed any mods to the forum?

You could try running repair_settings.php to begin with, and check that everything is correct there.
https://download.simplemachines.org/index.php?tools

With your current forum state, I would perhaps also instruct you to try do a large upgrade (rewriting all files) or a complete reinstall to see if that fixes things.
A Finnish Support Specialist
 Happily running multiple SMF 2.0 installations.
  Fooling around with an i7 990X @ 3,47Ghz / 12Gb / Win 10 x64 / 3840x2160


How you can help SMF

"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum.
 Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,243
Re: Cannot login to my forum
« Reply #11 on: December 21, 2017, 03:58:55 PM »
Running Curve, everything else is working, registration disabled.  Any mods?  How did you get to 2.0.15?

Offline Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Lead Support Specialist
  • SMF Super Hero
  • *
  • Posts: 18,542
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • LexArma on GitHub
    • aleksi-kilpinen on LinkedIn
    • There's No Place Like 127.0.0.1
Re: Cannot login to my forum
« Reply #12 on: December 21, 2017, 04:11:02 PM »
The theme at least is mangled, I really suggest you do a large upgrade - overwrite all files. If this does not fix it, then at least we know the error is not in botched code. The forum seems to be missing some actions that are built in every SMF, so the code is not really "clean"...
A Finnish Support Specialist
 Happily running multiple SMF 2.0 installations.
  Fooling around with an i7 990X @ 3,47Ghz / 12Gb / Win 10 x64 / 3840x2160


How you can help SMF

"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum.
 Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Offline carbar57

  • Semi-Newbie
  • *
  • Posts: 25
Re: Cannot login to my forum
« Reply #13 on: December 21, 2017, 07:50:31 PM »
Running Curve, everything else is working, registration disabled.  Any mods?  How did you get to 2.0.15?
Well not everything is working ...  I still cant login. I still have 2.0.13.   
I can't say what mods I have, because I need to login to see them.
Registration was turned due to bots and spammers trying to join.

Were you able to login with the details I sent in the PM ?

Offline carbar57

  • Semi-Newbie
  • *
  • Posts: 25
Re: Cannot login to my forum
« Reply #14 on: December 21, 2017, 07:52:07 PM »
Could you give me a link to see?
Perhaps PM me a test login?

Sent PM

Offline carbar57

  • Semi-Newbie
  • *
  • Posts: 25
Re: Cannot login to my forum
« Reply #15 on: December 21, 2017, 08:13:52 PM »
The theme at least is mangled, I really suggest you do a large upgrade - overwrite all files. If this does not fix it, then at least we know the error is not in botched code. The forum seems to be missing some actions that are built in every SMF, so the code is not really "clean"...
I don't know how to do anything you suggested and it seems to me, I have to be able
to login to do what your suggesting.

The only way is through my CPanel but what file am I looking for and what needs to be edited.

This is what I think. The error code is showing probably because a value has changed somewhere.
Possibly it may be that simple, but it may be much more than that.

What do you think ?

I really don't want to overwrite all files because then I may lose 5 years of added posts.

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,243
Re: Cannot login to my forum
« Reply #16 on: December 21, 2017, 10:43:26 PM »
Posts are in your database, uploading clean files doesn't touch content.  Not on my computer so can't post the link, but look in wiki for 'upload clean set of files'.  Short explanation - download large upgrade package, unzip, upload to forum root.  Delete all upgrade files (no need to run it).

Offline Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Lead Support Specialist
  • SMF Super Hero
  • *
  • Posts: 18,542
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • LexArma on GitHub
    • aleksi-kilpinen on LinkedIn
    • There's No Place Like 127.0.0.1
Re: Cannot login to my forum
« Reply #17 on: December 21, 2017, 11:52:47 PM »
A Finnish Support Specialist
 Happily running multiple SMF 2.0 installations.
  Fooling around with an i7 990X @ 3,47Ghz / 12Gb / Win 10 x64 / 3840x2160


How you can help SMF

"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum.
 Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Offline carbar57

  • Semi-Newbie
  • *
  • Posts: 25
Re: Cannot login to my forum
« Reply #18 on: December 22, 2017, 12:31:53 AM »
Apparently I have 2.0.1.5 ... Got my son to look at it, even he's not familiar with SMF.

Somehow he's almost fixed it. Can login through theme, but then displays
alphacentauri203 theme but when I log out, it reverts to curve theme.(default)

He doesn't know how to fix that. Of course I want my visitors and members
to see the alphacentauri203 theme. It works better on mobiles.

To see what I mean ... Try the details I sent you in the PM

Any ideas how I can fix that.

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,243
Re: Cannot login to my forum
« Reply #19 on: December 22, 2017, 12:36:35 AM »
You have to reset the theme for all users in Admin -> Themes and Layout.

Offline carbar57

  • Semi-Newbie
  • *
  • Posts: 25
Re: Cannot login to my forum
« Reply #20 on: December 22, 2017, 12:54:39 AM »
Apparently I have 2.0.1.5 ... Got my son to look at it, even he's not familiar with SMF.

Somehow he's almost fixed it. Can login through theme, but then displays
alphacentauri203 theme but when I log out, it reverts to curve theme.(default)

He doesn't know how to fix that. Of course I want my visitors and members
to see the alphacentauri203 theme. It works better on mobiles.

To see what I mean ... Try the details I sent you in the PM

Any ideas how I can fix that.

Update: Found how to fix the theme problem. Problem solved.
I only need to change a few images in alphacentauri203 theme
and everything should work properly.

So thanks for everyones help. Much appreciated.

Issue Resolved ... Whoo Hoo

Offline Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Lead Support Specialist
  • SMF Super Hero
  • *
  • Posts: 18,542
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • LexArma on GitHub
    • aleksi-kilpinen on LinkedIn
    • There's No Place Like 127.0.0.1
Re: Cannot login to my forum
« Reply #21 on: December 22, 2017, 01:04:25 AM »
Glad to hear! :) If you run in to further problems, just let us know. For now, I'll mark the topic solved.
A Finnish Support Specialist
 Happily running multiple SMF 2.0 installations.
  Fooling around with an i7 990X @ 3,47Ghz / 12Gb / Win 10 x64 / 3840x2160


How you can help SMF

"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum.
 Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas