The KB feature that suggests articles relating to a submitted ticket is using GET rather than POST, which is causing a ticket submission to break if the content of the ticket contains more than 255 characters.
Disabling the KB allows submitting a ticket of any length.
KB article suggstion breaks with more than 255 characters
Moderator: mkoch227
The variable length limit is a server-side limit and Hesk by default caps the variable at about 1900 chars length which works on most servers and is within the limits of modern browser max query string.
Try opening the hesk_javascript.js file in Notepad and changing Code:
m.substr(0,1900)
to:
m.substr(0,250)
That should limit the variable to max 250 chars. Save changes, upload to the server, clear browser cache, close all browser windows then see if you can reproduce the error.
But yes, I am aware of the problems and limitations (was posted here too before). The next version should have the knowledgebase suggest solved with either a post to the next page or an ajax solution.
Try opening the hesk_javascript.js file in Notepad and changing Code:
m.substr(0,1900)
to:
m.substr(0,250)
That should limit the variable to max 250 chars. Save changes, upload to the server, clear browser cache, close all browser windows then see if you can reproduce the error.
But yes, I am aware of the problems and limitations (was posted here too before). The next version should have the knowledgebase suggest solved with either a post to the next page or an ajax solution.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
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


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