Page 1 of 1

Can't edit posts/tickets submitted

Posted: Sun Oct 16, 2011 11:59 pm
by lizmcreations
Script URL: http://www.mmlynchsupport.com
Version of script: 2.3
Hosting company: HostDime
URL of phpinfo.php: http://www.mmlynchsupport.com/phpinfo.php
URL of session_test.php: http://www.mmlynchsupport.com/session_test.php
What terms did you try when SEARCHING for a solution: editing a post, admin/edit_post.php

Write your message below:

I've got e-mail piping set-up so that any e-mail's sent to my client - she can forward to the e-mail address and it will create a ticket --- but, the problem is it creates a ticket from her e-mail address.

I'd like, as the admin, to be able to edit the e-mail address of the post - but I am getting this error when I try to do so:

"Forbidden

You don't have permission to access /admin/edit_post.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."

I swear I was able to edit the e-mail address or name of person on a submitted post, but I can't seem to replicate that ability and I'm not sure what settings I can change or what to chmod that file to in order to be able to edit the tickets that have been submitted.

Liz Martinez

Re: Can't edit posts/tickets submitted

Posted: Mon Oct 17, 2011 1:15 pm
by Klemen
Does the error show when you click the Edit button or when you try to save changes?

Your edit_post.php file is there and seems to be working fine from a non-logged user (gives correct error message).

Can you try clearing your browser cache, closing all browser windows then trying again?

If you still get the same error check your web hosting error logs (usually available from the hosting control panel).

Re: Can't edit posts/tickets submitted

Posted: Tue Oct 18, 2011 12:48 am
by lizmcreations
It is only when trying to save the changes ...

I used firefox - cleared cache, cookies, history, etc...

then tried again. Still no luck. This is the error line in the error log:


[Mon Oct 17 20:42:06 2011] [error] [client 71.235.108.154] File does not exist: /home/mmlynchs/public_html/403.shtml, referer: http://www.mmlynchsupport.com/admin/edi ... M-9LN-QQPD


Thank you for your time and assistance ... I greatly appreciate it!

Liz Martinez

Re: Can't edit posts/tickets submitted

Posted: Tue Oct 18, 2011 2:59 pm
by Klemen
Strange, it could be a security setting on your server that is being triggered by something.

Would you be prepared to give me access to your help desk? If yes create a help desk user account for me and send me username/password using private messages.

The error log just says that your error file doesn't exist, it doesn't give info about the error itself I'm afraid.

Re: Can't edit posts/tickets submitted

Posted: Wed Oct 19, 2011 2:31 am
by lizmcreations
ok, I sent you a PM with login info ... :)

Re: Can't edit posts/tickets submitted

Posted: Wed Oct 19, 2011 3:10 pm
by Klemen
I figured it out - it is definitely a security software (maybe Mod secure?) that is blocking requests.

Any ticket that has a line that looks like

Code: Select all

To: email@address.com
in the message gets blocked by your server. Most likely something your host has setup to prevent spammers from abusing insecure scripts.

If you remove all lines that start with "To: " and have an email address from the message you should be able to save it without problems.

Talk to your host to confirm this and find a way to exclude your account from these rules.

Re: Can't edit posts/tickets submitted

Posted: Wed Oct 19, 2011 6:41 pm
by lizmcreations
thank you, thank you, thank you! What an obscure issue - but it worked! All I had to do was remove the "to:email" line while editing the post and it saved!!!

I cannot thank you enough, there is no way that I would have ever thought to even check that!!

Liz