pouzo Posted December 9, 2009 Report Posted December 9, 2009 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 Quote
Administrators Nabeel Posted December 9, 2009 Administrators Report Posted December 9, 2009 Clear the acarsmap table. Quote
pouzo Posted December 9, 2009 Author Report Posted December 9, 2009 Hey is that the Database table , and just remove the acars table or what exaclty. I dont see any table with acarsmap in it . Quote
Administrators Nabeel Posted December 9, 2009 Administrators Report Posted December 9, 2009 Sorry, the acarsdata table, just empty it Quote
Simon VVair Posted December 9, 2009 Report Posted December 9, 2009 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. Quote
pouzo Posted December 9, 2009 Author Report Posted December 9, 2009 Hey what do you mean /flights . I am going to try it now and see if hte problem is fixed. Quote
pouzo Posted December 9, 2009 Author Report Posted December 9, 2009 After empty the sql , it is still not showing up Quote
Simon VVair Posted December 9, 2009 Report Posted December 9, 2009 Hey what do you mean /flights . I am going to try it now and see if hte problem is fixed. yourwebpage/flights.php Quote
pouzo Posted December 9, 2009 Author Report Posted December 9, 2009 i do not have that page in my website. i do not see it Quote
Administrators Nabeel Posted December 9, 2009 Administrators Report Posted December 9, 2009 Did you make the changes to the template from 700 to the beta? Quote
pouzo Posted December 9, 2009 Author Report Posted December 9, 2009 i didnt do any changes in the Core/template . Its all the same i have all my files in the Skin folder. Quote
Simon VVair Posted December 9, 2009 Report Posted December 9, 2009 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> Quote
pouzo Posted December 9, 2009 Author Report Posted December 9, 2009 what should i do with that code . Please be more specific. Thank you Quote
Simon VVair Posted December 9, 2009 Report Posted December 9, 2009 what should i do with that code . Please be more specific. Thank you 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. Quote
pouzo Posted December 9, 2009 Author Report Posted December 9, 2009 Oh ok , the problem is from PHPVMS or JS folder or anything Quote
Administrators Nabeel Posted December 9, 2009 Administrators Report Posted December 9, 2009 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 Quote
pouzo Posted December 10, 2009 Author Report Posted December 10, 2009 this is my website www.flymapleair.com and you have my FTP info in your mailbox . The thing is that i put the stock files but still the problem Quote
Administrators Nabeel Posted December 10, 2009 Administrators Report Posted December 10, 2009 Can you turn DEBUG_MODE and ACARS_DEBUG both to true in the local.config, do a flight, and then send me the log? Quote
pouzo Posted December 10, 2009 Author Report Posted December 10, 2009 I did turn i t on , do you want to do a Fsacars flight and send you the log.txt from the logs folder Quote
Administrators Nabeel Posted December 10, 2009 Administrators Report Posted December 10, 2009 Yup, and the acars.txt, thanks Quote
pouzo Posted December 10, 2009 Author Report Posted December 10, 2009 It didnt do anything , i did hte flight submitted and everything but inside the acars.txt is empty Quote
Administrators Nabeel Posted December 10, 2009 Administrators Report Posted December 10, 2009 Did you enable ACARS_DEBUG? Quote
pouzo Posted December 10, 2009 Author Report Posted December 10, 2009 Yes , I did . This si so wierd. My map is not even refreshing anymore Quote
Administrators Nabeel Posted December 10, 2009 Administrators Report Posted December 10, 2009 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. Quote
pouzo Posted December 10, 2009 Author Report Posted December 10, 2009 But the thing is that , i tried on the test site and still the problem Quote
pouzo Posted December 10, 2009 Author Report Posted December 10, 2009 Simon VVair is also having the problem so iam guessing its not because of the java:( Quote
Administrators Nabeel Posted December 10, 2009 Administrators Report Posted December 10, 2009 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) Quote
Administrators Nabeel Posted December 10, 2009 Administrators Report Posted December 10, 2009 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 Quote
pouzo Posted December 10, 2009 Author Report Posted December 10, 2009 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. Quote
Moderators joeri Posted December 10, 2009 Moderators Report Posted December 10, 2009 can you post an fsacars log plz normaly fsacars starts recording as soon as you hit record. maby you fsacars is off Quote
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.