Zen cart installation / maintenance / customisation / hosting
Supported Modules: Dutch language pack, Multi site, Dynamic Price Updater and more.
Silly me, of course, rarely use that method, only when prompted by a pop up box usually.
Here is the response, of those not with a zero on matched rows.
Should mean I can now use the install.php in my root folder of 1.56a I guessCode:SQL query: UPDATE zen_configuration SET last_modified = NULL WHERE last_modified < '0001-01-01' and last_modified is not null Matched rows: 1 SQL query: UPDATE zen_specials SET expires_date = '0001-01-01' WHERE expires_date < '0001-01-01' and expires_date is not null Matched rows: 4 # MySQL returned an empty result set (i.e. zero rows).
Last edited by Dinnages; 11 Jan 2019 at 09:50 AM. Reason: grammer
Original store was 1.39:- TransportPostcards.co.uk/shop (redirecting out)
Working on a fresh new store... 1.56a TransportPostcards.co.uk/store
Appreciate Zen-Cart? - Always keep a banner link on your shop
Zen cart installation / maintenance / customisation / hosting
Supported Modules: Dutch language pack, Multi site, Dynamic Price Updater and more.
Sorry that was it: /zc_install
However i am back to the other thread now dates ought to be good.
My own post on the upgrade 139 - 156/156a progress for others is here
https://www.zen-cart.com/showthread....issing-options
Original store was 1.39:- TransportPostcards.co.uk/shop (redirecting out)
Working on a fresh new store... 1.56a TransportPostcards.co.uk/store
Appreciate Zen-Cart? - Always keep a banner link on your shop
Note that in the post containing all the queries, eg.
The suggested new value is 0001-01-01 00:00:00.UPDATE admin SET pwd_last_change_date = '0001-01-01 00:00:00' WHERE pwd_last_change_date < '0001-01-01' and pwd_last_change_date is not null;
This is now out of range too, due to changes by Mysql:
https://github.com/zencart/zencart/issues/2397
If you do have values in your database that are out of range, they may stop certain upgrade queries from being carried out.
Certainly 0000-00-00 00:00:00 IS a problem, and 0001-01-01 00:00:00 should be a problem, but have no evidence to show that.
So, search and fix the values and the default for that column.
I had a problem with an extra field I had added that used 0000-00-00 00:00:00 as the default.
I think using all the queries above as
is ok.UPDATE admin SET pwd_last_change_date = '1000-01-01 00:00:00' WHERE pwd_last_change_date < '0001-01-01' and
pwd_last_change_date is not null;
Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...
Should we just use the beginning of the epoch for a base value?
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
I couldn't say.
I think the criteria is firstly to change the 00... to something MySql accepts, that will not break anything that is using it.
I forgot to mention that the default should be null, but code may have to be updated to deal with it.
I like the idea of using the suggested 1000...as it is the bottom of the range.
Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...