How to fix submit form problem?
Category: Q&A | Posted date: 2016-11-29 10:50:28 | Updated date: 2017-09-21 14:23:30 | Posted by: CSZCMS Admin
How to fix submit form problem? When login to backend system or any form has error to show (An Error Was Encountered)
Now, Version 1.1.3 has bug for submit any form with CSRF Token Security. When you submit the form. The system has to show error (An Error Was Encountered).
Resolved (For 1.1.3 Only):
- Go to Your CSZ CMS directory. And go to "cszcms/config"
- Edit the "config.php" file. Search the "$config['cookie_domain']" and "$config['csrf_protection']".
- Change $config['csrf_protection'] = TRUE; to $config['csrf_protection'] = FALSE; and change $config['cookie_domain'] = '.'.EMAIL_DOMAIN; to $config['cookie_domain'] = '';
- Now this problem has been fixed.
This bug has been fixed on version (1.1.4)
Thanks,