Advertisement:

Author Topic: SMF 2.1 RC3 fresh stock install not able to login from mobile on localhost  (Read 1071 times)

Offline jonesH

  • Jr. Member
  • **
  • Posts: 166
  • Gender: Male
I am running the latest Bitnami MAMP stack on Catalina and using an iPhone 6s.


When accessing the forum via localhost from the iPhone, login in does not actually log in any user, even the admin. It just returns to the login screen without an error either on the phone screen or in the errors log. No problem logging in from the laptop, though. I have tried this from the mobile Safari and Firefox...

Offline jonesH

  • Jr. Member
  • **
  • Posts: 166
  • Gender: Male
Additionally, trying to login from another laptop on the same network gives the same result.

« Last Edit: October 22, 2020, 09:11:07 PM by jonesH »

Offline Ro9e

  • Newbie
  • *
  • Posts: 1
Hi, I found that after upgrade to the RC3 the passwordSalt field on members table doesn't have the correct length. Check it and the users now can login without problems. Put a length of 255.

Checks the issue here github.com/SimpleMachines/SMF2.1/pull/6306

Regards

Offline jonesH

  • Jr. Member
  • **
  • Posts: 166
  • Gender: Male
I checked the salt and it was correct, varchar (255). I deleted the forum and db, installed fresh, the problem remains the same.

Offline Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Project Manager
  • SMF Super Hero
  • *
  • Posts: 19,630
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • LexArma on GitHub
    • aleksi-kilpinen on LinkedIn
    • My Daily Dose Of Blasphemy
A localhost install of anything at all without a defined public domain name, usually doesn't work outside localhost. Just how it is.
( Theoretically, using a _static_ public IP might work as well, but wouldn't really suggest that. )
A Finnish Project Manager (Support Specialist)
Happily running multiple SMF 2.x installations.
 Fooling around with an i7-10700 @ 2,90GHz-4.80GHz / 16Gb / RTX-2070 Super / 3840x2160 / Win 10 x64


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 jonesH

  • Jr. Member
  • **
  • Posts: 166
  • Gender: Male
Hm... I am on the same wifi network with all involved devices when accessing my test forum over localhost, using static addresses, and all other operations seem to work just fine... so why not the login as well? Also, in the past (2-3-4 yrs back) I have done this without problems.


I will try to load the RC3 on my godaddy account and see what happens there.