I am trying to: See a list of all resources in the DB searching by a zipcode
Link to a page where the issue can be seen: hidden link
I expected to see:
A list of resources in Cleveland, OH
Instead, I got:
No results, and the map centered on 0-0 lat lng
Our resources search page had been working where you could enter a city or a zip code and this would pull up nearby results.
Recently an issue was reported where entering SOME zipcodes and selecting the entry from the dropdown returns no results. Searching for the city and choosing from the dropdown DOES return nearby results. Example:
Go to the above page and in the left search, type Cleveland. Select CLEVELAND, OH US from the dropdown. Note that there are several results and the map is centered on Cleveland.
Now clear the page and type 44101 in the search box, selecting 44101 Cleveland OH from the dropdown. Press submit and see no local results and the map centered on 0-0
All recent versions of Toolset plugins are installed.
Some PHP warnings appear in the logs. Ex:
2024/10/11 21:57:19 [error] 97010#97010: *408341 FastCGI sent in stderr: "PHP message: PHP Warning: is_writable(): open_basedir restriction in effect. File(/www/standingwithyouorg_163/) is not within the allowed path(s): (/www/standingwithyouorg_163/public:/www/standingwithyouorg_163/mysqleditor:/www/standingwithyouorg_163/web:/www/standingwithyouorg_163/deploy:/www/standingwithyouorg_163/deployment:/www/standingwithyouorg_163/deployments:/usr/share:/tmp) in /www/standingwithyouorg_163/public/wp-content/plugins/types/vendor/toolset/types/embedded/views/image.php on line 390" while reading response header from upstream, client: 2601:1c0:8500:2390:3ce5:26e:5fa8:49d1, server: hidden link, request: "POST /wp-admin/admin-ajax.php HTTP/2.0", upstream: "hidden link:", host: "www.standingwithyou.org:13990", referrer: "hidden link"
I can provide access if needed, but hoping it's not needed.
I think this should be a bug, but trying to submit as bug isn't working on your system
Hello. Thank you for contacting the Toolset support.
Yes, can you please send me admin access details and let me check if I spot anything that is the cause of the issue.
*** 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.
When I checked the Maps settings I see the Google Map API registered is not working and I see the following error when I click on the "Check API" button:
- hidden link
REQUEST_DENIED - API keys with referer restrictions cannot be used with this API.
And when I checked with my google map unrestricted API key that works and navigated to the section "Cached data" and clicked on the button "Check for missing cache entries" and when I search with the same address you mentioned:
Now clear the page and type 44101 in the search box, selecting 44101 Cleveland OH from the dropdown. Press submit and see no local results and the map centered on 0-0
I can see the result as expected and see map with the markers.