Return to Project-GC

Welcome to Project-GC Q&A. Ask questions and get answers from other Project-GC users.

If you get a good answer, click the checkbox on the left to select it as the best answer.

Upvote answers or questions that have helped you.

If you don't get clear answers, edit your question to make it clearer.

+1 vote
726 views

My browser is Google Chrome.

When loading the livemap for the first time, I get the error "jquery.min.js?v=1593505654:4 POST https://project-gc.com/ajax/livemap.php 500"

If I visit the livemap and try to change anything (e.g. only Virtual caches), I get this errror:

Uncaught TypeError: Cannot read property 'cacheIdsInCurrentVGPS' of null
    at Object.<anonymous> (pgc_leaflet.min.js?v=1593505654:1)
    at Function.each (jquery.min.js?v=1593505654:2)
    at Object.success (pgc_leaflet.min.js?v=1593505654:1)
    at i (jquery.min.js?v=1593505654:2)
    at Object.fireWith [as resolveWith] (jquery.min.js?v=1593505654:2)
    at y (jquery.min.js?v=1593505654:4)
    at XMLHttpRequest.c (jquery.min.js?v=1593505654:4)
(anonymous) @ pgc_leaflet.min.js?v=1593505654:1
each @ jquery.min.js?v=1593505654:2
success @ pgc_leaflet.min.js?v=1593505654:1
i @ jquery.min.js?v=1593505654:2
fireWith @ jquery.min.js?v=1593505654:2
y @ jquery.min.js?v=1593505654:4
c @ jquery.min.js?v=1593505654:4
XMLHttpRequest.send (async)
send @ jquery.min.js?v=1593505654:4
ajax @ jquery.min.js?v=1593505654:4
GetGeocachesWithinBoundingBox @ pgc_leaflet.min.js?v=1593505654:1
(anonymous) @ pgc_leaflet.min.js?v=1593505654:1
each @ jquery.min.js?v=1593505654:2
RunGetGeocachesWithinBoundingBoxQueue @ pgc_leaflet.min.js?v=1593505654:1
success @ pgc_leaflet.min.js?v=1593505654:1
i @ jquery.min.js?v=1593505654:2
fireWith @ jquery.min.js?v=1593505654:2
y @ jquery.min.js?v=1593505654:4
c @ jquery.min.js?v=1593505654:4
XMLHttpRequest.send (async)
send @ jquery.min.js?v=1593505654:4
ajax @ jquery.min.js?v=1593505654:4
GetGeocaches @ pgc_leaflet.min.js?v=1593505654:1
GetGeocachesIfLiveEnabled @ pgc_leaflet.min.js?v=1593505654:1
(anonymous) @ livemap.min.js?v=1593505654:1
dispatch @ jquery.min.js?v=1593505654:3
r.handle @ jquery.min.js?v=1593505654:3

With Mozilla, I get this:

TypeError: PGC_LiveMap.myData is null9 pgc_leaflet.min.js:1:10159

    success https://cdn2.project-gc.com/js/min/pgc_leaflet.min.js?v=1593505654:1

    each jQuery

    success https://cdn2.project-gc.com/js/min/pgc_leaflet.min.js?v=1593505654:1

    jQuery 4

There seems to be a problem with both Chrome and Mozilla.

in Bug reports by Mark (270 points)

2 Answers

0 votes
As it is working for me with chromae and mozilla, it could be a local probleme within your browser setting or firewall/antivir.

Do you have mozialla/chrome extensions / AddOns using jquery. Perhaps try to deactivate these just for testing the livemap.
by supertwinfan (19.6k points)
No extensions in chrome. Everything looks okay, except for the 500 error which is serverside.
This is crazy: Same browser, 2 different accounts. One (basic member) shows the map correctly, the other one (premium both GC and PGC) shows the error.
0 votes

First try to logout and in again.

Then go to the Livemap-page. Open the console and paste this snippet.

$.ajax({
url: '/ajax/livemap.php',
dataType: 'json',
type: 'POST',
data: { cmd: 'GetMyData' },
success: function(data) {
console.log(data);
},
error: function(data) {
alert("error");
}
});

Does it popup an error, or does it show data in the console?

by magma1447 (Admin) (241k points)
I get an popup showing "error".
We have figured out the reason, but don't want to post the details here.

Please contact our support to get the details. Provide a link to this QA entry and we will know what it's about.
...