For some reasons, we are not able to save changes made in existing contract or new contract anymore. After clicking Save, the system will always go to Home page. Nothing is saved.
I cannot find any error in web server log or fatal error in SuiteCRM System Settings > Logger Settings > view log
I have also done a Quick Repair and Rebuild, but it does not help.
SuiteCRM is running on a Linux shared server. The php error log is located within the same directory as suitecrm - error_log. But I cannot find any error message for that execution time.
For a directory or file permission issue, I will usually see error messages in the apache web server error log within cPanel. But there is nothing in there after clicking the SAVE button in Contract module.
I have also tested at suitecrm.com demo server and another new setup at my local Windows computer running xampp. Yes, there is no problem. I can save new contract and changes made to it.
So the issue is caused by our production shared Linux server. For the production instance, the Contracts module has been used for months without problem. What I do not understand is why only Contract module is affected, even for the newly installed suitecrm test instance.
Any suggestion on how should I continue with the trouble shooting?
Just tested saving a new AOS Contract on Linux shared hosting and it works here.
If you have PHP skills or can find someone who does to help you - you should go into your php.ini on your shared server , set log_errors to on, error_log to your error file pathname, error_reporting to E_ERROR . If that still doesn’t show errors in your php error log, you add a few lines of PHP code to make Suite directly log errors in the , bypassing the built in SugarLogger, because I have found places where it does not load, just to rule out the possibility of non-instantiated SugarLogger being the reason why you’re not seeing any PHP errors (it tries to log, but SugarLogger doesn’t exist, so that fails).
With the help from our server host, they have found the reason why Contract cannot be saved. It is due to the blocking by ModSecurity. Below is the message.