Simple Machines Community Forum

SMF Support => SMF 2.1.x Support => Topic started by: Bigguy on August 09, 2019, 07:40:42 PM

Title: Likes
Post by: Bigguy on August 09, 2019, 07:40:42 PM
Just a quick question. Why are guests viewing likes.... I don't get that. When you hover your mouse over the red dot it says "not_found". Is there an action without a language string or... ???
Title: Re: Likes
Post by: SychO on August 10, 2019, 05:40:38 AM
Well guests can see who liked a certain post so that's normal, the "not_found" error means that they've encountered an error screen, in this case "Sorry, this section isn't available at this time." but it's not printing the error message because the Errors language file isn't loaded at the time.
I posted a fix to GitHub that'll fix it.
https://github.com/SimpleMachines/SMF2.1/pull/5756

It's probably a bot though, since they accessed the page with an incorrectly formatted URL, something like this I think:
hxxp://www.yourforum.com/index.php?action=likes%3Bsa=view%3Bltype=msg%3Blike=509%blablabla=d89051xsdfa39000dsdf7cb6bcc

Thanks for the report :)
Title: Re: Likes
Post by: Bigguy on August 10, 2019, 07:47:42 AM
Thanks for the fix.  :)