Support

  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.

Request Support

Support is currently Offline

Support Availability

Working days: Monday to Friday. The support staff is not available on weekends; in the most of cases tickets will not be answered during that time.

Reply time: Depending on the complexity of your support issue it's usually between a few minutes and 24 hours for paid members and about one week for free members. When we expect longer delays we will notify you.

Guidelines

Before you post: read the documentation and search the forums for an answer to your question.

When you post: include Site Details if you request a support (you can use the form below the reply in Site Details tab).

Auto Solved Question: If after a week the author of the post does not reply to a request by moderator, the question will be marked as resolved.

Language: only English

Search Users

Easy Profile® is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla is Free Software released under the GNU/GPL License.