Map not showing on small group membership | Directory | Support

Support Forum

We use and recommend UK2 for hosting - get a month free

Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register sp_MemberList Members

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Map not showing on small group membership
10th June 2019
12:14 pm
Avatar
Member
Members
Forum Posts: 55
Member Since:
2nd April 2019
sp_UserOfflineSmall Offline

Hi Andy,
Trying to show a map of our Life group memberships and am receiving the following on the live page;
===========
Short List
PDF of small groups

Map loads onfront end!
===========

Using the shortcode

Many thanks,
Rich.

10th June 2019
12:26 pm
Avatar
Admin
Forum Posts: 663
Member Since:
4th March 2015
sp_UserOfflineSmall Offline

Can you give a link please?
Or in Google Chrome, right click in the page, then "Inspect" then "Console" and copy and paste any errors shown please

If you are finding the plugin useful, please subscribe to the app - it's free for your congregation to use and only £9.99pm for a church subscription

10th June 2019
1:57 pm
Avatar
Member
Members
Forum Posts: 55
Member Since:
2nd April 2019
sp_UserOfflineSmall Offline

Thanks Andy,

A parser-blocking, cross site (i.e. different eTLD+1) script, , is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See for more details.
A parser-blocking, cross site (i.e. different eTLD+1) script, , is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See for more details.
A parser-blocking, cross site (i.e. different eTLD+1) script, , is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See for more details.
A parser-blocking, cross site (i.e. different eTLD+1) script, , is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See for more details.
A parser-blocking, cross site (i.e. different eTLD+1) script, , is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See for more details.
A parser-blocking, cross site (i.e. different eTLD+1) script, , is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See for more details.
css:1 Failed to load resource: the server responded with a status of 400 ()
b960a.js:1 JQMIGRATE: Migrate is installed, version 1.4.1
The resource was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
scripts.js:1 Failed to load resource: the server responded with a status of 404 ()
VM14255:1 Uncaught ReferenceError: lat is not defined
at HTMLDocument. (:1:169)
at i (jquery.min.js:2)
at Object.fireWith [as resolveWith] (jquery.min.js:2)
at Function.ready (jquery.min.js:2)
at HTMLDocument.K (jquery.min.js:2)
at HTMLDocument.c (rocket-loader.min.js:1)
at p (rocket-loader.min.js:1)
at t.simulateStateAfterDeferScriptsActivation (rocket-loader.min.js:1)
at Object.callback (rocket-loader.min.js:1)
at t.run (rocket-loader.min.js:1)
css:1 Failed to load resource: the server responded with a status of 400 ()

10th June 2019
1:57 pm
Avatar
Member
Members
Forum Posts: 55
Member Since:
2nd April 2019
sp_UserOfflineSmall Offline

Link: https://www.dorchestercommunitychurch.org.uk/test/

PS. Maps are working elsewhere all ok.

10th June 2019
3:03 pm
Avatar
Admin
Forum Posts: 663
Member Since:
4th March 2015
sp_UserOfflineSmall Offline

That test link is login only - add loggedin=FALSE to make it visible.
That's a ton of warnings!
The error is that is for church admin is...
Uncaught ReferenceError: lat is not defined

The latitude and longitude for the small group map is centred on your venue - Do you have the site geolocated on the Services tab?

If you are finding the plugin useful, please subscribe to the app - it's free for your congregation to use and only £9.99pm for a church subscription

10th June 2019
3:30 pm
Avatar
Member
Members
Forum Posts: 55
Member Since:
2nd April 2019
sp_UserOfflineSmall Offline

Doh! So sorry...

Have added the not logged in bit...

Ok, for some reason, all the site info for the main base address was missing. Have added it and now see the map, centred around Church address. Should map pins be shown on here for the relevant Life Groups?

Thank you!
Rich.

11th June 2019
2:58 pm
Avatar
Member
Members
Forum Posts: 55
Member Since:
2nd April 2019
sp_UserOfflineSmall Offline

Hi Andy,

I've spent an age trying to weedle out the Console errors... I think the main issue was not having the geo-code for the main site address entered. I've now corrected that - thanks.

The map shows, but no pins on the map. The members directory map, loads all ok and shows pins, but no life group pins. ??

Console now;

ffe72.js:1 Lat:50.7143507 Lng: -2.46195739999996
ffe72.js:2 Uncaught TypeError: Cannot read property 'documentElement' of null
at ffe72.js:2
at XMLHttpRequest.request.onreadystatechange (ffe72.js:9)
(anonymous) @ ffe72.js:2
request.onreadystatechange @ ffe72.js:9

Any suggestions welcome please?
Many thanks...
Rich.

