Simple Machines Community Forum

SMF Support => SMF 2.1.x Support => Topic started by: jonesH on October 22, 2020, 08:47:00 PM

Title: SMF 2.1 RC3 fresh stock install not able to login from mobile on localhost
Post by: jonesH on October 22, 2020, 08:47:00 PM
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...
Title: Re: SMF 2.1 RC3 fresh stock install not able to login from mobile on localhost
Post by: jonesH on October 22, 2020, 08:52:43 PM
Additionally, trying to login from another laptop on the same network gives the same result.

Title: Re: SMF 2.1 RC3 fresh stock install not able to login from mobile on localhost
Post by: Ro9e on October 27, 2020, 07:50:13 PM
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
Title: Re: SMF 2.1 RC3 fresh stock install not able to login from mobile on localhost
Post by: jonesH on October 28, 2020, 09:07:42 AM
I checked the salt and it was correct, varchar (255). I deleted the forum and db, installed fresh, the problem remains the same.
Title: Re: SMF 2.1 RC3 fresh stock install not able to login from mobile on localhost
Post by: Aleksi "Lex" Kilpinen on October 28, 2020, 10:50:14 AM
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. )
Title: Re: SMF 2.1 RC3 fresh stock install not able to login from mobile on localhost
Post by: jonesH on October 28, 2020, 08:44:12 PM
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.