SQL Error in IE not Chrome

Forum dedicated to Mods for HESK created by Mike Koch

Moderator: mkoch227

Post Reply
esmith
Posts: 20
Joined: Mon Oct 17, 2016 3:29 pm

SQL Error in IE not Chrome

Post by esmith »

I am running hesk 2.6.8 and mods 2.6.4

Write your message below:

I get this error when replying to a ticket in IE but it workes fine when I replied in chrome.

Error:

Can't execute SQL: SELECT `IsClosed`, `Key` FROM `hesk_statuses` WHERE `ID` = Submit reply and change status to Resolved

MySQL said:
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 'reply and change status to Resolved' at line 1
mkoch227
Posts: 666
Joined: Wed Jul 04, 2012 3:37 pm

Re: SQL Error in IE not Chrome

Post by mkoch227 »

I just tried resolving a ticket by selecting "Submit reply and change status to Resolved" in IE 11 and it worked fine. What version of IE are you using?

Also, the latest version of Mods for HESK is 3.0.3 which supports HESK 2.7.2. It is recommended that you upgrade when possible as previous versions of Mods for HESK will not receive any bug fixes.
Mike, Lead Developer of Image HESK: A surprisingly simple, user-friendly and FREE help desk software with integrated knowledgebase.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: SQL Error in IE not Chrome

Post by Klemen »

My 2 cents: SQL is run on the server, what browser you use has nothing to do with it.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
mkoch227
Posts: 666
Joined: Wed Jul 04, 2012 3:37 pm

Re: SQL Error in IE not Chrome

Post by mkoch227 »

Klemen wrote: Tue Mar 28, 2017 6:42 pm My 2 cents: SQL is run on the server, what browser you use has nothing to do with it.
The only possibility I could see is that the submit "buttons" (that look like links) that submit and change status are being treated differently by an older version of IE (for example, using the button text instead of the button's value attribute). However, I haven't had a chance to actually test that hypothesis. If the browser is sending the wrong value up to the server, then the SQL would be malformed.
Mike, Lead Developer of Image HESK: A surprisingly simple, user-friendly and FREE help desk software with integrated knowledgebase.
mkoch227
Posts: 666
Joined: Wed Jul 04, 2012 3:37 pm

Re: SQL Error in IE not Chrome

Post by mkoch227 »

I am able to reproduce this in IE 7 (via IE 11 emulation). IE 7 is not supported by Mods for HESK. IE 11 is the only "truly" supported browser, however IE 9 and 10 will most likely work. Are you using IE 7 or something different?
Last edited by Klemen on Tue Mar 28, 2017 7:10 pm, edited 1 time in total.
Mike, Lead Developer of Image HESK: A surprisingly simple, user-friendly and FREE help desk software with integrated knowledgebase.
esmith
Posts: 20
Joined: Mon Oct 17, 2016 3:29 pm

Re: SQL Error in IE not Chrome

Post by esmith »

I don't know why I didn't test this out first but that was the issue. Local intranet sites or showing in compatibility mode IE 7 emulation. Thanks for all your help.
Post Reply