ncd200 Posted January 17, 2016 Report Share Posted January 17, 2016 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 Quote Link to comment Share on other sites More sharing options...
web541 Posted January 17, 2016 Report Share Posted January 17, 2016 Go into your firefox error console and see if there are any errors and post them here. Quote Link to comment Share on other sites More sharing options...
ncd200 Posted January 17, 2016 Author Report Share Posted January 17, 2016 Firefox console? I'm using Chrome so how do i do that? Rick Quote Link to comment Share on other sites More sharing options...
flyalaska Posted January 17, 2016 Report Share Posted January 17, 2016 You have some errors Quote Link to comment Share on other sites More sharing options...
web541 Posted January 17, 2016 Report Share Posted January 17, 2016 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> Quote Link to comment Share on other sites More sharing options...
ncd200 Posted January 17, 2016 Author Report Share Posted January 17, 2016 hmm, I have replaced the line in the core_htmlhead but there is not such a line in the acarsmap.js or acarsmap.php Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.