Jump to content

Acars Map Not working


IrfanKhan

Recommended Posts

  • Administrators

To start, you are loading jquery at least twice

in the head:

<script type="text/rocketscript" data-rocket src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>

In the footer you load another version and bootstraps js library as well.:

<script data-rocketsrc="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js" type="text/rocketscript"></script>
<script data-rocketsrc="http://www.piavirtual.org/PIA/lib/skins/vp/js/bootstrap.min.js" type="text/rocketscript"></script>

Not to mention all this in the footer:

<script data-rocketsrc="http://www.piavirtual.org/PIA/lib/skins/vp/js/themejs/jquery.smartmenus.js" type="text/rocketscript"></script>
<script data-rocketsrc="http://www.piavirtual.org/PIA/lib/skins/vp/js/themejs/jquery.stellar.js" type="text/rocketscript"></script>
<script data-rocketsrc="http://www.piavirtual.org/PIA/lib/skins/vp/js/themejs/SmoothScroll.js" type="text/rocketscript"></script>
<script data-rocketsrc="http://www.piavirtual.org/PIA/lib/skins/vp/js/themejs/jquery.waypoints.min.js" type="text/rocketscript"></script>
<script data-rocketsrc="http://www.piavirtual.org/PIA/lib/skins/vp/js/themejs/jquery.lightbox.min.js" type="text/rocketscript"></script>
<script type="text/rocketscript" data-rocketsrc="http://www.piavirtual.org/PIA/lib/skins/vp/js/themejs/jquery.montage.min.js"></script>
<script type="text/rocketscript" data-rocketsrc="http://www.piavirtual.org/PIA/lib/skins/vp/js/themejs/jquery.carouFredSel-6.2.1-packed.js"></script>
<script type="text/rocketscript" data-rocketsrc="http://www.piavirtual.org/PIA/lib/skins/vp/js/themejs/helper-plugins/jquery.mousewheel.min.js"></script>
<script type="text/rocketscript" data-rocketsrc="http://www.piavirtual.org/PIA/lib/skins/vp/js/themejs/helper-plugins/jquery.touchSwipe.min.js"></script>
<script type="text/rocketscript" data-rocketsrc="http://www.piavirtual.org/PIA/lib/skins/vp/js/themejs/helper-plugins/jquery.transit.min.js"></script>
<script type="text/rocketscript" data-rocketsrc="http://www.piavirtual.org/PIA/lib/skins/vp/js/themejs/helper-plugins/jquery.ba-throttle-debounce.min.js"></script>
<script type="text/rocketscript" data-rocketsrc="http://www.piavirtual.org/PIA/lib/skins/vp/js/revolutionjs/jquery.themepunch.plugins.min.js"></script>
<script type="text/rocketscript" data-rocketsrc="http://www.piavirtual.org/PIA/lib/skins/vp/js/revolutionjs/jquery.themepunch.revolution.min.js"></script>
<script type="text/rocketscript" data-rocketsrc="http://www.piavirtual.org/PIA/lib/skins/vp/js/themejs/jquery.flexslider.js"></script>
<script data-rocketsrc="http://www.piavirtual.org/PIA/lib/skins/vp/js/themejs/jquery.easypiechart.min.js" type="text/rocketscript"></script>
<script data-rocketsrc="http://www.piavirtual.org/PIA/lib/skins/vp/js/themejs/jquery.tooltipster.js" type="text/rocketscript"></script>
<script data-rocketsrc="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false&.js" type="text/rocketscript"></script>
<script type="text/rocketscript" data-rocketsrc="http://www.piavirtual.org/PIA/lib/skins/vp/js/themejs/TimeCircles.js"></script>
<script data-rocketsrc="http://www.piavirtual.org/PIA/lib/skins/vp/js/themejs/tweetie.js" type="text/rocketscript"></script>
<script data-rocketsrc="http://www.piavirtual.org/PIA/lib/skins/vp/js/themejs/jquery.nouislider.min.js" type="text/rocketscript"></script>
<script data-rocketsrc="http://www.piavirtual.org/PIA/lib/skins/vp/js/themejs/application.js" type="text/rocketscript"></script>

