When I trying to open System->Settings in opencart and to do some changes there, or do nothing and just open settings and press "Save" I see this error in browser:
Code: Select all
PHP Fatal error: Uncaught exception 'ErrorException' with message 'Error: Field 'serialized' doesn't have a default value<br />Error No: 1364<br />INSERT INTO oc_setting SET store_id = '0', `group` = 'config', `key` = 'config_name', `value` = 'Свой китаец - комплектующие для станков ЧПУ'' in D:\INETPUB\VHOSTS\kitaez-cnc.com\httpdocs\system\database\mysqli.php:40
Stack trace:
#0 D:\INETPUB\VHOSTS\kitaez-cnc.com\httpdocs\system\library\db.php(20): DBMySQLi->query('INSERT INTO oc_...')
#1 D:\INETPUB\VHOSTS\kitaez-cnc.com\httpdocs\admin\model\setting\setting.php(24): DB->query('INSERT INTO oc_...')
#2 D:\INETPUB\VHOSTS\kitaez-cnc.com\httpdocs\admin\controller\setting\setting.php(13): ModelSettingSetting->editSetting('config', Array)
#3 [internal function]: ControllerSettingSetting->index()
#4 D:\INETPUB\VHOSTS\kitaez-cnc.com\httpdocs\system\engine\front.php(42): call_user_func_array(Array, Array)
#5 D:\INETPUB\VHOSTS\kitaez-cnc.com\httpdocs\system\engine\front.php(29): Front->execute(Object(Act in D:\INETPUB\VHOSTS\kitaez-cnc.com\httpdocs\system\database\mysqli.php on line 40
After this in admin I see this: And something strange is going on with my opencart theme.
I have this problem only on webhosting (bluehost.com). When I using my local hosting (OpenServer) I have no thiserror.
What Imust to do?? help ^(