Skip Navigation

[Resolved] Upgrading site to MySQL 8 causes issue with Toolset Maps Searches

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 2 replies, has 2 voices.

Last updated by Minesh 1 year, 4 months ago.

Assisted by: Minesh.

Author
Posts
#2642897
5-4 search results.jpg
8-0 search results.jpg

We are testing our site in preparation to upgrade MySQL from 5.4 to 8.

The site has two different ways to search: 1) search for counselors within X miles of a zip code who provide in-person services, or 2) search for counselors who provide remote services within a given state.

If you search on hidden link, which is running on MySQL 5.4, you can see how the two different searches work.

However, If you do a zip code search on hidden link (use username "script" and password "abundant" to access the site), which is a copy of the site running on MySQL 8.0, you'll see that the two different searches are being combined. It shows the locations of counselors who provide in-person services, but if any of those counselors also provide remote services in other states, those states are included in the search results. The search results map therefore shows large regions of the country.

We need to figure out how to make searches in MySQL 8 behave like they do in MySQL 5.

I've included screenshots of how the two search results screens differ. The debug information I've provided is from the MySQL 8.0 site.

#2643169

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

When I try to access the Toolset settings page with the admin access details it's showing 404 page not found error:
- hidden link

Can you please first fix the above issue so I can check the maps settings.

Can you please share admin access details for the site where MySQL 5 is installed and full admin access details where the issue with MySQL 8.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2643199
#2643623

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I checked that with both server it has 70 results found and MySQL query is also the identical on both the server.

On the following server:
- hidden link

When I checked the browser console, it shows the following information:

Waiting for Google Maps... search-counselors:590:13
Map Instance Found in 100ms search-counselors:558:15
Init Complete, Filtering Map Markers search-counselors:349:15
Adding Radius Circle search-counselors:367:17
Added Radius Circle search-counselors:378:17
Filtering Marker Entries search-counselors:381:17
Array(77) [ (2) […], (2) […], (2) […], (2) […], (2) […], (2) […], (2) […], (2) […], (2) […], (2) […], … ]
search-counselors:382:17
Valid Markers: search-counselors:386:17
Array(71) [ (2) […], (2) […], (2) […], (2) […], (2) […], (2) […], (2) […], (2) […], (2) […], (2) […], … ]
search-counselors:387:17
Invalid Markers: search-counselors:388:17
Array(6) [ (2) […], (2) […], (2) […], (2) […], (2) […], (2) […] ]
search-counselors:389:17
Defining Marker Bounds search-counselors:396:21
Object { east: -104.691216, north: 39.0999, south: 38.808743, west: -104.880489 }
search-counselors:405:21
^ Bounds Defined search-counselors:406:21
Fitting Map to Marker Bounds search-counselors:408:21
Map Bounds Updated search-counselors:410:21
Updating Markers search-counselors:412:21
Markers Updated search-counselors:415:21

But on the server where you installed the MySQL 8 version, it shows the following information on browser's console:
- hidden link

Waiting for Google Maps... search-counselors:1081:13
Map Instance Found in 100ms search-counselors:1049:15
Init Complete, Filtering Map Markers search-counselors:840:15
No Query Coords, Radius Circle Not Added

Are you using any custom javascript to manipulate the markers? as with the site where its working it shows the marker array but not with the site where you installed the MySQL 8 version.

#2644039

Hello Minesh,
Using the input you provided, we did some further searching and determined that the tool we're using to download the test copy of the stg.christiancounselorsnetwork.com site modified a number of the files, e.g. wpconfig.php, and by all appearances caused the behavior we're seeing.

If we run into any other issues, we'll submit another ticket.

Thank you for your help!

Barney Royalty
Focus on the Family