Search code examples
codeigniterpyrocms

Action you have requested is not allowed error


I made a module named Gallery which works fine on my localhost with version 2.0.3, but when using version 2.1.0 on a remote site I can not submit a form and I get the error:

The action you have requested is not allowed.

Why is this?


Solution

  • It is a Codeigniter error related to the CSRF protection. You can cancel it in cms/config/config.php