Buy Now
Sign in

Choronoform v4 Saving Error 403 Forbidden

qamar0786 , November 25 2017
Answered
Q
qamar0786
Hello,

I have recently upgraded our Joomla 3.6/PHP 5.6 website to Joomla 3.8/PHP 7.0

The CF4 forms seems to work fine after upgrade but needed some custom code updating with MySQLi_connect() function.

I was able to update the custom code in one of the form last week without any problem, but I cannot do so any longer on another form and get the error below when I click Save button from the Form Wizard.

403
Forbidden
Access to this resource on the server is denied!

The above error only happens with one of the form tested.

Any help to fix this access permission error will be highly appreciated, thanks.

Qamar Uddin
GreyHead
Hi Qamar,

No immediate answer - is there anything in the server logs that helps you know what 'resource' is denied?

Bob
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
Q
qamar0786
Hi Bob,

I just checked the cPanel Errors log and seen the entries below:
2017-11-26 17:15:59.340 [INFO] [82.21.107.200:59746:HTTP2-155] File not found [/home/moonsighting/public_html/404.shtml]
2017-11-26 17:15:59.316 [INFO] [82.21.107.200:59746:HTTP2-153] File not found [/home/moonsighting/public_html/404.shtml]
2017-11-26 17:15:58.939 [INFO] [82.21.107.200:59746:HTTP2-151] File not found [/home/moonsighting/public_html/403.shtml]
2017-11-26 17:15:38.492 [INFO] [82.21.107.200:59746:HTTP2-91] File not found [/home/moonsighting/public_html/404.shtml]
2017-11-26 17:15:38.492 [INFO] [82.21.107.200:59746:HTTP2-91] File not found [/home/moonsighting/public_html/plugins/editors/tinymce/jscripts/tiny_mce/tiny_mce.js]

Is there any clues from above why it won't let me edit the CF4 form custom code?

Regards,

Qamar Uddin
GreyHead
Hi Qamar,

Maybe the missing tiny_mce.js file - though I rather doubt that is the problem.

Bob
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
Q
qamar0786
Hi Bob.

I managed to get the hosting support look into this error with the help of a video recording and they managed to identify it down to ModSecurity being enabled.

Once the ModSecurity was disabled, I was able to save the CF4 form (which has custom code that accesses a database table).

Regards,

Qamar Uddin