UBBCentral

Login issues

Posted By: Morgan

Login issues - 02/20/17 11:57 AM

7.6.0 bugs?
Right now I cannot login to my britbike forum nor to this forum on my work computer. Never happened before. The login page don't show it changes to the cfrm page. can login on my iPhone.
Am using ie and chrome browsers
Posted By: Bad Frog

Re: Login issues - 02/22/17 10:00 PM

clear your cache/cookies and try again?
Posted By: Bad Frog

Re: Login issues - 02/22/17 10:00 PM

verify it with a different browser?
Posted By: Morgan

Re: Login issues - 02/22/17 10:20 PM

As I mentioned I used explorer and chrome ,
I found a way to the login page.
Go via the register page and submit the button without filling in any info takes me to the login page. Strange but the only way in for me at work. And I could login pre 7.6.0
Posted By: Morgan

Re: Login issues - 02/22/17 10:22 PM

Oh also cleared cookies and cashe
Posted By: Ruben

Re: Login issues - 02/22/17 10:29 PM

I guess you do know Microsoft explorer is going away?
The new version is EDGE.
But I would try firefox just to rule out it may be IE or chrome version you are using..
Posted By: Morgan

Re: Login issues - 02/22/17 10:37 PM

Unfortunately I'm not an admin so I can't download software to the work pc but I hear you
Posted By: Ruben

Re: Login issues - 02/22/17 10:40 PM

I know,
Some people say try a different browser or version
But in the real world people have no control over what they use at work.
Posted By: Mark S

Re: Login issues - 02/22/17 10:41 PM

Or use a mobile device smile
Posted By: isaac

Re: Login issues - 02/23/17 02:44 AM

Originally Posted by Morgan
I found a way to the login page.
Go via the register page and submit the button without filling in any info takes me to the login page.


about 3 nights ago, using chrome on the desktop, i came across your exact same issue of not being able to access the login page at all.

i was successfully able to do it on ie11, edge, firefox, firefox mobile, and chrome mobile. but not desktop chrome.

ill see if i can reproduce the issue again tonight, and then use your procedure to bypass the bug with that. i can then attempt to track down things a bit further.

this is a bug. it should not be happening. it never presented itself during the 8 months of testing the new(ish) login script lines.

this is a bug, i too have seen with my own eyes.

thanks morgan, for this tip!
Posted By: JAISP

Re: Login issues - 02/23/17 02:55 AM

I have not came across this at all with Safari on the iPad or the iPhone while testing.
Posted By: isaac

Re: Login issues - 02/23/17 03:01 AM

thanks for also checking those

it was strange. since the issue only happened on one install of ubbt760. but would not happen on another install. the situations were identical though.

5 forums worked on chrome desktop.
2 forums did not work. morgans forum and the other live forum i tested. both were using basic http and not on any cdn that i was aware of.
Posted By: JAISP

Re: Login issues - 02/23/17 03:30 AM

Could it possibly be a cookie issue in some way? The only other thing I can think of would be the server side cache in the /templates/compile file for that user.

Try deleting the contents of that folder except the index file and see if it comes up with the page to login then.
Posted By: isaac

Re: Login issues - 02/23/17 03:33 AM

not cookie related. fresh install of the os on the vm.
Posted By: JAISP

Re: Login issues - 02/23/17 03:36 AM

I'm sure you do this as well, when I test I use an admin, global mod, mod, and user account login. Is it happening with any and all or just the admin account? I really doubt it would make a difference but the page, as you know as you wrote the code, is generated differently with each type of account.
Posted By: JAISP

Re: Login issues - 02/23/17 03:54 AM

Is there even the slightest possibility this can be related to the age check function. I can't see how but there was a past issue, and now corrected, with registration in the COPPA verification check. I had fully tested that with at least 20 registrations while testing and it now works perfectly while registering.
Posted By: isaac

Re: Login issues - 02/23/17 04:00 AM

Chrome is being a bad doggie.
Posted By: JAISP

Re: Login issues - 02/23/17 04:41 AM

I think it is the browser as well.
Posted By: Morgan

