Kyle
Moderators-
Posts
2282 -
Joined
-
Last visited
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by Kyle
-
I may have to search for IVAO as well. I been looking for it, but no joy to find one like VATSIM.
-
I like to collect TV Shows mostly, I have House, Prison Break, Criminal Minds, CSI Miami, Family Guy, Cleveland Show. I love them to have in as DVD's so I can ever watch it again in the future. For games on X-Box 360, I only play Grand Theft Auto, Call of Duty, Battlefield, Train Simulator 2013. I'm mostly into Simulator Games in general after buying Flight Simulator 2002 and playing for a while. Other things is fixing computers, coding in different languages such as Perl, Ruby and Java. Also not to forget importantly is school and work.
-
I'm not sure if that's unusual for you, but I'm guessing, something with the aircraft on the PIREP report may have been entered the hours too much or rejected PIREPs. I have this query set to count aircraft with only approved flights.. public static function countHours($id) { $query = "SELECT SUM(flighttime) as time FROM ".TABLE_PREFIX."pireps WHERE aircraft = {$id} AND accepted = 1"; $result = DB::get_row($query); return $result->time; }
-
IVAO doesn't have that similar functionally as I know so far. So, I guess it's just only for VATSIM.
-
you can find it in your core/local.config.php file and volia! Right there.
-
It can be simple... I done mine when I used to work for SCXVA last year... But be careful and be warned, VATSIM Admins would ban your website from their servers if you query too much such as like quering your list of pilots with the VATSIM ID every hour will get you banned. They suggest to run though your pilots every 48 hours. This is a start for you here... REMEMBER: I'M NOT RESPONSIBLE FOR YOU TO BE BANNED FROM VATSIM SERVERS because you didn't read the warning! <?php //Ref = http://forums.vatsim.net/viewtopic.php?f=70&t=40152 //As posted in the forums, don't run this php file every 15 mins, or you could result a ban from it. //They suggest to run it at least 48 hours max. //Query the VATSIM ID $id = '123456'; //Get the content of a XML Response $response = file_get_contents('https://cert.vatsim.net/cert/vatsimnet/idstatus.php?cid='.$id.''); //Load the XML String, use simplexml $xml = simplexml_load_string($response); //Echo out the information. echo $xml->user; ?>
-
I don't know where I lost the version 1.1 after something happened to my Github Account before that time. I'll try to look for it in my old hard drive if I still have the old Operating Systems.. However. you can fix this by rounding off the numbers like this... <?php echo round(vFleetTrackData::countHours($aircraft->id), 2);?> Then it would return an example number such as 234.53, not long numbers. Cheers!
-
I'm not sure what you are getting on about this...it doesn't really have to do anything to what Sava said before about looking for staff somewhere else in a different post. Yet, other virtual airlines does that here as well, not often at all. What I think what Sava was looking for someone here in this community who has been long standing, rather than asking other flight sim forums. I think I seen a few long standing people here in this community. You may want to re-read Sava's original post. Cheers!
-
Interesting... I just saw that in the forums... Not the best move for a VA.
-
Well done on your new site.
-
Moved to Support Forums. . Thanks servetas.
-
Did you change anything in the database tables such as table colum changes? Although, something for you to try. Back up your database first and run this query.... and see what you got. ALTER TABLE `phpvms_pilots` ADD CONSTRAINT `phpvms_pilots_ibfk_1` FOREIGN KEY (`code`) REFERENCES `phpvms_airlines` (`code`) ON UPDATE CASCADE;
-
Right there guys. http://vansersaddons.com/showthread.php?tid=2
-
That was the issue. phpVMS doesn't work at specfic versions of php and MySQL.
-
Remove the <div id="depairport">. It usally comes an issue when I skin for a few VA's.... this code should work, as well, you should change the arrival airport since it does the same. <select id="depicao" name="depicao"> <option value="">Select a departure airport</option> <?php foreach($allairports as $airport) { $sel = ($_POST['depicao'] == $airport->icao || $bid->depicao == $airport->icao)?'selected':''; echo '<option value="'.$airport->icao.'" '.$sel.'>'.$airport->icao . ' - '.$airport->name .'</option>'; } ?> </select> <select id="arricao" name="arricao"> <option value="">Select an arrival airport</option> <?php foreach($allairports as $airport) { $sel = ($_POST['arricao'] == $airport->icao || $bid->arricao == $airport->icao)?'selected':''; echo '<option value="'.$airport->icao.'" '.$sel.'>'.$airport->icao . ' - '.$airport->name .'</option>'; } ?> </select>
-
Oh yeah, Windows Servers can be very ecchky with phpVMS. Did that for one VA, and it was an MySQL Issue, spent all night pulling my hair on why it wouldn't work. Switched back to our CentOS. What errors are you getting on the message as WelkaT is saying?
-
Sounds like an server memory issue or a jQuery issue. 1) How many schedules do you have in you schedules listing?
-
Hey Sherming, did you do that in the admin center and changed the email?
-
Hehe, Glad you found the problem.
-
Somehow to the error in the picture seems to be preventing phpVMS to install. The message "Access Denied for user "macan"" is meaning that, you typed in the database name, and the user does not have the permissions to access that database. You can do this by going to your hosting control panel, look for the databases, then select the database your installing phpVMS and grant the user "macan" full access to the database. And that error shouldn't pop up anymore... Cheers!
-
What do you have in the file_exist() function in your TPL? Your host currently has the openbase restriction on which it prevents from you going out of the home directory.
-
Hey Everyone, Since I want to start making add-ons modules and my services again, the only thing that is keeping behind from it is a few installations errors on my dedicated server. PHP Version: 5.4.9 Problem: When I opened the installer, I got a bunch of strict standard errors, just like that -> http://forum.phpvms....age__hl__static Did what it was suggested, but still have two more errors... Warning: Creating default object from empty value in /home/kyle/public_html/dev/core/classes/Vars.class.php on line 74 Fatal error: Cannot re-assign auto-global variable _FILES in /home/kyle/public_html/dev/core/common/PilotData.class.php on line 436 Any one have ideas what can be causing the issue? Cheers!
-
For now, I think that it doesn't work very well with phpBB. I will be making a new one to make it more supported and more manageable. I'll work on something later tonight.
-
It is because there's no index in this module. Try accessing it by index.php/vAwards/showPilotIssuedAwards/PILOTID Cheers!