View Issue Details

IDProjectCategoryView StatusLast Update
0000605XMB1Bugspublic2020-10-19 09:12
Reportermiqrogroove Assigned Tomiqrogroove  
PrioritynormalSeveritymajorReproducibilitysometimes
Status closedResolutionfixed 
Product Version1.9.8 SP2 
Fixed in Version1.9.9 
Summary0000605: Invalid SQL Syntax in member.php
DescriptionI recently had the opportunity to troubleshoot a database error on a v1.9.5 installation. This does not affect versions 1.9.9 and higher, so I am documenting this only for posterity.

In summary, the REGEXP phrase ([:space:]) is not valid. I don't know how this made it into the codebase, but presumably it actually worked on older SQL engines. So depending on the environment, this should always cause the member profiles to fail to load for everyone trying to view them except the Super Admin. The underlying error might look like this:

MySQL encountered the following error: Got error 'POSIX named classes are supported only within a class at offset ' from regexp

However, older versions of XMB had poor SQL error reporting and that message might never be displayed or logged anywhere.

Per the MySQL 4.1 manual, [:space:] may only be used WITHIN a character class, which actually means [[:space:]] but never ([:space:])
Additional Informationhttps://sourceforge.net/p/xmb-forum/code/HEAD/tree/xmb19x/tags/XMB-1.9.3-final/Files/member.php
TagsNo tags attached.
MySQL Version
PHP Version
Web Server
Browser
Flags
Original Reporter
SVN Revision

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2020-09-19 08:12 miqrogroove New Issue
2020-09-19 08:12 miqrogroove Status new => resolved
2020-09-19 08:12 miqrogroove Resolution open => fixed
2020-09-19 08:12 miqrogroove Fixed in Version => 1.9.9
2020-10-19 09:12 miqrogroove Assigned To => miqrogroove
2020-10-19 09:12 miqrogroove Status resolved => closed