Re: Login issues - 02/23/17 08:03 AM

Back at work, you guys have been busy answering while I was a sleep.

Just to clarify.
There was no issue on 7.5.9 only on 7.6.0

It concerns explorer 11.0.9xxxx and Chrome Version 56.0.2924.87 (64-bit)

on both forums http://www.britbike.com/forums/ubbthreads.php
and
http://www.ubbcentral.com/forums/ubbthreads.php
Posted By: Bad Frog

Re: Login issues - 02/23/17 05:50 PM

I just logged out on my site to try something, and can't log back in with chrome, stuck in a loop like above.
cleared cache/cookies for the past 24 hours. the past week, no change.

.
Posted By: isaac

Re: Login issues - 02/23/17 06:26 PM

Originally Posted by Morgan
Just to clarify.
There was no issue on 7.5.9 only on 7.6.0

It concerns explorer 11.0.9xxxx and Chrome Version 56.0.2924.87 (64-bit)

on both forums http://www.britbike.com/forums/ubbthreads.php
and
http://www.ubbcentral.com/forums/ubbthreads.php


TESTED WITH
desktop/windows10
Chrome Desktop Version 57.0.2987.54 beta (64-bit), tested 2/22,2/23a
Chrome Desktop Version 57.0.2987.74 beta (64-bit), tested 2/23b
Chrome Desktop Version 56.0.2924.87 release, tested 2/23
Firefox Desktop 51.0.1 (64-bit)
Internet Explorer 11.0.15031
Microsoft Edge 40.15031

mobile/android7.1
Chrome Mobile 57.0.2987.74 beta (ARM)
Firefox Mobile 51.0.4 (ARM)
Firefox Mobile beta 52.0 (ARM)

mobile/windows10
Microsoft Edge 40.15025

mobile/ios9.35
Safari (whatever is the latest version)

I tested before and after clearing cookies and browser cache. Regardless, my results did not seem to change at all.


YESTERDAY 2/22 --
All browsers worked for logging in to the 10 UBBT760 sites I tested...
except Chrome Desktop beta with BritBikes and AGF

TODAY 2/23 --
All browsers worked for logging in to the 10 UBBT760 sites I tested...
except Chrome Desktop beta with AGF.
BritBikes now works for me on Chrome Desktop beta.

edit: tested BadFrog's Vanning on every browser listed above. I'm also having the same issues as him, but only with Chrome Desktop beta. All other browsers work as expected.

edit2: I just updated to "Chrome Desktop Version 57.0.2987.74 beta (64-bit)." Nothing changed.

edit3: I just tested with "Firefox Mobile beta 52.0 (ARM)" and this also exhibits the problem.
But Firefox, Firefox Mobile, and Chrome Release are all good. No problems at all.
Posted By: Bad Frog

Re: Login issues - 02/23/17 06:43 PM

I'm using Chrome Version 58.0.3018.3 dev (64-bit)
Posted By: isaac

Re: Login issues - 02/23/17 07:11 PM

I'm still researching the issue that is only related to Chrome Desktop, but in the meantime, you could force entry in to your site by visiting a page that gives the alternate Login

https://www.vanning.com/threads/ubbthreads.php/users/1
https //www.vanning.com/threads/ubbthreads.php/users/1 <= note the bolded section

You'll get the error, "This user is no longer in our database."
Just click on "Return to the previous page" link.
You will be logged in at that page, and will be able to go about your ways within your forum.

---

I believe the error may be related to this change in Chrome Desktop -- I need more testing though
https://blog.chromium.org/2017/01/reload-reloaded-faster-and-leaner-page_26.html
And I really dont want to point the finger there, since I havent seen this issue happen any place else.

Is your website on a CDN?
Posted By: Bad Frog

Re: Login issues - 02/23/17 07:13 PM

Originally Posted by id242
I'm still researching the issue that is only related to Chrome Desktop, but in the meantime, you could force entry in to your site by visiting a page that gives the alternate Login

https://www.vanning.com/threads/ubbthreads.php/users/1
https //www.vanning.com/threads/ubbthreads.php/users/1 <= note the bolded section

