Originally Posted by
OldNGrey
I have installed ZC v1.5.0RC2 on Windows 7 with Apache v2.2.21, MySQL 5.1.50, PHPv5.2.14
and received an error when trying to access the admin pages.
The debug log file contained the following:
"PHP Fatal error: 1364:Field 'gzpost' doesn't have a default value :: insert into admin_activity_log (access_date, admin_id, page_accessed, page_parameters, ip_address) values (now(), '0', 'Log found to be empty. Logging started.', '', '192.168.1.148') in E:\web\ZenCart-150\includes\classes\db\mysql\query_factory.php on line 101.
I resolved it by making teh gzpost field in the admin_activity_log default to a NULL value.
Bookmarks