Jump to content

Recommended Posts

Posted

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

Posted

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>

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...