You'll get the error, "This user is no longer in our database."
Just click on "Return to the previous page" link.
You will be logged in at that page, and will be able to go about your ways within your forum.

---

I believe the error may be related to this change in Chrome Desktop -- I need more testing though
https://blog.chromium.org/2017/01/reload-reloaded-faster-and-leaner-page_26.html
And I really dont want to point the finger there, since I havent seen this issue happen any place else.

Is your website on a CDN?


user 1 got me in.

I use cloudflare, I have disabled it and it doesn't change anything.
Posted By: Morgan

Re: Login issues - 02/23/17 07:27 PM

I am home now,
my work place is the Swedish Post's sales dep so I'm within thair server dunno what CDN is
I will check your link tomorrow.
Posted By: isaac

Re: Login issues - 02/23/17 08:34 PM

The only two browsers that I could find having the issue, were both BETA versions.

LOGIN PAGE PROBLEM
Chrome Desktop Version 57.0.2987.74 beta (64-bit), probably the developer edition also.
Firefox Mobile beta 52.0 (ARM)

NO LOGIN PAGE PROBLEM
desktop/windows10
Chrome Desktop Version 56.0.2924.87 release
Firefox Desktop 51.0.1 (64-bit)
Internet Explorer 11.0.15031
Microsoft Edge 40.15031

mobile/android7.1
Chrome Mobile 57.0.2987.74 beta (ARM), no problem with this mobile beta version.
Firefox Mobile 51.0.4 (ARM)

mobile/windows10
Microsoft Edge 40.15025

mobile/ios9.35
Safari (whatever is the latest version)
Posted By: Gizmo

Re: Login issues - 02/23/17 08:47 PM

Isaac and I have been discussing this issue on Hangouts for the last couple of hours, I was actually having these same issues with the latest Firefox BETA on Android 7.1, and it looks like the issue is with some changed variable within the Chrome Beta and FireFox Mobile Beta.

What versions are you gents who're experiencing issues running? If you're experiencing an issue in a BETA/DEV build can you please install and try to recreate the issue with the latest non-beta/dev release? We need to try to nail down that it's only affecting beta/dev builds, so we have something to track down.
Posted By: Bad Frog

Re: Login issues - 02/23/17 08:56 PM

issues with Chrome Version 58.0.3018.3 dev (64-bit)

using chrome version 56.0.2924.87 (64-bit) on my other computer, seems to be working.

that being said, I had this happen a couple days ago and clearing my cache worked, but this time it didn't.
Posted By: Gizmo

Re: Login issues - 02/23/17 10:20 PM

Those who are having issues, please try to replicate them here at central and over at UBB.dev; the proposed fix is to remove lines 76 and 77 from /scripts/login.inc.php (take care to not remove line #78):
PHP Code
		 } else {

return array(
"location" => "cfrm");


Attached picture 20170223_14-20-39.PNG
Posted By: Morgan

Re: Login issues - 02/23/17 10:41 PM

Gizmo, I removed row 76 and 77 hope that was allright

Quote
} else {

return array("location" => "cfrm");


I will check at work in 9 hours from ...now smile
Posted By: Gizmo

Re: Login issues - 02/23/17 10:58 PM

:waits:
[Linked Image]
Posted By: Bad Frog

Re: Login issues - 02/24/17 12:42 AM

So, just encountered the bug again, deleted 76/77 and refreshed the page and it worked fine
Posted By: Morgan

Re: Login issues - 02/24/17 07:53 AM

No at work its still same issue nothing is changed
Posted By: Gizmo

Re: Login issues - 02/24/17 08:09 AM

Originally Posted by Morgan
No at work its still same issue nothing is changed
And you removed lines 76/77 from your login script?
Posted By: Morgan

Re: Login issues - 02/24/17 12:17 PM

Yes I removed line 76 and 77.
I counted down to 76 by hand and removed exactly the code you published I edited using filezilla on the remote server.
I use IMAC at home and don't seem to have a editor that show lines, well maybe if i edit on the imac.. smile


i tried again and try to login on
http://www.britbike.com/forums/ubbthreads.php

and it still Changes the page to http://www.britbike.com/forums/ubbthreads.php?ubb=cfrm
so maybe I need to rewrite the script or if its available to download somewhere
Posted By: Morgan

Re: Login issues - 02/24/17 03:37 PM

Gizmo
I'm a bit puzzled as I'm not sure about line #76 77

This is my local file from 7.6.0

Quote
// Only inform the user of an error if Level 4 (Silent Fail)
if($config["SFS_LEVEL"] == 3) {
$html->not_right($ubbt_lang["SFS_DETECTED_LOGIN"]);
} else {
return array("location" => "cfrm");
}
}
} else {
return array("location" => "cfrm");
}
}
} else {
$html->not_right($ubbt_lang["SFS_ERROR_REMOTE"]);
}
}

