Skip Navigation

[Resolved] Map no longer displays

This support ticket is created 6 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

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.

Our next available supporter will start replying to tickets in about 3.68 hours from now. Thank you for your understanding.

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 4 replies, has 2 voices.

Last updated by bradleyS 6 years, 9 months ago.

Assisted by: Minesh.

Author
Posts
#609292

This view has been working for the last few years. It's suddenly stopped working.

Link to a page where the issue can be seen:
hidden link

A few points to note:
1. The Google API is configured and has been working fine to date.
2. I have disabled the Toolset Maps plugin, deleted the plugin and then installed the latest version of the plugin. This has not solved the problem.
3. When I try to update any settings or views code, the change is not updated upon page refresh. Not update or save buttons activate when changes are made.

Loop output code

[wpv-layout-start]
<div id="main-content" class="">
        <div class="clear"></div>
<h1>International Distributors of Gurtech Products</h1>
<p>Click on the marker(s) in your country to see the contact details. Use the + & - zoom buttons on the map to zoom in or out and click in the map to pan to your area of interest.</p>
	[wpv-items-found]
	<!-- wpv-loop-start -->
	<wpv-loop>
		[wpv-post-body view_template="loop-item-in-distributors-overview-map"]
	</wpv-loop>
	<!-- wpv-loop-end -->
	[wpv-map-render map_id='distributor-maps' map_width='100%' map_height='600' cluster='off' single_zoom='6']
	<div style="text-align:center;margin-top:20px;">
		<button class="js-wpv-addon-maps-reload-map" data-map="distributor-maps">Reload Map</button> &nbsp; <button class="js-wpv-addon-maps-restore-map" data-map="distributor-maps">Zoom Out</button>
  	</div>
	[/wpv-items-found]
	[wpv-no-items-found]
		<strong>[wpml-string context="wpv-views"]No address available[/wpml-string]</strong>
	[/wpv-no-items-found]
</div>
[wpv-layout-end]

View Template

[wpv-for-each field="wpcf-distributor-address"]
	[wpv-map-marker map_id='distributor-maps' marker_id='marker-[wpv-post-id]-[wpv-items-count]' marker_title='[wpv-post-title]' marker_field='wpcf-distributor-address' debug='false']
		<strong>[wpv-post-link]</strong><br />
		[types field='distributor-contact-name'][/types]<br />
		[types field='distributor-contact-mobile' output='raw'][/types]<br />
		[types field='distributor-telephone' separator=', ' output='raw'][/types]<br />
		[types field='distributor-email'][/types]<br />
		[types field='distributor-web-site' no_protocol='true' target='_blank'][/types]<br />
		<br />
		[types field='distributor-address' separator='<br />'][/types]
	[/wpv-map-marker]
[/wpv-for-each]
#609301

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

Well - When I tried to visit the problem URL you shared with us I found following errors on browser's console.

views_filter_distance_frontend.js Failed to load resource: the server responded with a status of 403 (Forbidden)

jquery.geocomplete.min.js Failed to load resource: the server responded with a status of 403 (Forbidden)

views_filter_distance_frontend.js Failed to load resource: the server responded with a status of 403 (Forbidden)

wpv_addon_maps.js Failed to load resource: the server responded with a status of 403 (Forbidden)

It looks like above files were not available or you have corrupted plugin.

1)
Could you please try to reinstall the Toolset maps plugins and try to resolve your issue.

*** Please make a FULL BACKUP of your database and website.***
You can download latest plugin release from your accounts page:
=> https://toolset.com/account/downloads/

2)
If #1 does not help, in order to minimize the cause of the issue:
Could you please try to resolve your issue by deactivating all third-party plugins as well as the default theme to check for any possible conflicts with any of the plugins or themes?

#609305

Thx.

I already reinstalled the Maps plugin, so don't believe it to be a corruption issue.

I've asked the server administrators to check permissions and .htaccess to rule that out. Will revert.

#609311

Minesh
Supporter

Languages: English (English )

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

Ok fine - thank you. Please update me when you have any news to share.

#610160

Hi Minesh. The administrators found a problem with the .htaccess file.

Thx for the help.