Closed vicos59 closed 1 year ago
So, the table is:
I updated the table to set the DEFAULT to NULL (which is what you see above. There was no default value before.
Anyway, that moves us along to the next error:
This is the statement that is trying to execute from updateFactory.php:
result_sql, line 828: REPLACE INTO
geodesic_upgrade_queriesSET
query_id=1,
strict=0,
status=-1
which sure enuf produces an error in SQL:
The correct SQL requires that status be quoted:
REPLACE INTO
geodesic_upgrade_queriesSET
query_id=1,
strict=0,
status='-1'
Make sure you set strict mode to true in config, I think that is default though.
(Just to rule that out)
That is a pretty old update though so wouldn't be surprised if it doesn't play nice.
Make sure you set strict mode to true in config, I think that is default though.
Yep, mine is set to '0'
Let me change and try again.
ha ha, yep. That was the issue. Thanks @jonyo
If only you could have seen the look of disappointment on my face when that error popped up. Like a sad hound dog.
The domain was moved from an old server which didn't use strict mode.
@jonyo, I wish I would have run a test upgrade sooner. In any case:
It fails hard on 7.5.3 -> 7.6.0
From the looks of it, the problem is because mySQL is running in strict mode and thus default values are required for all fields.