How to fix submit form problem?

Category: Q&A | Posted date: 2016-11-29 10:50:28 | Updated date: 2016-11-30 17:55:16 | Posted by: Admin User


How to fix submit form problem? When login to backend system or any form has error to show (An Error Was Encountered)


How to fix submit form problem?

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:
  1. Go to Your CSZ CMS directory. And go to "cszcms/config"
  2. Edit the "config.php" file. Search the "$config['cookie_domain']" and "$config['csrf_protection']".
  3. Change $config['csrf_protection'] = TRUE; to $config['csrf_protection'] = FALSE; and change $config['cookie_domain'] = '.'.EMAIL_DOMAIN; to $config['cookie_domain'] = '';
  4. Now this problem has been fixed.

This bug has been fix to next version (1.1.4)


Thanks,

cool