Simple Machines Community Forum

SMF Support => SMF 2.1.x Support => Topic started by: NFG on December 13, 2020, 10:39:09 PM

Title: RC3: A New Error Appeared!
Post by: NFG on December 13, 2020, 10:39:09 PM
Shortly after updating to RC3 (which went smoothly enough) I got this in the logs:

Type of error: Undefined
8: Undefined index: page_ascending
https://URL/forum2/index.php?topic=5463.0
/var/www/web/forum/Sources/Display.php (Line 867)
Title: Re: RC3: A New Error(s) Appeared!
Post by: NFG on December 14, 2020, 06:27:11 PM
Another new error appeared!  60+ of these all at once:

Type of error: General
2: preg_filter(): Unknown modifier '\'
https://nfggames.com/forum2/index.php?amp;action=search2
/var/www/web/forum2/Sources/Search.php (Line 2319)
Title: Re: RC3: A New Error Appeared!
Post by: albertlast on December 15, 2020, 06:05:23 AM
First issue got fixed by droping the performance feature behind this: https://github.com/SimpleMachines/SMF2.1/pull/6272
To mutch pain to less gain
Title: Re: RC3: A New Error Appeared!
Post by: iso on December 16, 2020, 07:59:57 AM
Quote from: NFG on December 14, 2020, 06:27:11 PM
Another new error appeared!  60+ of these all at once:

Type of error: General
2: preg_filter(): Unknown modifier '\'
https://nfggames.com/forum2/index.php?amp;action=search2
/var/www/web/forum2/Sources/Search.php (Line 2319)


I have the same error codes in my log.
Title: Re: RC3: A New Error Appeared!
Post by: Kindred on December 16, 2020, 08:51:56 AM
Interesting and odd....  I have been testing 2.1 RC3 and can't reproduce this on my install...

I have not seen any errors in my log except bad password ones.
Title: Re: RC3: A New Error Appeared!
Post by: shawnb61 on December 16, 2020, 06:26:13 PM
I can reproduce the search error by including backslashes & forwardslashes in a search term.  The search MUST otherwise get hits, so search for something like "/\ welcome to smf".  The issue is with the highlighting logic.

Logged the 2 issues above:
Unknown modifier:
https://github.com/SimpleMachines/SMF2.1/issues/6413

Page ascending:
https://github.com/SimpleMachines/SMF2.1/issues/6412