General & Support
Any issues or concerns with vaCentral should be posted here
Subforums
Development Help
- 4.2k posts
For help and support for the development of addons
- New Module Proposal - Schedule Builder [jSchedule]
- Last reply by opsman,
285 topics in this forum
-
- 5 replies
- 4k views
Hi does anyone have any idea how to solve this error? [17-Feb-2019 16:39:54 UTC] PHP Warning: SimpleXMLElement::addChild() expects parameter 2 to be string, array given in /home/*****/public_html/crew/core/common/CentralData.class.php on line 198 [17-Feb-2019 16:39:55 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/*****/public_html/crew/core/common/CentralData.class.php:198) in /home/*****/public_html/crew/core/modules/kACARSII/kACARSII.php on line 644
Last reply by Mickey, -
- 1 reply
- 2.3k views
When a pilot jumpseat via the Fltbook V2 module, the pilot is being sent to "-" not the icao that he choosed This is my search_form.php <?php $pilotid = Auth::$userinfo->pilotid; $last_location = FltbookData::getLocation($pilotid); $last_name = OperationsData::getAirportInfo($last_location->arricao); if(!$last_location) { FltbookData::updatePilotLocation($pilotid, Auth::$userinfo->hub); } ?> <section class="content container-fluid"> <div class="row"> <div class="col-xs-12"> <div class="box"> <div class="box-header"> <h3 class="box-title">Buscar Charter</…
Last reply by web541, -
- 0 replies
- 1.7k views
I´m having the following error message when installing skins in Phpvms: - The template file "/storage/ssd2/305/4219305/public_html//lib/skins/iCrewLITE/header.tpl" doesn't exist in /storage/ssd2/305/4219305/public_html/core/classes/TemplateSet.class.php on line 248 -The template file "/storage/ssd2/305/4219305/public_html//lib/skins/iCrewLITE/footer.tpl" doesn't exist in /storage/ssd2/305/4219305/public_html/core/classes/TemplateSet.class.php on line 248 Could someone help me with the solution ???
Last reply by mcfifilho, -
- 0 replies
- 3.4k views
When i generate an OFP via the module i get an extreme high fuel for FINRES like this example: <OFP> <params> <request_id>10260159</request_id> <user_id>17411</user_id> <time_generated>1541968879</time_generated> <ofp_layout>lido2</ofp_layout> <airac>1703</airac> <units>kgs</units> </params> <general> <release>1</release> <icao_airline>NS</icao_airline> <flight_number>3113</flight_number> <is_etops>0</is_etops> <dx_rmk>LIMITES DA NORTESUL VIRUTAL</dx_rmk> <dx_rmk>PAYLOAD/CARGO LIMITED BY MLW</dx_rmk> &l…
Last reply by ArthurHetem, -
- 1 reply
- 3.1k views
Hi @all I will do an Destination Map (like this: Link). How can i do that? My Code (but only one airport work, and loadtime is very long) <?php $allairports = OperationsData::GetAllAirports(); ?> <?php foreach ($allairports as $airport) {?> <!-- Styles --> <style> #chartdiv { width: 100%; height: 500px; } </style> <!-- Resources --> <script src="https://www.amcharts.com/lib/3/ammap.js"></script> <script src="https://www.amcharts.com/lib/3/maps/js/worldLow.js"></script> <script src="https://www.amcharts.com/lib/3/plugins/export/export.min.js"></script>…
Last reply by Miggel, -
- 0 replies
- 1.7k views
Hello, I have installed the Hub transfer module into my website. No I have a page called:"My Controls", on this page you can edit your profile options. Now I want to have the option there to request a hub transfer. Now is the problem that it wont show the hubs in the dropdown. If I open the hubtransfer page itself it does work. So how can i make the form work inside the profile edit page? Thanks for the help. Rick
Last reply by ncd200, -
- 8 replies
- 3.2k views
I added the code from this thread https://forum.phpvms.net/topic/2125-add-bid-from-pilot-brief/ and it seems to work, but when I try to click add it does nothing. Is there something else I need to do? Running phpvms 5.5 on php 5.6. Thank you, -Ken
Last reply by KenG, -
- 0 replies
- 1.6k views
Good day all, You would like show the data " payadjsut" on view all pirep page ( pirep_list.php). But that tells me 0. Will you have a problem regarding this problems. <?php foreach($pireps as $pirep) { if($pirep->accepted == PIREP_PENDING) $td_class = 'pending'; else $td_class = ''; $error = false; $schedule = SchedulesData::getScheduleByFlight($pirep->code, $pirep->flightnum); ?> <tr class="<?php echo $class?> pirep_list" id="row<?php echo $pirep->pirepid;?>"> <td align="center" valign="top" nowrap="nowrap" style="width: 27px;" class="<?php echo $td_class;?>"> <img height="25px" width="2…
Last reply by Salem, -
Fatal error
by Salem- 0 replies
- 1.6k views
Good day, I have a problem for send a bonus for all pirep with a landing rate under -150 on db PIREP Yet the call is correct is I get this message "Fatal error: Call to undefined method PIREPData::getPirepData()" If anyone would have an idea it would be cool. Here is the code below: $pilotbonus = "500"; $pirepinfo = PIREPData::getPirepData($pirep_details->pirepid); if($pirep_details->landingrate <= -1 AND $pirep_details->landingrate >= -150) { $bonus = $pilotbonus +$pirepinfo->bonus; $fields = array ( 'bonus' => $bonus, ); PIREPData::getReports($pirepinfo->pirepid, $fields); } Thank's
Last reply by Salem, -
- 2 replies
- 2k views
Hello everyone, I would like to create a ranking of pilots according to the pay, but unfortunately, I have a problem of coding. If anyone would have an idea about the solution it would be cool. I want to use the $pilots table and collect the id and totalpay Here is my code and my bug below. <?php mysql_select_db("pilots"); $reponse = mysql_query('SELECT * FROM pilotid ORDER BY totalpay'); $rang = 0; while ($pilots = mysql_fetch_array($reponse)) { $rang++; echo $rang; echo $pilots['pilotid']; echo $pilots['totalpay']; } ?> Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysql…
Last reply by Salem, -
- 1 reply
- 1.7k views
Hi can anyone help me I need tour module freeware if possible
Last reply by flyalaska, -
- 0 replies
- 1.6k views
Hi, I am trying for 2 days to solve the code for the connection with all the Aiports and the Map. Where is the mistake? // Print out rows <?php $airports = OperationsData::getAllAirports(); /* Above <td> You have to put it */ foreach($airports as $airport) { "svgPath": targetSVG" ',' echo ' "title": ' . $airport->name . ',' echo ' "latitude": ' . $airport->lat . ',' echo ' "longitude": ' . $airport->lng . '' echo " }"; } ?> So I bring at least one airport ... { "svgPath": targetSVG, "title": "<?php echo $airport->name; ?>", "latitude": <?php echo $airport->lat; ?>, …
Last reply by Miggel, -
- 1 reply
- 1.7k views
Hi, I imported routes and accidentally deleted all of my schedules. Can I undo that? Thanks
Last reply by ProAvia, -
- 1 follower
- 11 replies
- 4.1k views
Hello, grabbed a module from crazycreations for Auto Assign. I installed it. It works but when I hit Generate routes this pops up: Deprecated: Non-static method AutoAssignData::getstartitineraryid() should not be called statically, assuming $this from incompatible context in /core/modules/AutoAssign/AutoAssign.php on line 201 CC forums are quiet dead so that’s why I’m posting here. Seems more a PHP issue than their mod. Many help is greatly appreciated.
Last reply by ProAvia, -
- 0 replies
- 1.6k views
Hello, Does anyone maybe have the destinations module released by Zumeweb? It is offline and I cant found it anymore. Rick
Last reply by ncd200, -
- 5 replies
- 2.9k views
Hello, I know there is a Live map with the actually flight route of the plane but my question is if there is something like that but after the flight is sent (PIREP) in the pirep page you can see the actually route of the plane there is something like that here ?
Last reply by CarlosEduardo2409, -
- 4 replies
- 2.4k views
Hi All, I'm just learning the system still, please could someone let me know how I format on the CSV file the lon and lat for each airport, I have done for EGLL 512839 for lon and 0002741 for lat? should I show the ( . ) in between and the N,E,S,W as shown on site wikipedia? Coordinates 51°28′39″N 000°27′41″W The distance between EGLL and EGJB ( Coordinates49°26′05″N 002°36′07″W ) is appx 152nm but its showing 2882? Would this be in nm also or measured in a different way? Thanks for support
Last reply by Relja12, -
- 1 reply
- 2.1k views
phpvms isnt sending any emails version is simpilot 5.5.2
Last reply by Boogace, -
- 3 replies
- 2.1k views
How can I be a developer of phpVMS 4? I have experience in Laravel
Last reply by levicosta201, -
- 1 reply
- 2k views
Here at Historic Airline Group we have several freight airlines that fly to a distribution airport, where more flights in smaller aircraft fly to other destinations. I'm looking to add an Excel-type format page where freight amounts are selected by pilots and moved accordingly. What I need is someone who knows how to do this. I'm thinking an Excel spreadsheet that works on a web page. Anyone want to discuss the idea more: davidreedbrt@gmail.com
Last reply by TAV1702, -
- 1 reply
- 1.8k views
I have been wondering how to put vacentral into your local.config.php i know the code and i know where it is but i just dont know where to put it in the php file.
Last reply by mattsmith, -
- 5 replies
- 8.5k views
Hey Guys I Need Help With This Error I Get No One Can Sign Up On My Virtual Airline Because Of reCAPTCHA
Last reply by Curshad, -
- 2 replies
- 2.8k views
I Downloaded The Beta Version Of phpVMS 3 From https://phpvms.net/resource And When I Install It This Error Comes Up
Last reply by KorrexelzYT, -
- 5 replies
- 2.1k views
when i try to apply for PHPVMS i get this error: Fatal error: Uncaught <blockquote><font face=arial size=2 color=000099><b>Last Error --</b> [<font color=000000><b>php_network_getaddresses: getaddrinfo failed: Name or service not known (2002)</b></font>]<br />[<font color=000000><b></b></font>]</font><p> </blockquote><hr noshade color=dddddd size=1> thrown in /srv/disk14/2292991/www/worldairwaysvirtual.ga/core/classes/ezdb/ezdb_mysql.class.php on line 99 please help
Last reply by Jacdog, -
- 2 replies
- 1.8k views
after i took a flight it still says im on the map i known i can go to the database and remove it but how can this be done auto http://prntscr.com/d0u4cj here is the link for the picture if you dont known what i mean
Last reply by lapw123, -
- 9 replies
- 7.2k views
hello agian i was wondering if it was anyway to get auto pirep system in to my phpvms simpilot 5.5.2 becuse the tpl moduels dont work for php the most of the if it is anyway to install them let me known becuse i dont wanna sit here and click accept on every pirep i got i knwon i have to do it on some of them but i dont wanna do all if i dont need to , or could someone give me a code there i can input how many feet thats not allowed to have
Last reply by Yash, -
- 2 replies
- 2.3k views
Can you confirm if the flight time format for sending PIREPS is hh:mm? In other words in the XML file <flightime>hh:mm</flighttime> Regards,
Last reply by CXA001, -
- 5 replies
- 2.6k views
My VA won't connect to vacentral, it doesnt show up when i'm flying, I can't send pireps or update schedules or news.
Last reply by flyalaska, -
- 7 replies
- 2.9k views
My site is sending pireps to vacentral but they are not showing on the airline info page. It is showing the last flight as being submitted 6/08/2016 but there have been pireps submitted since then
Last reply by mattsmith, -
Hi We are currently receiving an error exporting PIREPS. No response from API server We have the correct code in the local.config.php and we are falling down the ranks quickly - is anyone else getting this error? Martin - Virtual Aviation Group CEO
Last reply by mattsmith,