1. dladuron
  2. General
  3. Thursday, August 31 2017, 10:50 PM
I have MySQL 5.7 and I have error #1292 - Incorrect date value: '0000-00-00' for column 'dob' at row 1 when trying to set other table fields "map_lat" and "map_lng" to decimal (9.6) NULL in order to retrieve accurate google geo.

Please assist in identifying within your code where the date value is set in order to change it to meet the strict mode as per latest MYSQL 5.7
admin Accepted Answer
Admin
Hi,
sorry for late reply, it was night for us.

can you explain me better when this error has been encountered ?
  1. more than a month ago
  2. General
  3. # 1
dladuron Accepted Answer
The error is encountered when attempting to update any other table perimeters;
example:
changing map_lat from txt -> DECIMAL (9,6) NULL
  1. more than a month ago
  2. General
  3. # 2
admin Accepted Answer
Admin
Hi,
sorry but I have not understand, this is a your custom query? or you have this error when using Easy Profile?
  1. more than a month ago
  2. General
  3. # 3
dladuron Accepted Answer
no this is a easyprofile db issue.

Google maps lng and lat for calculations need to be in DECIMAL (9,6) NULL field format and you made it in vartext(255)

you wrote code for legacy MySQL and it is not compatible with strict requirements for MySQL version 5.7 thus no chages to structure can be made.

I just need to know where the code is located so I can modify you MySQL build to make changes
  1. more than a month ago
  2. General
  3. # 4
admin Accepted Answer
Admin
Ok, now I have understand, you can find code at /administration/com_jsn/helpers/fields/gmap.php

you wrote code for legacy MySQL and it is not compatible with strict requirements for MySQL version 5.7 thus no chages to structure can be made.
thanks for report this, we will check and will implement correct format in future releases.
  1. more than a month ago
  2. General
  3. # 5
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.