Modify Records – Access not Permitted. Error - Permalink

By daniel - December 12, 2019

Hi All,

This issue was taken to a support ticket, but I wanted to relay the cause of the issue and the fix in case anyone encounters a similar issue.

The issue was caused by an interaction between the Permalinks plugin and the Form Builder plugin. When active, the permalinks plugin sets up the "num" URL parameter in the background so that the viewer can load the correct page record, but the Form Builder code was also trying to interpret that "num" as a form record. Since the form is set up to not allow modifying records, this caused the error.

Since the form in question didn't ever need to be able to modify records, I disabled the form checking for a form record num by changing this line (generated by Form Builder):

  $FORM_RECORD_NUM     = intval(@$_REQUEST['num']);   // specify record number to edit in url like this: ?num=123

To this:

  $FORM_RECORD_NUM     = false; // intval(@$_REQUEST['num']);   // specify record number to edit in url like this: ?num=123

Also, to answer your other question:

On a side issue. When posting in the forum is it necessary to hide the domain name in posts to avoid this thread appearing in search engines. I whitelabel the software, and don't want a customer to google their own domain name and find out I am having trouble.

Yes - we allow our forum to be indexed by search engines and so you will want to obfuscate any domains you don't want appearing in search results.

Cheers,

Daniel
Technical Lead
interactivetools.com