403 Forbidden!

Resolve a 403 Forbidden error when editing a CF form that reads from a database.

Overview

The error occurs because the server's security module (mod_security) blocks certain requests when the form attempts to read user data.
Contact your hosting provider to review and adjust the mod_security rules, as they may be incorrectly blocking legitimate form operations.

Answered
ChronoForms v6
ha har7801 21 May, 2018
Just looking for a bit of advice on what may be causing this error.

I can create, test, run and operate the forms on localhost no probs. Can upload to server and run and operate no probs. Try to change the form and BANG, error. If I do a save after change it just hangs in save screen and processes nothing. If I do a save and close then this:
​[h1]Forbidden[/h1]
You don't have permission to access /administrator/index.php on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

This only occurs with forms that are trying to read my users DB. Im not writing to it. If I remove the read then no dramas and the form goes back to working again.

I am only reading the user name and calling it with a {user:id}

Found this elsewhere in the forums but a bit dated:
http://www.chronoengine.com/forums/posts/f26/t66485/you-don-t-have-permission-to-access-administrator-index-php.html

I can make any changes locally and upload the form which is my workaround, just not the best time wise.

Thanks.
he healyhatman 22 May, 2018
Answer
1 Likes
Check with your host if mod_security is blocking anything. That was my issue, my host made changes to mod_security and certain strings like "data:" were being blocked.
This topic is locked and no more replies can be posted.