404 error when posting specific canned response

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
George
Posts: 10
Joined: Wed Dec 13, 2017 7:36 am

404 error when posting specific canned response

Post by George »

Hello, Klemen and PHP Junkyards friends - hope you're well.

I absolutely love Hesk.

But I have an odd issue today.

I reply to all tickets as usual, and everything works great.

But there's a specific reply I cannot post. I always get a 404 error when I try to post that reply. I see the page admin_reply_ticket.php in my browser.

I have tried everything to see if part of the answer is to blame.

I type the answer a few sentences at a time, and they all go through.

I even tried posting much longer answers (with different text), and they go through. So text length isn't an issue either.

I have been posting this (canned) response for more than 6 months with no issue.

But today it won't go through.

I'd rather not post it in the open, but I can PM it to someone if they want.

Thanks in advance.

George

PS. Again, I love Hesk - it's a life saver!
Last edited by George on Fri Apr 06, 2018 7:08 am, edited 1 time in total.
Klemen
Site Admin
Posts: 10143
Joined: Fri Feb 11, 2005 4:04 pm

Re: 404 error when posting specific canned response

Post by Klemen »

If other replies work then the request is most likely being blocked by a mod_security rule being triggered on the server (the 404 error is there probably because there is no document to show the 403 error).

I would contact your host and ask them to check the mod security audit log and confirm this.

You are also welcome to send me the reply in a private message and/or try if you can post that exact text in the Hesk demo help desk.
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
George
Posts: 10
Joined: Wed Dec 13, 2017 7:36 am

Re: 404 error when posting specific canned response

Post by George »

Hi, Klemen,

The issue has been resolved.

There was indeed a mod_security rule that disallowed much longer replies (I was positive I had posted even longer replies successfully, but oh well).

The solution was to:

a) Modify the rule to allow for much longer replies

b) White-list admin_reply_ticket.php

This thread can close.

Thanks for the fast support, as always!

George
Post Reply