// ----------------------------------------------------------------


They look kind of a likedon't you think.

Quote
// Only inform the user of an error if Level 4 (Silent Fail)
if($config["SFS_LEVEL"] == 3) {
$html->not_right($ubbt_lang["SFS_DETECTED_LOGIN"]);
} else {
return array("location" => "cfrm");
}
}
} else {
return array("location" => "cfrm");
}
}
} else {
$html->not_right($ubbt_lang["SFS_ERROR_REMOTE"]);
}
}

// ----------------------------------------------------------------
Posted By: Bad Frog

Re: Login issues - 02/24/17 03:41 PM

download 7.60 again from the site, and re-upload those files, they have been corrected. that way you don't have to worry about deleting the wrong thing
Posted By: Morgan

Re: Login issues - 02/24/17 03:53 PM

OK that is why the files looked alike as i had aleary downloaded the new 7.6.
OK i uploaded that login file so i'll be checking again on monday.Thanks
Posted By: Bad Frog

Re: Login issues - 02/24/17 04:03 PM

the downloaded files will have a date newer than 2/15 - that's how you can tell.
Posted By: isaac

Re: Login issues - 02/24/17 07:06 PM

Originally Posted by Bad Frog
the downloaded files will have a date newer than 2/15 - that's how you can tell.


Thank you laugh
Posted By: Kayjey

Re: Login issues - 02/25/17 03:22 PM

Wouldn't it be better to release these small updates and changes as a patch?
Posted By: JPG

Re: Login issues - 02/25/17 04:53 PM

I am having log in problems as well. I tried from a desktop, laptop and iPad on two different 7.6 forums, one being this forum. When I hit "log In" I was routed to the forum summary page - I could not access the log in page. Someone suggested trying a different connection, so I used my mobile hotspot and log in worked!

Here's a fix. If you disable "stop forum spam" the log in problem is solved. This is 100% reproducible.
Posted By: isaac

Re: Login issues - 02/25/17 05:04 PM

Originally Posted by JPG
I am having log in problems as well. I tried from a desktop, laptop and iPad on two different 7.6 forums, one being this forum. When I hit "log In" I was routed to the forum summary page - I could not access the log in page. Someone suggested trying a different connection, so I used my mobile hotspot and log in worked!

Here's a fix. If you disable "stop forum spam" the log in problem is solved. This is 100% reproducible.


Did you do this:
http://www.ubbcentral.com/forums/ubbthreads.php/topics/259319/re-login-issues#Post259319

Or did you manually edit the single file to make the correction listed here:
http://www.ubbcentral.com/forums/ubbthreads.php/topics/259286/re-login-issues#Post259286

That would have resolved the issue. The problem starts because of the beta version of the browser you're running. This is not an issue on the current Release versions of Firefox or Chrome. This is not a cookie or cache issue.

Whats happening is that the beta versions of the browsers are looking at the page before displaying it to you, and calling it a "login page." Then they are not permitting any conversation from that page, to the StopForumSpam third-party. So because SFS cannot be connected to, your forum is delivering a silent error and would take you back to the main Category/Forum page.

Performing the single modification above, resolves the check that happens when a user first gets to that login page.

Again, the only browsers currently experiencing this issue are Mobile Firefox beta, and Chrome beta/developer.
Posted By: Bad Frog

Re: Login issues - 02/25/17 05:28 PM