11th June 2019
3:32 pm
Avatar
Member
Members
Forum Posts: 55
Member Since:
2nd April 2019
sp_UserOfflineSmall Offline

additionally...

In the back-end, if I click on the 'Groups' tab, the map loads and the console / error is;

Does this help at all?

load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-core,moxiejs,plupload,jquery-ui-tabs,jquery-form&ver=910dbc5bbdd62e6e8ec9b8fb2692f723:8 JQMIGRATE: Migrate is installed, version 1.4.1
admin_sg_maps.js?ver=910dbc5bbdd62e6e8ec9b8fb2692f723:8 Uncaught TypeError: Cannot read property 'documentElement' of null
at admin_sg_maps.js?ver=910dbc5bbdd62e6e8ec9b8fb2692f723:8
at XMLHttpRequest.request.onreadystatechange (admin_sg_maps.js?ver=910dbc5bbdd62e6e8ec9b8fb2692f723:56)
(anonymous) @ admin_sg_maps.js?ver=910dbc5bbdd62e6e8ec9b8fb2692f723:8
request.onreadystatechange @ admin_sg_maps.js?ver=910dbc5bbdd62e6e8ec9b8fb2692f723:56
XMLHttpRequest.send (async)
(anonymous) @ VM16664:1
downloadUrl @ admin_sg_maps.js?ver=910dbc5bbdd62e6e8ec9b8fb2692f723:60
sgload @ admin_sg_maps.js?ver=910dbc5bbdd62e6e8ec9b8fb2692f723:5
(anonymous) @ VM16705 admin.php:542
i @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-core,moxiejs,plupload,jquery-ui-tabs,jquery-form&ver=910dbc5bbdd62e6e8ec9b8fb2692f723:2
fireWith @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-core,moxiejs,plupload,jquery-ui-tabs,jquery-form&ver=910dbc5bbdd62e6e8ec9b8fb2692f723:2
ready @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-core,moxiejs,plupload,jquery-ui-tabs,jquery-form&ver=910dbc5bbdd62e6e8ec9b8fb2692f723:2
J @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-core,moxiejs,plupload,jquery-ui-tabs,jquery-form&ver=910dbc5bbdd62e6e8ec9b8fb2692f723:2

11th June 2019
7:45 pm
Avatar
Admin
Forum Posts: 663
Member Since:
4th March 2015
sp_UserOfflineSmall Offline

The error is that it is failing to download a dynamic xml file with the smallgroup marker data in it. Not sure why! Could be a caching plugin.

View Source and then CTRL F to find var xml_url=

It should be a file like http://localhost/thegatewaychu.....36cd3b3baa - but your domain name will be different as well as the letters and numbers at the end. If you copy and paste that in your browser it should load an xml file, if it does then the page was cached and the security nonce is out of date. If it doesn't something else is wrong.

The code works on numerous sites I have, so it will be a clash or a local server issue.

If you are finding the plugin useful, please subscribe to the app - it's free for your congregation to use and only £9.99pm for a church subscription

12th June 2019
9:55 am
Avatar
Member
Members
Forum Posts: 55
Member Since:
2nd April 2019
sp_UserOfflineSmall Offline

FIXED IT!!

Thanks Andy, I found the problem... Am so chuffed. Thank you so much for your patience with me.

Ok, so here's it.. the xml file from the page source came back with;

"This page contains the following errors:
error on line 1 at column 104: Entity 'egrave' not defined
Below is a rendering of the page up to the first error."

Inspecting the file, I found some odd characters for one of the names of the small groups. --> crèche it didn't like the "è", so renamed it to creche and hey presto worked immediately.

Thanks for your efforts, I think having the map adds that extra dimension for people so they can visually see a group near to where they live.

Bless you,
Rich.

12th June 2019
10:36 pm
Avatar
Admin
Forum Posts: 663
Member Since:
4th March 2015
sp_UserOfflineSmall Offline

Those pesky diacritics, have no end of trouble with them!

If you are finding the plugin useful, please subscribe to the app - it's free for your congregation to use and only £9.99pm for a church subscription

Forum Timezone: Europe/London

Most Users Ever Online: 20

Currently Online:
6 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

David Z.: 76

Rich Cox: 55

Allen: 51

rrfranks: 40

Gavin: 31

Janeen: 23

365sussex: 21

ehout: 20

Jay Jones: 19

Jon: 18

Member Stats:

Guest Posters: 37

Members: 353

Moderators: 0

Admins: 1

Forum Stats:

Groups: 4

Forums: 13

Topics: 415

Posts: 1585

Administrators: andymoyle: 663