Support Forum
Any questions or bug reports go here.
7149 topics in this forum
-
- 12 replies
- 2.6k views
I separated this thread from the other one because the other thread has gone in some other direction. First of all I am not a software newbie, 20 years of experience and I am trying to start my VA but I don't have time to browse through PHP code. So, I use the same control panel (webhost4life?) as in the dummies guide. I did a clean installation as follows: 1. Created subdomain and subdirectory where subdomain points 2. Uploaded all files of phpVMS to the subdirectory of #1 3. Created a MySQL database 5.0.45 and noted its administrative username and set permissions (all as shown in the dummies guide) 4. Ran the /install/install.php script, it showed ALL GREEN, no red…
Last reply by Mysterious Pilot, -
- 5 replies
- 2.3k views
We are running Php 5.4 on server, did a clean install of phpvms_5.5.x-master - 7,441 Kb. We have the timezone issue corrected. Here is an issue we have 4 schedules/routes entered for testing. However when trying to file a Pirep getting the following message : Strict Standards: Non-static method CodonEvent::hasStop() should not be called statically, assuming $this from incompatible context in /var/www/vhosts/beautynspeed.com/fly.beautynspeed.com/PRS/core/modules/PIREPS/PIREPS.php on line 478 File a Flight Report There was an error adding your PIREP : Schedule does not exist. Please update this manually. This is a flight in the "Flight Info" AFA1912 (KLAX …
Last reply by ProSkyDesign, -
- 3 replies
- 1.4k views
Hello, Is there a possible way to clean up the url structure of my PHPVMS site. Example : http://myva.com/index.php/profile --->>> http://myva.com/profile http://myva.com/action.php/Ops/map --->>> http://myva.com/Ops/Map Thanks
Last reply by Kishshey, -
- 1 reply
- 1.6k views
From Admin when I go to Maintenence and click the clear Cache option, I get this ... Fatal error: Uncaught exception 'UnexpectedValueException' with message 'RecursiveDirectoryIterator::__construct(/home/fsnb4809/public_html/Airline/core/cache): failed to open dir: No such file or directory' in /home/fsnb4809/public_html/Airline/admin/modules/Maintenance/Maintenance.php:236 Stack trace: #0 /home/fsnb4809/public_html/Airline/admin/modules/Maintenance/Maintenance.php(236): RecursiveDirectoryIterator->__construct('/home/fsnb4809/...') #1 [internal function]: Maintenance->clearcache() #2 /home/fsnb4809/public_html/Airline/core/classes/MainController.class.ph…
Last reply by hecrowell, -
- 13 replies
- 4.3k views
Hey guys, I have got a problem with the close bids after expire function. The CRON job removes the bid so it`s no longer displayed under the recentbids but as i have disable SCHED on BIDS active it doesn`t show up in my schedules again after the cron job has removed the bid. I have to delete the flight completely from the schedules and add it as a new flight in order to make it show up again. So in the maintenance.php i just find this: if(Config::Get('CLOSE_BIDS_AFTER_EXPIRE') === true) { SchedulesData::deleteExpiredBids(); CronData::set_lastupdate('check_expired_bids'); } but where can i find the code for what actually is happening then so that i can take a look …
Last reply by Felipe, -
- 2 replies
- 1.4k views
Hi , I'm trying to hide the randomflights if the pilot has one or more reserved flights. Any idea to do? if(count(SchedulesData::GetBids(Auth::PilotID())) > 0) { echo 'You have flights to be performed.'; } else {
Last reply by eliezerazevedo, -
- 4 replies
- 1.6k views
Hi, I´m trying hide the RealScheduleLite if the pilot have one or more booked flights, here de code line 73: but thats the error: Parse error: syntax error, unexpected T_DOUBLE_ARROW in xxxxxx/realschedulelite_index.tpl on line 73 sorry about the bad english thanks
Last reply by eliezerazevedo, -
- 12 replies
- 2.2k views
Folks, Was just informed that my web site was shut down due to the host saying that I was using to much resources. here is a line from the error log: [15-Jul-2012 13:06:19] PHP Warning: strpos() [<a href='function.strpos'>function.strpos</a>]: Empty delimiter in /home6/flyvtwac/public_html/core/common/PilotData.class.php on line 191 There is just days and days of the same error message. Any thoughts or help would be appreciated! Scott
Last reply by clawsonsa, -
Hello For my pilot centre I need the code for the information of that pilot to display would anybody be able to provide the code for the following Name Pilot Id Rank Email Hub Location Hours Flights Miles Flown Thanks!
Last reply by Jeff, -
Hello I need help for this code: <?php function getTotalScore() { $query = "SELECT SUM(`final_score`) AS final_score FROM ".TABLE_PREFIX."pireps WHERE pilotid = ".$pilotid." AND accepted = 1"; $result = DB::get_row($query); if (!$result) return 0; return ($result->score == '') ? 0 : $result->score; } ?> <?php echo getTotalScore(); ?> the result is 0 Can someone help me? Thanks Rui Miguel
Last reply by RuiMiguel, -
- 24 replies
- 4.2k views
Hello All Can you guys please check the codes of the following as I think that there is some problem with my codes. LIVE FLIGHT BOARD Problem that i am facing is that when there are no live flights the message 'there are currently no live flights' does NOT display properly. <style type="text/css"> <!-- th { color: #ff8710; font-weight: bolder; } td { color: #ff961e; font-weight: normal; } --> </style> <h2>Flight Departures Board</h2> <table style="border:1px solid grey;" cellspacing="0" cellpadding="0" bgcolor="#1F1F1F"> <tr> <th align="center" style="background-color: #171717; width: 3.5%;"> </th> <…
Last reply by PIAS2011, -
- 2 replies
- 1.8k views
i get this code after installing any payware modules from either Simpilot or Crazy Creatives please see error code below Strict Standards: Non-static method StaffData::get_staff() should not be called statically, assuming $this from incompatible context in/home/flyemira/public_html/admin/modules/StaffAdmin/StaffAdmin.php on line 42 Strict Standards: Non-static method StaffData::get_positions() should not be called statically, assuming $this from incompatible context in/home/flyemira/public_html/admin/modules/StaffAdmin/StaffAdmin.php on line 43
Last reply by Michael2015, -
- 1 reply
- 1.4k views
Using Blue Ocean also have tried with Crystal. "Lost Password" "staff" or "all pilots" emails are not being sent. Appears to an error in the "core/modules/login.php" file. Currently it is still referring to templates as ".tpl" and "public function". I have tried to change these to .php and public static function, however then no login is possible. Ability to emails mandatory. Especially since we just converted a 30 yrs old airline to PHPvms.
Last reply by simpilot, -
- 2 replies
- 1.1k views
I have this code being used on my system and I want to ensure this happens, User input is, john doe acb1234 Convert to, John Doe ABC1234 So first letter in the names are upper case, airline code is capitals. I have been looking at, I already have the variable $pilot_id_full outputting correctly. $pilot_id_full = $fname.' '.$lname.' '.$code; So i was thinking, $pilot_id_full = ucfirst ($fname.' '.$lname).' '.$code; Not tested by the way just is why im after a bit of guidance of the best way to achieve this.
Last reply by mark1million, -
- 12 replies
- 4k views
Hi, Can i Get A PHp Code For The Current Live FLights
Last reply by Kapitan, -
- 10 replies
- 2.9k views
Hello, Can someone give me the code to pull the pilot roster for individual hubs to use on my hub pages? Thanks! -Brendan
Last reply by Taran, -
- 5 replies
- 1.6k views
how do I add a paypall to my skinn ? the sameone phpvms has on home page?
Last reply by ercio, -
- 9 replies
- 2.5k views
Hey guys, I'm not sure how it is coded to tell what groups is the pilot in. So if anyone could tell me the php codes to display what groups is the pilot in please and I'll would give you 1+ rep. Thanks!
Last reply by James142, -
- 1 follower
- 22 replies
- 3.6k views
Hey guys, I'm trying to implement a kind of modal dialog window, much like the one you see in the admin section. For example when editing an airport you click on edit on the row and a window pops up with the relevant form. I've tried analyzing and extracting the code in the admin section, as well as trying to google, but after an hour it has yielded nothing but frustration I admit that jquery is not my strength, so i thought it might be better to ask someone who does know what I need and knows how to make it work with phpvms. After all, this functionality seems to be built into phpvms already, so why not use it? thanks in advance
Last reply by mischka, -
In my site I have this code: <ul class="login"> <li class="left"> </li> <li><?php if(Auth::LoggedIn() == false){ echo 'Olá Visitante!'; }else{ echo 'Olá ' .PilotData::GetPilotCode(Auth::$userinfo->firstname, Auth::$userinfo->firstname); } ?> But they show: What changes should I do to remove the four zeros ?
Last reply by mix, -
- 1 reply
- 1.2k views
$flights = ACARSData::GetACARSData(); $acars = count(ACARSData::GetACARSData()); $pilots = PilotData::getAllPilots(); if($acars > 0) { foreach($pilots as $pilot) { $pilotid = $pilot->pilotid; foreach($flights as $flight) { $pilotflight = $flight->pilotid; if($pilotflight == $pilotid){$status = 1;} else {$status = 0;} } } } else { } It only returns the last pilot. Ex. XXX001 XXX002 XXX003 are all flying, only returns 003 as flying. Anyone?
Last reply by SouthwestVA, -
- 4 replies
- 1.8k views
Hi When we create a schedule with the FSX in-built flight plan utility, we submit the .PLN file to admin and this is stored in a folder on the webspace. Now, when a pilot goes to view the schedules, we check the flight number to see if there is a matching .PLN file for it. If we have it, we put PLN File in the column on the right above Details etc. I want to use the4 If ... Then to place a link to the file that the user can right-click and save to prevent them having to look for all the points in the plan but i can't stop the error message thqat an unexpected < has been found ... if (file_exists($filename)) { <a href="<?php echo url('/plns/'.AVA'.$padd…
Last reply by AspireFSX.com, -
- 5 replies
- 1.7k views
Hey, I have been messing about for a while and cant get it to work, brain has totally fried now. This is what i currently have which is not right but it does work, echo "<td align=center> <a href=\"../index.php/pireps/view/$pirep->pirepid\"/> $pirep->code$pirep->flightnum </a> </td>"; So when i change it to the below the url works fine but i can seem to echo out the variable to display the EZY flight number all i get in the table is the code $pirep->code$pirep->flightnum. echo '<td align=center> <a href='.SITE_URL.'/index.php/pireps/view/'.$pirep->pirepid.'/>$pirep->code$pirep->flightnum </a> …
Last reply by bunoire14, -
- 7 replies
- 1.5k views
Hi I wrote this code to get the hours of a pilot on a single airplane in profile_stasts.tpl but don't work <?php $query = 'SELECT flighttime FROM '.TABLE_PREFIX.'pireps WHERE aircraft = 6 AND pilotid = '.Auth::$userinfo->pilotid'; --------------->I believe that the error is here $result=DB::get_row($query); echo $result->distance; { } ?> Can you help? many thanks Regards
Last reply by SouthwestVA, -
- 1 follower
- 4 replies
- 1.8k views
What is the php code for showing how many active flight there are in number format EX : 3 Active Flights
Last reply by smokey68, -
- 6 replies
- 1.6k views
Does anyone have the code to pull a numerical value of the number of pilots in a specific hub? Also, the amount of flights done by pilots in that hub? Thanks!
Last reply by Tom, -
- 3 replies
- 1.6k views
I need a destinations list. I think is only one code to show all register airports. Anyone know how?
Last reply by Kyle, -
- 0 replies
- 1.5k views
im trying to add the code : <object id='RealtimeNG' codeBase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0' align='middle' style='width:500px;height:273px' classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' salign='t'><param name='Movie' value='http://www.utr-online.com/RealtimeNG.swf?refApt=EAF'><param name='bgcolor' value='#000000'><param name='menu' value='false'><param name='allowScriptAccess' value='always'><param name='FlashVars' value='fontcolor1=DDDDDD&fontcolor2=000000&fontcolor3=FECB00&network=VATSIM&NRLines=15&switch=30&switchnetwork=0&locked=0&range=0…
Last reply by bigrossco, -
- 1 reply
- 1.3k views
Hello I am the owner of Wings Aviation Virtual Airline. We are in dire need of a custom Acars to work with PHP VMS we are willing to pay. contact me via email. Kind Regards, WA101-Allan CEO Wings Aviation allan@wingsonair.net
Last reply by flyalaska, -
- 1 follower
- 6 replies
- 2.7k views
Hey I am working for CodeShare flight module for my virtual it seems to me everything is work and i can book a flight but should first to add the flight to the system. this is my virtual website http://www.omanair-va.org/ --- and this is direct link for codeshare http://www.omanair-va.org/index.php/Codeshare what i want to do , when someone book a flight it will move him to schedules booking page to display information of the flight but i want to separate the normal flight with codeshare flight in other word , i want to create a new tpl file for example schedule_boarding_pass.tpl schedule_briefing.tpl to display different design for code share flight. now i…
Last reply by alyousafi,