acars map

Hello,

Also another problem occured this day.

Since today my acars map is not visible anymore.

I dont know what went wrong but I have tried everything to fix it.

After a search a have cleared the cache, uploaded a clean acarmap.php again, and resetted all the map details in the local config and app config.

Any ideas on how to fix this?

http://www.abs-virtual.com/index.php/acars

Kindly regards,

Rick Winkelman

Go into your firefox error console and see if there are any errors and post them here.

Firefox console?

I’m using Chrome so how do i do that?

Rick

You have some errors

Ok, I did it for you

You have the following errors

NetworkError: A network error occurred.
TypeError: $ is not a function
http://abs-virtual.com/lib/js/phpvms.js
Line 27
TypeError: $ is undefined
http://abs-virtual.com/lib/js/acarsmap.js
Line 36
You have included the Google Maps API multiple times on this page. This may cause unexpected errors.
https://maps.googleapis.com/maps/api/js?libraries=weather&sensor=false
Line 84

Do you remember changing anything to do with the acars page (template file, acars.js, etc.)

You could try going into your core_htmlhead file and find this line

<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true"></script>

And replace it with this one from your acarsmap.tpl/php (I assume that’s where it is) then delete it from that file.

<script src="https://maps.googleapis.com/maps/api/js?libraries=weather&sensor=false" type="text/javascript">
</script>

hmm, I have replaced the line in the core_htmlhead but there is not such a line in the acarsmap.js or acarsmap.php