I also have no idea what "text/rocketscript" is, I think those should all be "text/javascript"

You definitely have javascript conflicts going on in my opinion. About the only way to solve it is to start removing one at a time till things start working again.

Link to comment
Share on other sites

Thank you for your Response Simpilot

in the source file which is layout.php below are the codes placed i dont know how it is showing rocketscript?

<!-- Javascripts
   ================================================== -->
   <!-- Placed at the end of the document so the pages load faster -->
   <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
   <script src="<?php echo SITE_URL?>/lib/skins/vp/js/bootstrap.min.js"></script>
   <!-- Main Navigation -->
<script src="<?php echo SITE_URL?>/lib/skins/vp/js/themejs/jquery.smartmenus.js" type="text/javascript"></script>

<!-- Parallax -->
<script src="<?php echo SITE_URL?>/lib/skins/vp/js/themejs/jquery.stellar.js" type="text/javascript"></script>
<!-- Smooth Scroll -->
   <script src="<?php echo SITE_URL?>/lib/skins/vp/js/themejs/SmoothScroll.js" type="text/javascript"></script>

<!-- Animation Viewport -->
<script src="<?php echo SITE_URL?>/lib/skins/vp/js/themejs/jquery.waypoints.min.js" type="text/javascript"></script>

<!-- Lightbox -->
<script src="<?php echo SITE_URL?>/lib/skins/vp/js/themejs/jquery.lightbox.min.js" type="text/javascript"></script>
   <!-- PhotoMontage -->
<script type="text/javascript" src="<?php echo SITE_URL?>/lib/skins/vp/js/themejs/jquery.montage.min.js"></script>

   <!-- include jQuery + carouFredSel plugin -->
<script type="text/javascript" src="<?php echo SITE_URL?>/lib/skins/vp/js/themejs/jquery.carouFredSel-6.2.1-packed.js"></script>
<!-- optionally include helper plugins -->
<script type="text/javascript" src="<?php echo SITE_URL?>/lib/skins/vp/js/themejs/helper-plugins/jquery.mousewheel.min.js"></script>
<script type="text/javascript" src="<?php echo SITE_URL?>/lib/skins/vp/js/themejs/helper-plugins/jquery.touchSwipe.min.js"></script>
<script type="text/javascript" src="<?php echo SITE_URL?>/lib/skins/vp/js/themejs/helper-plugins/jquery.transit.min.js"></script>
<script type="text/javascript" src="<?php echo SITE_URL?>/lib/skins/vp/js/themejs/helper-plugins/jquery.ba-throttle-debounce.min.js"></script>

   <!-- REVOLUTION Slider -->
<script type="text/javascript" src="<?php echo SITE_URL?>/lib/skins/vp/js/revolutionjs/jquery.themepunch.plugins.min.js"></script>
<script type="text/javascript" src="<?php echo SITE_URL?>/lib/skins/vp/js/revolutionjs/jquery.themepunch.revolution.min.js"></script>
   <!-- Flex Slider -->
<script type="text/javascript" src="<?php echo SITE_URL?>/lib/skins/vp/js/themejs/jquery.flexslider.js"></script>
   <!-- Pie Chart -->
<script src="<?php echo SITE_URL?>/lib/skins/vp/js/themejs/jquery.easypiechart.min.js"></script>

   <!-- tooltip-bootster -->
<script src="<?php echo SITE_URL?>/lib/skins/vp/js/themejs/jquery.tooltipster.js" type="text/javascript"></script>


   <!-- Timer -->
<script type="text/javascript" src="<?php echo SITE_URL?>/lib/skins/vp/js/themejs/TimeCircles.js"></script>

   <!-- Load Scripts -->
<script src="<?php echo SITE_URL?>/lib/skins/vp/js/themejs/application.js"></script>

Even my Live Acars MAP not showing live flights i tried removing jquery from head section still map doesn't work and if i remove jquery from footer website stops working as well it seems it in linked with main source of the website.

please advise.

Link to comment
Share on other sites

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...