Here is the error I get occasionally, this has been going on for years, only happens once in a while and it's a Staff only page so I didn't worry about it too much.
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[MySQL][ODBC 5.1 Driver][mysqld-5.5.29-log]Unknown column 'e' in 'where clause'
/active_users.asp, line 578
Line in red is 578.
Screenshot of where it quits
I'm going to hazard a guess and say it quits when there is an obscure character it the subject since that's where the page quits and column 'e' is the fifth letter and the subject is the fifth column.
This is on my stamp forum which uses a MySql DB.