Jump to content

Forbidden when save a page


Erik
 Share

Recommended Posts

When I want to save a page on my website with a certain template, I get the message "forbidden" in the web browser.

When opening this page in the Processwire Admin I already get an error:
Notice: Array to string conversion in /var/www/vhosts/domain.com/httpdocs/site/modules/FieldtypeTable/InputfieldTable.module online 432

I have no idea where to start troubleshooting this error.

Can someone help me out?

Link to comment
Share on other sites

Hello,

11 hours ago, Erik said:

I have no idea where to start troubleshooting this error.

 

Start by checking the ProcessWire logs and then the logs of the webserver/PHP process. You might need to adjust ProcessWire's .htaccess file.

Also, more info are needed for us to give you better support. Dev or prod environment, hosting type, version, etc.

  • Like 1
Link to comment
Share on other sites

Just a thought...

One possibility is if you have Mod Security installed on the hosting.  Often you will get a 403 (Forbidden) message on immediate posting if there's something in the page or posted content that triggers one of the modsec firewall rules.  If this happens, nothing gets posted, and the 403 message is shown very quickly.

I suspect the PHP Notice is probably unrelated.  

 

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...