Action you have requested is not allowed error

后端 未结 11 1816
清酒与你
清酒与你 2020-12-06 06:05

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:

11条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-06 07:11

    This is probably a rare case, but I didn't see my issue since my server has many different domain names that are very similar. The problem was that I was landing on a domain that was completely wrong, but since "The action you have requested is not allowed." error takes precedence over " 404 Not Found Error" I couldn't see it. My problem was that I didn't change my base_url to the correct domain. So if none of the above solutions work for you, you might check your settings for $config['base_url'] in application/config.

提交回复
热议问题