CN@ndo Posted April 11, 2010 Report Share Posted April 11, 2010 **** English **** Hello friends I have a problem on my map, I did update the latest version of phpvms when I changed was very beautiful and perfect, but unfortunately my map does not appear, please help me. http://www.voeoceanairvirtual.com.br/index.php/acars ****** Português ****** ola amigos estou com um problema no meu mapa, a fiz a atualização da ultima versão do phpvms, quando alterei ficou muito lindo e perfeito, porem infelizmente meu mapa não aparece, por favor me ajudem. http://www.voeoceanairvirtual.com.br/index.php/acars Quote Link to comment Share on other sites More sharing options...
Moderators joeri Posted April 11, 2010 Moderators Report Share Posted April 11, 2010 (edited) i just tried to look but the server is in maint it seems gr joeri edit just looked at it using firebug got 2 errors are you on the stable(54) or on the latesed beta (917) iff you come from the stable to the beta and you have tha acarsmap.tpl alterd and in your skins folder look at,there are some changes. iff not try and repload the acarsmap.tpl and the acarsmap.js gr joeri Edited April 11, 2010 by joeri Quote Link to comment Share on other sites More sharing options...
CN@ndo Posted April 11, 2010 Author Report Share Posted April 11, 2010 Hi my friend Jeori. Good day Sir............... Thanks for your reply I already modified my PHPVMS update is 2.1.915. I changed the scripts but the map does not appear, I can just see him on the map of the last flights. sent down to the script on my server. <nabeel - snipped the code out of here> Have a nice day Jeori. Waiting your help. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted April 11, 2010 Administrators Report Share Posted April 11, 2010 Update your core_htmlhead.tpl file. It should be on the original, and shouldn't be modified in the future Quote Link to comment Share on other sites More sharing options...
CN@ndo Posted April 11, 2010 Author Report Share Posted April 11, 2010 Thanks, I uploaded the file now, but the problem continues. does not appear on the map only the flight data in the table. Quote Link to comment Share on other sites More sharing options...
Moderators joeri Posted April 11, 2010 Moderators Report Share Posted April 11, 2010 could you try the defould crystal see iff the map popes up gr joeri Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted April 11, 2010 Administrators Report Share Posted April 11, 2010 Did you modify the refresh rate or anything? The page is just going nuts... restore the stock templates for acars and that page Quote Link to comment Share on other sites More sharing options...
CN@ndo Posted April 12, 2010 Author Report Share Posted April 12, 2010 Hi Freinds Thak you very much. problem solved!!!! Quote Link to comment Share on other sites More sharing options...
stasnosikov Posted April 17, 2010 Report Share Posted April 17, 2010 Hi I too have a problem on my live map. http://uiii.su/index.php/acars : flightpilotid - flightpilotname flightflightnum flightdepicao flightarricao flightphasedetail flightalt flightgs flightdistremaining km / flighttimeremaining phpvms v2.0.921 kACARS_Free.php v0.5 kAcars client 1.0.0.5 Quote Link to comment Share on other sites More sharing options...
stasnosikov Posted April 17, 2010 Report Share Posted April 17, 2010 Hi I too have a problem on my live map. http://uiii.su/index.php/acars : flightpilotid - flightpilotname flightflightnum flightdepicao flightarricao flightphasedetail flightalt flightgs flightdistremaining km / flighttimeremaining phpvms v2.0.921 kACARS_Free.php v0.5 kAcars client 1.0.0.5 Please ,anybody help me Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted April 17, 2010 Administrators Report Share Posted April 17, 2010 That's strange. Try emptying the acars table (there's a link under maintenance options), and then starting a new flight Quote Link to comment Share on other sites More sharing options...
stasnosikov Posted April 17, 2010 Report Share Posted April 17, 2010 That's strange. Try emptying the acars table (there's a link under maintenance options), and then starting a new flight The acars table has cleared, the problem has remained. During flight plane moving in livemap, but the data about flight is not displayed. Variables are displayed: flightpilotid - flightpilotname flightflightnum flightdepicao flightarricao flightphasedetail flightalt flightgs flightdistremaining km / flighttimeremaining Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted April 17, 2010 Administrators Report Share Posted April 17, 2010 It doesnt look like your acarsmap.tpl file is upto date Quote Link to comment Share on other sites More sharing options...
stasnosikov Posted April 17, 2010 Report Share Posted April 17, 2010 acarsmap.tpl: <?php /** * These are some options for the ACARS map, you can change here * * By default, the zoom level and center are ignored, and the map * will try to fit the all the flights in. If you want to manually set * the zoom level and center, set "autozoom" to false. * * You can use these MapTypeId's: * http://code.google.com/apis/maps/documentation/v3/reference.html#MapTypeId * * Change the "TERRAIN" to the "Constant" listed there - they are case-sensitive * * Also, how to style the acars pilot list table. You can use these style selectors: * * table.acarsmap { } * table.acarsmap thead { } * table.acarsmap tbody { } * table.acarsmap tbody tr.even { } * table.acarsmap tbody tr.odd { } */ ?> <script type="text/javascript"> <?php /* These are the settings for the Google map. You can see the Google API reference if you want to add more options. There's two options I've added: autozoom: This will automatically center in on/zoom so all your current flights are visible. If false, then the zoom and center you specify will be used instead refreshTime: Time, in seconds * 1000 to refresh the map. The default is 10000 (10 seconds) */ ?> var acars_map_defaults = { autozoom: true, zoom: 4, center: new google.maps.LatLng("<?php echo Config::Get('MAP_CENTER_LAT'); ?>", "<?php echo Config::Get('MAP_CENTER_LNG'); ?>"), mapTypeId: google.maps.MapTypeId.TERRAIN, refreshTime: 10000 }; </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> </div> <?php /* See below for details and columns you can use in this table */ ?> <table border = "0" width="100%" class="acarsmap"> <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> <?php /* This is the template which is used in the table above, for each row. Be careful modifying it. You can simply add/remove columns, combine columns too. Keep each "section" (<%=...%>) intact Variables you can use (what they are is pretty obvious) Variable: Notes: <%=flight.pilotid%> <%=flight.firstname%> <%=flight.lastname%> <%=flight.pilotname%> First and last combined <%=flight.flightnum%> <%=flight.depapt%> Gives the airport name <%=flight.depicao%> <%=flight.arrapt%> Gives the airport name <%=flight.arricao%> <%=flight.phasedetail%> <%=flight.heading%> <%=flight.alt%> <%=flight.gs%> <%=flight.disremaining%> <%=flight.timeremaning%> <%=flight.aircraft%> Gives the registration <%=flight.aircraftname%> Gives the full name <%=flight.client%> FSACARS/Xacars/FSFK, etc <%=flight.trclass%> "even" or "odd" You can also use logic in the templating, if you so choose: http://ejohn.org/blog/javascript-micro-templating/ */ ?> <script type="text/html" id="acars_map_row"> <tr class="<%=flight.trclass%>"> <td><a href="<?php echo url('/profile/view');?>/<%=flight.pilotid%>"><%=flight.pilotid%> - <%=flight.pilotname%></a></td> <td><%=flight.flightnum%></td> <td><%=flight.depicao%></td> <td><%=flight.arricao%></td> <td><%=flight.phasedetail%></td> <td><%=flight.alt%></td> <td><%=flight.gs%></td> <td><%=flight.distremaining%> <?php echo Config::Get('UNITS');?> / <%=flight.timeremaining%></td> </tr> </script> <?php /* This is the template for the little map bubble which pops up when you click on a flight Same principle as above, keep the <%=...%> tags intact. The same variables are available to use here as are available above. */ ?> <script type="text/html" id="acars_map_bubble"> <span style="font-size: 10px; text-align:left; width: 100%" align="left"> <a href="<?php echo url('/profile/view');?>/<%=flight.pilotid%>"><%=flight.pilotid%> - <%=flight.pilotname%></a><br /> <strong>Flight <%=flight.flightnum%></strong> (<%=flight.depicao%> to <%=flight.arricao%>)<br /> <strong>Status: </strong><%=flight.phasedetail%><br /> <strong>Dist/Time Remain: </strong><%=flight.distremaining%> <?php echo Config::Get('UNITS');?> / <%=flight.timeremaining%><br /> </span> </script> <?php /* This is a small template for information about a navpoint popup Variables available: <%=nav.title%> <%=nav.name%> <%=nav.freq%> <%=nav.lat%> <%=nav.lng%> <%=nav.type%> 2=NDB 3=VOR 4=DME 5=FIX 6=TRACK */ ?> <script type="text/html" id="navpoint_bubble"> <span style="font-size: 10px; text-align:left; width: 100%" align="left"> <strong>Name: </strong><%=nav.title%> (<%=nav.name%>)<br /> <strong>Type: </strong> <?php /* Show the type of point */ ?> <% if(nav.type == 2) { %> NDB <% } %> <% if(nav.type == 3) { %> VOR <% } %> <% if(nav.type == 4) { %> DME <% } %> <% if(nav.type == 5) { %> FIX <% } %> <% if(nav.type == 6) { %> TRACK <% } %> <br /> <?php /* Only show frequency if it's not a 0*/ ?> <% if(nav.freq != 0) { %> <strong>Frequency: </strong><%=nav.freq%> <% } %> </span> </script> Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted April 17, 2010 Administrators Report Share Posted April 17, 2010 Did you customize that template? Because if you view source on your page, it's completely different. Restore the default Quote Link to comment Share on other sites More sharing options...
stasnosikov Posted April 17, 2010 Report Share Posted April 17, 2010 Did you customize that template? Because if you view source on your page, it's completely different. Restore the default I have restored all default template files Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted April 17, 2010 Administrators Report Share Posted April 17, 2010 Is it working now? Quote Link to comment Share on other sites More sharing options...
stasnosikov Posted April 18, 2010 Report Share Posted April 18, 2010 Is it working now? Does not work, remains as well as was Quote Link to comment Share on other sites More sharing options...
MrAmsterdam Posted April 18, 2010 Report Share Posted April 18, 2010 Hi guys, Srange enough i have the same problem. I updgraded to the latest phpvms version. i did not have the live map available after the upgrade. when i finally optimized the tables, it worked by now i have the same problem as stasnosikov. i already tried to place the core_htmlhead back to it's original file, but that did not work unfortunately. Hopefully you guys can help me out. resetting the acars table also did not work for me. Thanks! Lucas Quote Link to comment Share on other sites More sharing options...
MrAmsterdam Posted April 18, 2010 Report Share Posted April 18, 2010 so i was just playing around a bit. when i use XACARS, it seems to work ok. the proble lies in FSACARS... i cannot use KAcars... i cannot use this.. i dont know why. this was the next thing to worry about. i know support for fsacars is not given anymore, but i hope you can still look into it :-) Lucas Quote Link to comment Share on other sites More sharing options...
MrAmsterdam Posted April 18, 2010 Report Share Posted April 18, 2010 damn. somehow the problem pops up in xacars as well... grrr Quote Link to comment Share on other sites More sharing options...
MrAmsterdam Posted April 18, 2010 Report Share Posted April 18, 2010 i am getting desperate. I am doing this dance all day now.. i am hoping you guys can help me out here. I have done a totally FRESH install and then the upgrade to the latest 923. Everything works fine. when i add a bid and start to fly using fsacars or kacard or xacars... just below the live map this appears: Pilot Flight Number Departure Arrival Status Altitude Speed Distance/Time Remain flightpilotid - flightpilotname flightflightnum flightdepicao flightarricao flightphasedetail flightalt flightgs flightdistremaining nm / flighttimeremaining what can this be!?? where can i look so that i can figure out where this goes wrong? I did an absolutely clean install and then the upgrade...... pleaaasee..... :-( Quote Link to comment Share on other sites More sharing options...
Moderators joeri Posted April 18, 2010 Moderators Report Share Posted April 18, 2010 i am getting desperate. I am doing this dance all day now.. i am hoping you guys can help me out here. I have done a totally FRESH install and then the upgrade to the latest 923. Everything works fine. when i add a bid and start to fly using fsacars or kacard or xacars... just below the live map this appears: Pilot Flight Number Departure Arrival Status Altitude Speed Distance/Time Remain flightpilotid - flightpilotname flightflightnum flightdepicao flightarricao flightphasedetail flightalt flightgs flightdistremaining nm / flighttimeremaining what can this be!?? where can i look so that i can figure out where this goes wrong? I did an absolutely clean install and then the upgrade...... pleaaasee..... :-( try a full install using the beta insted off doing isntall/update do install/install.php see iff it still is hapening iff not be sure to let u know Quote Link to comment Share on other sites More sharing options...
MrAmsterdam Posted April 18, 2010 Report Share Posted April 18, 2010 I did a FRESH install... same problem. remember.... i have removed EVERTYTHING first. directory from webserver and the mysql stuff.... same error; flightpilotid - flightpilotname flightflightnum flightdepicao flightarricao flightphasedetail flightalt flightgs flightdistremaining nm / flighttimeremaining Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted April 18, 2010 Administrators Report Share Posted April 18, 2010 Does not work, remains as well as was Weird, doing 'View Source' on your acars page, the code looks completely different, see: <script type="text/javascript" src="[url="view-source:http://uiii.su/lib/js/acarsmap.js"]http://uiii.su/lib/js/acarsmap.js[/url]"></script> <script type="text/html" id="acars_map_row"> <tr class="flighttrclass"> <td><a href="http://uiii.su/index.php/profile/view/flightpilotid">flightpilotid - flightpilotname</a></td> <td>flightflightnum</td> <td>flightdepicao</td> <td>flightarricao</td> <td>flightphasedetail</td> <td>flightalt</td> <td>flightgs</td> <td>flightdistremaining km / flighttimeremaining</td> </tr> </script> <script type="text/html" id="acars_map_bubble"> <span style="font-size: 10px; text-align:left; width: 100%" align="left"> <a href="http://uiii.su/index.php/profile/view/flightpilotid">flightpilotid - flightpilotname</a><br /> <strong>Flight flightflightnum</strong> (flightdepicao to flightarricao)<br /> <strong>Status: </strong>flightphasedetail<br /> <strong>Dist/Time Remain: </strong>flightdistremaining km / flighttimeremaining<br /> </span> </script> <script type="text/html" id="navpoint_bubble"> <span style="font-size: 10px; text-align:left; width: 100%" align="left"> <strong>Name: </strong>navtitle (navname)<br /> <strong>Type: </strong> <br /> </span> </script> Now compare that to what you pasted Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted April 18, 2010 Administrators Report Share Posted April 18, 2010 so i was just playing around a bit. when i use XACARS, it seems to work ok. the proble lies in FSACARS... i cannot use KAcars... i cannot use this.. i dont know why. this was the next thing to worry about. i know support for fsacars is not given anymore, but i hope you can still look into it :-) Lucas That's strange. What version are you on? Can you enable DEBUG_LOG (set to true) and email it to me the logs/xacars and fsacars.log files? Quote Link to comment Share on other sites More sharing options...
stasnosikov Posted April 19, 2010 Report Share Posted April 19, 2010 Now compare that to what you pasted And in what a difference? I a difference do not see original source: <script type="text/javascript" src="<?php echo fileurl('/lib/js/acarsmap.js');?>"></script> <?php /* This is the template which is used in the table above, for each row. Be careful modifying it. You can simply add/remove columns, combine columns too. Keep each "section" (<%=...%>) intact Variables you can use (what they are is pretty obvious) Variable: Notes: <%=flight.pilotid%> <%=flight.firstname%> <%=flight.lastname%> <%=flight.pilotname%> First and last combined <%=flight.flightnum%> <%=flight.depapt%> Gives the airport name <%=flight.depicao%> <%=flight.arrapt%> Gives the airport name <%=flight.arricao%> <%=flight.phasedetail%> <%=flight.heading%> <%=flight.alt%> <%=flight.gs%> <%=flight.disremaining%> <%=flight.timeremaning%> <%=flight.aircraft%> Gives the registration <%=flight.aircraftname%> Gives the full name <%=flight.client%> FSACARS/Xacars/FSFK, etc <%=flight.trclass%> "even" or "odd" You can also use logic in the templating, if you so choose: http://ejohn.org/blog/javascript-micro-templating/ */ ?> <script type="text/html" id="acars_map_row"> <tr class="<%=flight.trclass%>"> <td><a href="<?php echo url('/profile/view');?>/<%=flight.pilotid%>"><%=flight.pilotid%> - <%=flight.pilotname%></a></td> <td><%=flight.flightnum%></td> <td><%=flight.depicao%></td> <td><%=flight.arricao%></td> <td><%=flight.phasedetail%></td> <td><%=flight.alt%></td> <td><%=flight.gs%></td> <td><%=flight.distremaining%> <?php echo Config::Get('UNITS');?> / <%=flight.timeremaining%></td> </tr> </script> <?php /* This is the template for the little map bubble which pops up when you click on a flight Same principle as above, keep the <%=...%> tags intact. The same variables are available to use here as are available above. */ ?> <script type="text/html" id="acars_map_bubble"> <span style="font-size: 10px; text-align:left; width: 100%" align="left"> <a href="<?php echo url('/profile/view');?>/<%=flight.pilotid%>"><%=flight.pilotid%> - <%=flight.pilotname%></a><br /> <strong>Flight <%=flight.flightnum%></strong> (<%=flight.depicao%> to <%=flight.arricao%>)<br /> <strong>Status: </strong><%=flight.phasedetail%><br /> <strong>Dist/Time Remain: </strong><%=flight.distremaining%> <?php echo Config::Get('UNITS');?> / <%=flight.timeremaining%><br /> </span> </script> <?php /* This is a small template for information about a navpoint popup Variables available: <%=nav.title%> <%=nav.name%> <%=nav.freq%> <%=nav.lat%> <%=nav.lng%> <%=nav.type%> 2=NDB 3=VOR 4=DME 5=FIX 6=TRACK */ ?> <script type="text/html" id="navpoint_bubble"> <span style="font-size: 10px; text-align:left; width: 100%" align="left"> <strong>Name: </strong><%=nav.title%> (<%=nav.name%>)<br /> <strong>Type: </strong> <?php /* Show the type of point */ ?> <% if(nav.type == 2) { %> NDB <% } %> <% if(nav.type == 3) { %> VOR <% } %> <% if(nav.type == 4) { %> DME <% } %> <% if(nav.type == 5) { %> FIX <% } %> <% if(nav.type == 6) { %> TRACK <% } %> <br /> <?php /* Only show frequency if it's not a 0*/ ?> <% if(nav.freq != 0) { %> <strong>Frequency: </strong><%=nav.freq%> <% } %> </span> </script> doing 'View Source' on my acars page: <script type="text/javascript" src="http://uiii.su/lib/js/acarsmap.js"></script> <script type="text/html" id="acars_map_row"> <tr class="flighttrclass"> <td><a href="http://uiii.su/index.php/profile/view/flightpilotid">flightpilotid - flightpilotname</a></td> <td>flightflightnum</td> <td>flightdepicao</td> <td>flightarricao</td> <td>flightphasedetail</td> <td>flightalt</td> <td>flightgs</td> <td>flightdistremaining km / flighttimeremaining</td> </tr> </script> <script type="text/html" id="acars_map_bubble"> <span style="font-size: 10px; text-align:left; width: 100%" align="left"> <a href="http://uiii.su/index.php/profile/view/flightpilotid">flightpilotid - flightpilotname</a><br /> <strong>Flight flightflightnum</strong> (flightdepicao to flightarricao)<br /> <strong>Status: </strong>flightphasedetail<br /> <strong>Dist/Time Remain: </strong>flightdistremaining km / flighttimeremaining<br /> </span> </script> <script type="text/html" id="navpoint_bubble"> <span style="font-size: 10px; text-align:left; width: 100%" align="left"> <strong>Name: </strong>navtitle (navname)<br /> <strong>Type: </strong> <br /> </span> </script> Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted April 19, 2010 Administrators Report Share Posted April 19, 2010 All of the <% %> variables are missing, that's why there's nothing showing up there. That's strange. Did you modify those templates (meaning are they in your skin's folder)? Or are they just the stock template without any changes in /core/templates? And do you happen to be on a Windows server?? With ASP? Quote Link to comment Share on other sites More sharing options...
stasnosikov Posted April 19, 2010 Report Share Posted April 19, 2010 All of the <% %> variables are missing, that's why there's nothing showing up there. That's strange. Did you modify those templates (meaning are they in your skin's folder)? Or are they just the stock template without any changes in /core/templates? And do you happen to be on a Windows server?? With ASP? My Hosting Server on *nix system - http://eserver.ru Files in my folder skin "crystal": footer.tpl, header.tpl, javascript.tpl, layout.tpl, syles.css. All files from the distribution kit without changes and in a folder/core/templates/ too. Quote Link to comment Share on other sites More sharing options...
stasnosikov Posted April 19, 2010 Report Share Posted April 19, 2010 On all files and folders it is exposed CHMOD 770 by default 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.