Originally Posted by JPG

Here's a fix. If you disable "stop forum spam" the log in problem is solved. This is 100% reproducible.



I know the code tweak seems to have solved it, but this is something worth looking into, as I have SFS enabled on my site as well.
Posted By: JPG

Re: Login issues - 02/25/17 05:28 PM

I’ve downloaded the latest .zip ( 5mins ago ), noted new files – login.inc.php showed a 2 line change ... I uploaded that and I still have the problem, unless I turn OFF stopforumspam.

SFS settings are ‘auto with silent fail’, when ON.

Keep in mind that the problem exists here on ubbcentral as well and I can’t turn off SFS here to really test that part.

Also, this exists on multiple browsers and multiple devices - desktop, laptop, iPad using Chrome, IE and Safari.

Posted By: isaac

Re: Login issues - 02/25/17 05:50 PM

Originally Posted by JPG
Keep in mind that the problem exists here on ubbcentral as well and I can’t turn off SFS here to really test that part.


If it exists here, and SFS is turned on here, how were you able to log in here?
Posted By: SD

Re: Login issues - 02/25/17 05:55 PM

JPG was able to login here by switching over to his verizon hotspot ( new IP )

I was trying to get him to isolate different cases.

Switching hotspot also 'fixed' login on his forum as well..

2c
Posted By: isaac

Re: Login issues - 02/25/17 05:59 PM

Originally Posted by Bad Frog
I know the code tweak seems to have solved it, but this is something worth looking into, as I have SFS enabled on my site as well.


It has been looked in to. This is why several browsers (Release versions, beta versions, developer versions) were tested, across several different operating systems (Windows10 DESKTOP and MOBILE, WindowsXP, Google Android 4.4 and 7.1.1, Chrome OS, Apple iOS 9.3 on iPhone and iPad).

They were tested with IPv4 and IPv6 addresses.
The problem presented itself.
A resolution was created and initiated.
The problem did not exhibit itself again.

Other than Mac, was there a browser combo not tested?
Posted By: isaac

Re: Login issues - 02/25/17 06:03 PM

Originally Posted by SD
JPG was able to login here by switching over to his verizon hotspot ( new IP )

I was trying to get him to isolate different cases.

Switching hotspot also 'fixed' login on his forum as well..

2c


Have you tried the obvious? He could marked as a spammer, and might want to visit this page to get his address corrected.
http://stopforumspam.com/removal
Posted By: Bad Frog

Re: Login issues - 02/25/17 06:07 PM

Originally Posted by id242
Originally Posted by Bad Frog
I know the code tweak seems to have solved it, but this is something worth looking into, as I have SFS enabled on my site as well.


It has been looked in to. This is why several browsers (Release versions, beta versions, developer versions) were tested, across several different operating systems (Windows10 DESKTOP and MOBILE, WindowsXP, Google Android 4.4 and 7.1.1, Chrome OS, Apple iOS 9.3 on iPhone and iPad).

They were tested with IPv4 and IPv6 addresses.
The problem presented itself.
A resolution was created and initiated.
The problem did not exhibit itself again.

Other than Mac, was there a browser combo not tested?


only suggested it as I hadn't seen SFS mentioned in the previous troubleshooting
Posted By: isaac

Re: Login issues - 02/25/17 06:14 PM

Originally Posted by Bad Frog
only suggested it as I hadn't seen SFS mentioned in the previous troubleshooting


The "login" file which had the two single lines edited, was purely related to SFS. It was to help prevent a Spammer from logging in to your forum.

From:
Control Panel » Primary Settings
Stop Forum Spam tab

Quote
Stop Forum Spam provides free access to a database of known forum and blog spammers. UBB.threads can connect with this database to check Email Addresses and IP Addresses in an attempt to block known spammers from creating new accounts, and logging in to post on your forum.
Posted By: JPG

Re: Login issues - 02/25/17 06:19 PM

Originally Posted by id242
Originally Posted by SD
JPG was able to login here by switching over to his verizon hotspot ( new IP )

I was trying to get him to isolate different cases.

Switching hotspot also 'fixed' login on his forum as well..

