rhuseby:
I have installed the new 1.5.0 RC2 on a Windows 2003 server and can't seem to get the Admin module working. Just gives internal server 500 error. I'm sure LINUX / Apache is better but I have what I have.... PHP 5.3.8. MySQL 5.1.
rhuseby:
[30-Nov-2011 09:51:32] 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.', '', '10.25.1.210') in C:\www\b2c.bauerfeinusa.com\webstore\includes\classes\db\mysql\query_factory.php on line 101
Changed gzpost to allow NULL
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.
Yes, setting it to a default of NULL or just blank will suffice. Fix will be included in final official v1.5.0 release.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.