Jump to content

ACARS MAP on external Site


Sovereign

Recommended Posts

Hello

We have a new VA Website with a subdomain xx.skyline-va.de.
PHPVMS runs on another subdomain xy.skyline-va.de but on the same Server. 

I wanted to display the ACARS map on this page, but I get the following error:
 

Uncaught ReferenceError: L is not defined
    at base_map.js:10
Uncaught ReferenceError: L is not defined
    at map.php:190

the code to display the map on the page:
 

<?php MainController::Run('ACARS','index'); ?>

 

and i included the follow phpvms files: 
 

<?php
  include('../../httpdocs/iCrew/core/codon.config.php');
  include('../../httpdocs/iCrew/core/local.config.php');
?>

 

Have i forget a include or so?

the full code: (include from phpvms are defined in the headers.php
 

<?php include ('headers.php'); ?>

<div class="tg-pushpage">
  <!--************************************
      Home Slider Start
  *************************************-->
  <div id="tg-innerbanner" class="tg-innerbanner">
    <figure data-vide-bg="poster: https://i.ytimg.com/vi/jtAm-kgoZ_E/maxresdefault.jpg" data-vide-options="position: 0% 50%">
      <figcaption>
        <div class="container-fluid">
          <div class="row">
            <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
              <h1>Who's flying?</h1>
              <h2>This would be our Map</h2>
            </div>
          </div>
        </div>
      </figcaption>
    </figure>
  </div>
  <!--************************************
      Home Slider End
  *************************************-->
  <!--************************************
      Main Start
  *************************************-->
  <main id="tg-main" class="tg-main tg-haslayout">
    <!--************************************
        Contact Us Start
    *************************************-->
    <section class="tg-haslayout">
      <div class="tg-contactus tg-bglight">
        <div class="tg-mapprojectarea tg-bgwhite">
          <div class="row no-gutters">
            <div class="col-md-12">
            <!--Begin ACARS MAP-->
			<?php MainController::Run('ACARS','index'); ?>
            <!--Begin ACARS MAP-->
              <center>
                <a href="index.php">Back</a>
				<!--Begin Flight Tracker Info Bar-->
		        <?php MainController::Run('trackflight','index'); ?>
                <!--End Flight Tracker Info Bar-->
              </center>
            </div>
          </div>
        </div>
      </div>
      </div>

    </section>
    <!--************************************
        Contact Us End
    *************************************-->
  </main>
  <!--************************************
      Main End
  *************************************-->
<?php include ('footers.php'); ?>

Best regards,
Jan Grimm

 

Link to comment
Share on other sites

  • 6 months later...
  • 1 year later...
  • 3 weeks later...

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