Simple Machines Community Forum

SMF Development => Bug Reports => Fixed or Bogus Bugs => Topic started by: szinski on August 06, 2024, 11:08:58 AM

Title: Likes bug
Post by: szinski on August 06, 2024, 11:08:58 AM
One of my members ("foreplease") clicked the "You and 3 other people like this" link and received the following warning (see attached). The member in question is not banned, nor has he ever been banned. He clicked around on a few other posts that he has liked with no issues, seems to happen only with this one particular post (that he's been able to find so far). Running SMF 2.1.4.

IMG_0273.jpg
Title: Re: Likes bug
Post by: Kindred on August 06, 2024, 11:16:55 AM
you're going to have to give us more information... because I definitelt can not recreate this issue...

URL of the specific post causing this error?

Mods installed?
Title: Re: Likes bug
Post by: szinski on August 06, 2024, 11:22:38 AM
Here's the URL:

https://www.pizzamaking.com/forum/index.php/topic,83350.msg789772.html#msg789772

When I click the link, I see all three people who have liked it. But, as shown in the bug report, it only seems to happen to the member in question.

Mods installed attached.
Title: Re: Likes bug
Post by: szinski on August 06, 2024, 11:25:28 AM
Sorry, it's actually the post before the one I sent in the link (from user Old Red), now has 4 likes.
Title: Re: Likes bug
Post by: szinski on August 06, 2024, 11:34:20 AM
I know this is a tough one to troubleshoot, and without being able to login as the user in question, it may be pointless to try. But, I thought I'd report the error just for the sake of reporting it.
Title: Re: Likes bug
Post by: Aleksi "Lex" Kilpinen on August 06, 2024, 11:36:29 AM
Could you check your server error logs to see if there are any 40x or 50x errors that would correlate?
I have this nagging feeling I've seen this before, and the ban error message was a red herring, but can not remember specifics.
Also, every time someone gets the "Sorry you are banned" message, it should be logged in the SMF error log or as a hit to the ban trigger at least - Is this?
Title: Re: Likes bug
Post by: szinski on August 06, 2024, 11:41:07 AM
Unfortunately, I cleared my SMF error logs. I'll ask the user to click the link again to see if he's still receiving the error, and then I'll check my logs.
Title: Re: Likes bug
Post by: szinski on August 06, 2024, 01:13:10 PM
Well, I guess I can close this report. The user states that the error is gone now. Maybe it was a browser issue because he originally got the error using his desktop client, but re-checked just now using his mobile device. I'm not going to pursue this any further since it appears to be a red herring. Thanks.
Title: Re: Likes bug
Post by: Aleksi "Lex" Kilpinen on August 06, 2024, 01:17:12 PM
Well, I'll move this out of the bug reports, if it does come up again we can get back to this, but probably best if you just open a new support topic in that case.
Title: Re: Likes bug
Post by: Diego Andrés on August 06, 2024, 01:45:39 PM
This is indeed an issue afaik: https://github.com/SimpleMachines/SMF/issues/7761
Should be mostly fixed in the next patch, this was the PR: https://github.com/SimpleMachines/SMF/pull/7782
Title: Re: Likes bug
Post by: Aleksi "Lex" Kilpinen on August 06, 2024, 01:55:21 PM
Oh! Thank you for that, I had a feeling I'd seen this before but memory failed me, and since the problem was no longer reproducible...
Title: Re: Likes bug
Post by: szinski on August 06, 2024, 02:02:19 PM
Ah, ok, a stale session would explain why the user is no longer experiencing the issue. Glad it's a known issue and that a fix is coming. Thanks!
Title: Re: Likes bug
Post by: Steve on August 07, 2024, 08:09:52 AM
@Sesquipedalian, @Aleksi "Lex" Kilpinen - after reading the above, should this topic remain here or go back to the Bugs section?
Title: Re: Likes bug
Post by: Aleksi "Lex" Kilpinen on August 07, 2024, 08:14:35 AM
Since it's already addressed in Github, it's probably fine here.
Title: Re: Likes bug
Post by: Steve on August 07, 2024, 08:18:12 AM
Sounds good. I was just curious. I tend to leave these two sections alone to you, Kindred and the developers.