Advertisement:

Author Topic: Login problems after v2.0.14  (Read 839 times)

Offline Gaza07

  • Semi-Newbie
  • *
  • Posts: 12
  • Gender: Male
    • Multi Rotor UK
Login problems after v2.0.14
« on: May 16, 2017, 04:15:14 PM »
I applied the update to my v2.0.13 forum and since doing this members couldnt log back in and got a session timed out while posting error, I reset the forum to the default smf theme and it seemed to cure the login problem if they used the login across the top, I also have simple portal installed and the user info / login box gives the same time out error,
When I applied the patch the custom themes where ticked and most all said test successful, Only a couple of themes had a fail,
The problem is even the custom themes where all test where successful dont appear to work on login,
I have check with an editor and the themes do appear to have the new line in them as they should, I'm at a loss why the custom themes are not now working and the simple portal to 

Online vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 18,958
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Login problems after v2.0.14
« Reply #1 on: May 16, 2017, 04:25:45 PM »
Check out this post  it affects any login form that isn't updated so some portal mods might be affected too
https://www.simplemachines.org/community/index.php?topic=553902.0 and mods that use ssi_login
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline Gaza07

  • Semi-Newbie
  • *
  • Posts: 12
  • Gender: Male
    • Multi Rotor UK
Re: Login problems after v2.0.14
« Reply #2 on: May 16, 2017, 04:40:23 PM »
I have done some more testing and the custom themes work fine as long as the upper smf login boxes are used the problem id with the simple portal box, any idea how to fix this ?

Online vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 18,958
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Login problems after v2.0.14
« Reply #3 on: May 16, 2017, 04:47:47 PM »
It's bug in Simpleportal you can ask them to update it http://simpleportal.net/ or in the mod topic.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline Gaza07

  • Semi-Newbie
  • *
  • Posts: 12
  • Gender: Male
    • Multi Rotor UK
Re: Login problems after v2.0.14
« Reply #4 on: May 16, 2017, 04:53:54 PM »
Thanks I will pop on there and enquire do the other portals have the same problem ? I'm asking in case I have to change to another

Online Gluz

  • Native Language Support Specialist
  • Sr. Member
  • *
  • Posts: 768
  • Gender: Male
    • Al-eXs on GitHub
Re: Login problems after v2.0.14
« Reply #5 on: May 16, 2017, 04:55:49 PM »
SimplePortal uses the SSI function, that is not updated in the patch, need the same edit as custom themes' login.
Need help with PHP, HTML, CSS, Themes or MODs?

Quote
Think in spanish, habla en ingl├ęs.

Offline lurkalot

  • Sr. Member
  • ****
  • Posts: 883
  • Gender: Male
  • Tinyportal Support
    • guitaristguild on Facebook
    • Tinyportal on GitHub
    • @GuitaristGuild on Twitter
    • Guitarist Guild
Re: Login problems after v2.0.14
« Reply #6 on: May 16, 2017, 05:02:44 PM »
Thanks I will pop on there and enquire do the other portals have the same problem ? I'm asking in case I have to change to another

Tinyportal has a problem with the login, but only if you use the login on the User Block, this will get fixed asap.

Seems anything that uses /index.php?action=login2 will throw this error.

Tinyportal.net Official Support Site For TinyPortal.
Camera Craniums Running SMF 2.0.13 / Tinyportal 1.2
Guitarist Guild Running SMF 2.0.14 / Tinyportal 1.2R Beta

Online vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 18,958
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Login problems after v2.0.14
« Reply #7 on: May 16, 2017, 05:11:13 PM »
Yes that is true. I had it updated with ezportal a while back since I looked at it SMF 2.1 and had that same code that 2.1 version
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline lurkalot

  • Sr. Member
  • ****
  • Posts: 883
  • Gender: Male
  • Tinyportal Support
    • guitaristguild on Facebook
    • Tinyportal on GitHub
    • @GuitaristGuild on Twitter
    • Guitarist Guild
Re: Login problems after v2.0.14
« Reply #8 on: May 16, 2017, 05:55:21 PM »
Yes that is true. I had it updated with ezportal a while back since I looked at it SMF 2.1 and had that same code that 2.1 version

Think we've fixed Tinyportal too, just got to test it.   You saying that reminds me we probably need to apply it to TP2 as well. ;)

Tinyportal.net Official Support Site For TinyPortal.
Camera Craniums Running SMF 2.0.13 / Tinyportal 1.2
Guitarist Guild Running SMF 2.0.14 / Tinyportal 1.2R Beta

Offline Illori

  • Project Manager
  • SMF Master
  • *
  • Posts: 46,937
Re: Login problems after v2.0.14
« Reply #9 on: May 16, 2017, 05:57:52 PM »
Think we've fixed Tinyportal too, just got to test it.   You saying that reminds me we probably need to apply it to TP2 as well. ;)

no we dont, that should have been taken care of a long time ago.

Offline Gaza07

  • Semi-Newbie
  • *
  • Posts: 12
  • Gender: Male
    • Multi Rotor UK
Re: Login problems after v2.0.14
« Reply #10 on: May 16, 2017, 05:58:24 PM »
I think I have fixed the problem I edited the  /Sources/PortalBlocks.php

FIND:
Code: [Select]
<input type="hidden" name="hash_passwrd" value="" />
REPLACE WITH:
Code: [Select]
<input type="hidden" name="hash_passwrd" value="" /><input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
Hope this helps some one else




Offline lurkalot

  • Sr. Member
  • ****
  • Posts: 883
  • Gender: Male
  • Tinyportal Support
    • guitaristguild on Facebook
    • Tinyportal on GitHub
    • @GuitaristGuild on Twitter
    • Guitarist Guild
Re: Login problems after v2.0.14
« Reply #11 on: May 17, 2017, 03:24:45 AM »
Think we've fixed Tinyportal too, just got to test it.   You saying that reminds me we probably need to apply it to TP2 as well. ;)

no we dont, that should have been taken care of a long time ago.

Thanks, that's good to know.  I don't think I ever tested the login from that block, hence why I wasn't sure.  ;)

Tinyportal.net Official Support Site For TinyPortal.
Camera Craniums Running SMF 2.0.13 / Tinyportal 1.2
Guitarist Guild Running SMF 2.0.14 / Tinyportal 1.2R Beta

Offline sunilimon

  • Semi-Newbie
  • *
  • Posts: 95
  • Gender: Male
  • HookahSpains rulez!
    • hookahspain on Facebook
    • @hookahspain on Twitter
    • HookahSpain
Re: Login problems after v2.0.14
« Reply #12 on: May 26, 2017, 05:15:23 AM »
I think I have fixed the problem I edited the  /Sources/PortalBlocks.php

FIND:
Code: [Select]
<input type="hidden" name="hash_passwrd" value="" />
REPLACE WITH:
Code: [Select]
<input type="hidden" name="hash_passwrd" value="" /><input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
Hope this helps some one else

Thank you so much! that worked for my system perfectly :)
SMF version: 2.0.14

http://www.HookahSpain.com your hookah / shisha comunity at Spain

Offline Steve

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 3,479
  • Gender: Male
  • I have not yet begun to procrastinate.
Re: Login problems after v2.0.14
« Reply #13 on: May 26, 2017, 03:51:29 PM »
Marking solved then. If you have any other questions regarding this topic, by all means, mark this unsolved and let us know. :)
Please do not PM me for support.