2c


Have you tried the obvious? He could marked as a spammer, and might want to visit this page to get his address corrected.
http://stopforumspam.com/removal


OK, the obvious seems to have been the problem. Not sure why I am able to log in to forums running 7.5.8 and couldn't log in to 7.6, but this new IP I have is listed at stopforumspam. I requested removal.
Posted By: isaac

Re: Login issues - 02/25/17 06:23 PM

Originally Posted by JPG
OK, the obvious seems to have been the problem. Not sure why I am able to log in to forums running 7.5.8 and couldn't log in to 7.6, but this new IP I have is listed at stopforumspam. I requested removal.


The reason why you could login to 7.5.8 is because SD never implimented the full SFS when he used Gizmo's code. SD only used what he wanted to use, which was just checking SFS at the time of posting.

760 includes the entire SFS package. Which checks at login, account creation, sending PM, posting messages/replies. The entire package, as Gizmo had originally written it.

In addition, 760 supports IPv4 and IPv6.
758 only supported IPv4.

Source1:
https://www.ubbdev.com/forums/ubbthr...um-spam-integration-v0-5.html#Post318736

Source2:
http://www.ubbdev.com/forums/ubbthreads.php/topics/319158/7-5-7-stop-forum-spam-login-detection.html
Posted By: JPG

Re: Login issues - 02/26/17 12:53 AM

My problem reminds me of the movie Sling Blade.

Posted By: Morgan

Re: Login issues - 02/27/17 09:01 AM

OK back at work and can't login the regular way. tried also att UBBDEV and noticed below message.
Obvialsy our Company ip is bad i guess


Quote
Your IP address is currently listed in the Stop Forum Spam database as a known spammer/spambot, and as such your account cannot be registered. To proceed you'll need to request a removal to clear yourself from their database.
Posted By: isaac

Re: Login issues - 02/27/17 09:06 AM

Originally Posted by Morgan
OK back at work and can't login the regular way. tried also att UBBDEV and noticed below message.
Obvialsy our Company ip is bad i guess


Quote
Your IP address is currently listed in the Stop Forum Spam database as a known spammer/spambot, and as such your account cannot be registered. To proceed you'll need to request a removal to clear yourself from their database.


Request a removal.
http://stopforumspam.com/removal
Its pretty simple to submit, and usually reviewed within the same day.

edit: i just checked the ip address of your last post. Its not in the SFS database, as far as I could tell.

edit2: i do see that your ip address was listed 8 times in this list:
http://whatismyipaddress.com/blacklist-check
maybe you're on a shared address...
Posted By: Morgan

Re: Login issues - 02/27/17 09:16 AM

Now I understand.
our Company IP address is as bad according to Stop forum spam and i had settings set to Auto with Silent Fail

changing it to Auto with Message brought up a message with that info.
with Manual or Semi-Auto its still possible to login.. and there was light finally..

Quote
Spam Protection Level

You have four choices; Manual (initial setting), Semi-Auto, Auto with message to Registrant and Auto with silent Fail. Each have their pros and cons.
•Manual - This allows the Admin to easily check new registrations with one click
•Semi-Auto - This automatically checks new registrations in member management, but might delay, if there are timeouts with StopForumSpam
•Auto with Message - Adds to Semi-Auto and gives a new registrant a message that they were blocked and how to remedy the situation
•Auto with Silent Fail - Does what Auto with Message does, but fails silently, which might fool spammers into thinking they signed up.
Posted By: Morgan

Re: Login issues - 02/27/17 09:20 AM

Isaac, I'm on the Swedish Posts server here so there are many shared users
Posted By: isaac

Re: Login issues - 02/27/17 09:20 AM

I believe that as a regular user (not an admin account) who has been flagged in SFS, posting and sending message is blocked. So even if a spammer gets in through an error page, they are blocked from doing a bit of interacting.
Posted By: isaac

Re: Login issues - 02/27/17 09:23 AM

Originally Posted by Morgan
Isaac, I'm on the Swedish Posts server here so there are many shared users


smile
© 2017 UBB.threads PHP Forum Software Community