Jump to content

Angel Air

Members
  • Posts

    252
  • Joined

  • Last visited

Everything posted by Angel Air

  1. Hi all, I have a pilot on my VA who fly's xplane and on MAC, he is using xacars to record his flight, as that is the only compatible acars program. But it is chucking up lots of errors. 1. pilot number is showing up as 0000 2. when he does a flight it breaks the live map (no ones flight shows up even though other flights are taking place) 3. I have a live flights section on the site which just shows up as multiple '0's This problem only happens with xacars as everyone else use smartCARS here is a screenshot to try and help explain.
  2. Thank you web541, Works great it was exactly what I was wanting. Scott
  3. Thank you for this, I have just got to find where to edit the table now
  4. Is there any way of displaying the schedules for a specific Hub? Thanks Scott
  5. Here is line 2031 $rankimg = imagecreatefromstring($rankimg);
  6. Angel Air

    Errors

    Morning all, I have had this problem for some time now, and just wondered if anyone else has had the same problem and knows how to fix it. When accepting PIREPS and editing profiles after the acceptance/upload of a avatar i get this error. Warning: imagecreatefromstring(): Data is not in a recognized format in /home/britann1/public_html/crew/core/common/PilotData.class.php on line 2031 If anyone can point me in the right direction of a fix I would really appreciate it. Thanks Scott
  7. Thank you I have used your codes and adapted it slightly, until I can figure the above out. Thanks again Scott
  8. Hi all I am trying to show the below code on the profile_main.php but can't get any of the data to show. Here is the code, I have taken this from pirep_viewreport.php <b>Departure Airport</b> <p class="pull-right" style="color: #3C8DBC"><?php echo $pirep->depname?> (<?php echo $pirep->depicao; ?>)</p> </li> <li class="list-group-item"> <b>Arrival Airport</b> <p class="pull-right" style="color: #3C8DBC"><?php echo $pirep->arrname?> (<?php echo $pirep->arricao; ?>)</p> </li> <li class="list-group-item"> <b>Aircraft</b> <p class="pull-right" style="color: #3C8DBC"><?php echo $pirep->aircraft . " ($pirep->registration)"?></p> </li> <li class="list-group-item"> <b>Flight Time</b> <p class="pull-right" style="color: #3C8DBC"><?php echo $pirep->flighttime; ?></p> </li> <li class="list-group-item"> <b>Date Submitted</b> <p class="pull-right" style="color: #3C8DBC"><?php echo date(DATE_FORMAT, $pirep->submitdate);?></p> </li> <?php if($pirep->route != '') { echo '<li class="list-group-item"><b>Route</b> <p class="pull-right" style="color: #3C8DBC">'.$pirep->route.'</p></li>'; } ?> <li class="list-group-item"><b>Status</b> <?php if($pirep->accepted == PIREP_ACCEPTED) echo '<div class="label label-success pull-right">Accepted</div>'; elseif($pirep->accepted == PIREP_REJECTED) echo '<div class="label label-danger pull-right">Rejected</div>'; elseif($pirep->accepted == PIREP_PENDING) echo '<div class="label label-info pull-right">Approval Pending</div>'; elseif($pirep->accepted == PIREP_INPROGRESS) echo '<div class="label label-warning pull-right">Flight in Progress</div>'; ?> Here is what I see when I add this code to profile_main.php
  9. I am interested in your services. Can you contact me please
  10. This is a brilliant skin well done!! Is there anyway of having this as a standalone skin? and if so how do you achieve that? Thanks in advance. Scott
  11. Hi all how do i upload the 1606 txt file to navdata.sql?
  12. Hi all, I am sure this has been asked and answered more than once but I am struggling to find the correct way to display if a Pilot is flying on Vatsim. I would like to display it on the live flights board. Any help would be great Thanks in advance Scott
  13. https://github.com/DavidJClark go here and download files
  14. David, not sure if you have had this report from anyone else but I am getting an error when I accept a PIREP here is the error. Warning: imagecreatefromstring() [function.imagecreatefromstring]: Data is not in a recognized format in /home/angelair/public_html/core/common/PilotData.class.php on line 1016 Also same error when trying to upload avatar picture And the same error when you reset the signatures from within the admin/maintenance panel seems like a consistent error but again not sure how to fix. Scott
  15. Copied what is in the link uploaded and all works great thanks for all your help David really appreciate it. Scott
  16. Thanks for the help David, two of the problems have been solved now I am still having trouble with the pilots public profile has anyone else had this problem? I have the option of setting the php version I am running so I have set it to run on 5.3 which solved the other problem. The only thing I can think of doing is re-install of phpvms to fix the issue but I really dont want to have to do that if I can help it. Scott
  17. Hi all, Not sure if anyone else has had this problem but I am getting this error above the landing stats Deprecated: Non-static method TouchdownStatsData::get_stats_by_cur_month() should not be called statically, assuming $this from incompatible context in /home/angelair/public_html/test/core/modules/TouchdownStats/TouchdownStats.php on line 36 I have tried to add this to the Touchdownstats.php public static function top_landing_this_month () { but that just breaks the frontpage. any ideas for a workaround? Thanks in advance Scott
  18. Hi David, Thanks for the reply, I will take a look today but I think it is beyond my capabilities to fix the problems. Oh how I wish you still had your server running. Scott
  19. Hi all I am running phpvms 5.5.2 and php version 5.6 and I am getting all sorts of errors on my site here are a few examples...... when you click on a pilots name it should show their Public profile instead I get this. Fatal error: Call to undefined method ChartsData::build_pireptable() in /home/angelair/public_html/core/modules/Profile/Profile.php on line 83 Another problem, I have got Simpilots pilot reward system installed and when you click on the reward centre link this is what the return is. Notice: The template file "/home/angelair/public_html/core/templates/rewards/reward_center.php" doesn't exist in /home/angelair/public_html/core/classes/TemplateSet.class.php on line 231 has anyone else had any problems with VA Central Rank a few days ago it started to display this instead of the rank... Warning: simplexml_load_string(): Entity: line 1: parser error : Space required after the Public Identifier in /home/angelair/public_html/lib/skins/CCV1/frontpage_main.php on line 198 Warning: simplexml_load_string(): <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> in /home/angelair/public_html/lib/skins/CCV1/frontpage_main.php on line 198 Warning: simplexml_load_string(): ^ in /home/angelair/public_html/lib/skins/CCV1/frontpage_main.php on line 198 Warning: simplexml_load_string(): Entity: line 1: parser error : SystemLiteral " or ' expected in /home/angelair/public_html/lib/skins/CCV1/frontpage_main.php on line 198 Warning: simplexml_load_string(): <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> in /home/angelair/public_html/lib/skins/CCV1/frontpage_main.php on line 198 Warning: simplexml_load_string(): ^ in /home/angelair/public_html/lib/skins/CCV1/frontpage_main.php on line 198 Warning: simplexml_load_string(): Entity: line 1: parser error : SYSTEM or PUBLIC, the URI is missing in /home/angelair/public_html/lib/skins/CCV1/frontpage_main.php on line 198 Warning: simplexml_load_string(): <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> in /home/angelair/public_html/lib/skins/CCV1/frontpage_main.php on line 198 Warning: simplexml_load_string(): ^ in /home/angelair/public_html/lib/skins/CCV1/frontpage_main.php on line 198 any help with these would be great Thanks in advance Scott
  20. Hi all, I am getting these errors when installing Deprecated: Non-static method FleetData::getAircraftTotals() should not be called statically, assuming $this from incompatible context in /home/angelair/public_html/core/modules/Fleet/Fleet.php on line 36 Deprecated: Non-static method FleetData::get5MostRecentFlights() should not be called statically, assuming $this from incompatible context in /home/angelair/public_html/core/modules/Fleet/Fleet.php on line 37 Deprecated: Non-static method FleetData::getAllScheduledFlights() should not be called statically, assuming $this from incompatible context in /home/angelair/public_html/core/modules/Fleet/Fleet.php on line 38 Any help would be great thanks and I have tried the above suggestion and it does not work
  21. Hi Sava, I really am grateful for the help you have provided. I certainly have tried the code before asking for help on both dreamweaver and on my live site I have read the documentation on the SMF forum and I do try to resolve any problems I might have myself before asking for help. My biggest problem I have is that I am not the greatest with code which is why I have to ask for help. I am sorry if you think that I have not even tried to resolve the issue myself but I can assure you that is not the case. In future I will think twice before asking for help in these Forums Scott
  22. When I add it in Dreamweaver it does not display any of the posts it only shows that text but in the design side as it is in the code side if that makes sense http://www.dropbox.com/s/iyz649fpxobwq2v/Screenshot_4.jpg?dl=0
  23. Thank you Sava do I need to add any php code to get it to work?
  24. Have tried that Sava (thanks for the help by the way) but it does not show anything no errors no breaks in the page and no posts you can see here www.angelairva.co.uk look for Latest Forum Posts on frontpage This is the total code I am using.... <?php include('./Forum/SSI.php'); $topics = ssi_recentTopics(5,null,'array'); ?>
×
×
  • Create New...