Totally Zenned
- Join Date:
- Aug 2009
- Location:
- North Idaho, USA
- Posts:
- 2,015
- Plugin Contributions:
- 0
db upgrade does not fix all incorrect datetime values
156a vanilla install w/demo data
verify basic functionality
drop db tables
import db tables from live 154 site
run zc_install
logfile generated
The db upgrade did modify 1 or 2 dates which were 0000-00-00
There is one that did not get modified; thus causing the error to be logged
Actually, it modified date_added but not last_modified
[05-Jan-2019 11:41:28 America/Los_Angeles] MySQL error 1292 encountered during zc_install:
Incorrect datetime value: '0000-00-00 00:00:00' for column 'last_modified' at row 718
ALTER TABLE configuration ADD val_function text default NULL AFTER set_function;
---------------
[05-Jan-2019 11:41:31 America/Los_Angeles] MySQL error 1292 encountered during zc_install:
Incorrect datetime value: '0000-00-00 00:00:00' for column 'last_modified' at row 718
ALTER TABLE configuration MODIFY configuration_key varchar(180) NOT NULL default '';