Jump to content

Recommended Posts

Posted

Before the update i had a pilot flying and it was showing that he was climbing and he was at FL300 and then i did the update the newest beta update and now he landed and its still showing he is at FL300 and also any other pilot trying to fly now it doesnt show on the website. Is there anything that i should do to get the tracking to work or what. Please help

  • Replies 79
  • Created
  • Last Reply

Top Posters In This Topic

Posted

phpmvs_acarsdata is the sql

i just tried myself since yesterday i passed from 700 to 813 and still pilots are not visible nor on the map nor on the list, but if i go under /flights i see them on that page.

Posted

this is how it is in the 813 core/crystal template :

<script type="text/javascript">
map_zoom_level = <?php echo Config::Get('MAP_ZOOM_LEVEL'); ?>;
map_center_lat = "<?php echo Config::Get('MAP_CENTER_LAT'); ?>";
map_center_lng = "<?php echo Config::Get('MAP_CENTER_LNG'); ?>";
map_type = <?php echo Config::Get('MAP_TYPE'); ?>;
</script>
<div class="mapcenter" align="center">
<div id="acarsmap" style="width:<?php echo  Config::Get('MAP_WIDTH');?>; height: <?php echo Config::Get('MAP_HEIGHT')?>"></div>
<p style="width:<?php echo  Config::Get('MAP_WIDTH');?>;font-size: 10px; text-align: center;">The map and table automatically update. <span style="color:red;">Red</span> indicates pilot is on the ground. <span style="color:green;">Green</span> indicates in air. Click pilot name to view.</p>
</div>
<table border = "0" width="100%">
<thead>
<tr>
	<td><b>Pilot</b></td><td><b>Flight Number</b></td><td><b>Departure</b></td><td><b>Arrival</b></td><td><b>Status</b></td><td><b>Altitude</b></td><td><b>Speed</b></td><td><b>Distance/Time Remain</b></td>
</tr>
</thead>
<tbody id="pilotlist" ></tbody>
</table>
<script type="text/javascript" src="<?php echo fileurl('/lib/js/acarsmap.js');?>"></script>

  • Administrators
Posted

You'll have to link me to your pages.

You have to update your template that has changes with the default template to include the changes from there

  • Administrators
Posted

Your site has the same problem as before - you have code outside of the HTML tags, and javascript placed improperly. Refer to the other posts we had last time fixing this, that will take care of your problems.

  • Administrators
Posted

This is the new template, but personally even if i put it in my vvair skin folder it doesn't work, so i've got your same problem.

Simon, this is your issue:

<br />

<b>Fatal error</b>:  Call to undefined function json_encode() in <b>/var/www/vhosts/volovirtuale.com/subdomains/vvair/httpdocs/core/modules/ACARS/ACARS.php</b> on line <b>125</b><br />

http://vvair.volovirtuale.com//action.php/acars/data

Your host must have an old version of PHP installed (< 5.2.0), ask them to upgrade, since they're really behind (phpVMS requires 5.2+ - http://docs.phpvms.net/installation#requirements)

  • Administrators
Posted

Simon VVair is also having the problem so iam guessing its not because of the java:(

His issue is different (see above). Your issue is that your HTML and Javascript are all out of wack. I don't have time right now to find that thread (it's 130am, I have to be up in a few hours), but there is a thread where I showed you what to fix, and you got it working

Posted

Hey , I have fixed the error but still nothign, Is there anything in the core that might be affecting it . Because fsacars does not start recording till i take off . I dont get it.

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