Jump to content

mysql error when replying to a ticket


Recommended Posts

i just got this in my log when replying to a ticket in my admin area:

 

SQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY useful DESC LIMIT 0,5' at line 1 - Full Query: SELECT id,parentid FROM tblknowledgebase WHERE (article LIKE '%nameremoved,\r%' OR article LIKE '%made%' OR article LIKE '%now.\r%' OR article LIKE '%bart%' OR article LIKE '%thing%' OR article LIKE '%language,%' OR article LIKE '%later,%' OR article LIKE '%tomorrow.\r%' OR article LIKE '%you.\r%') AND id NOT IN () ORDER BY useful DESC LIMIT 0,5 

 

 

i replaced one of the likes with name removed, as this was a client name. it looks like it could be a knowledge base suggestions issue on tickets.

Edited by leemason
added code tags to error message
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated