Jump to content

UAL3626

Members
  • Posts

    7
  • Joined

  • Last visited

Everything posted by UAL3626

  1. Hello Folks, Virtual United Airlines is now using a finalized system (pvpVMS) to allow pilots to bid on a selected flight through the website and automatically submit their flights with FSACARS, FSPax, XAcars, kACARS and Fs Flight Keeper. Also, the FS9 fleet is available for download by members along with a majority of the FSX fleet as we complete it. All aircraft have been placed in self-installers for ease of use to install and uninstall quickly. Our pilots presently fly on the WestCoastATC and VATSIM networks. VUA has been setup to allow pilots to fly any aircraft they want no matter what their rank is. Since this isn't the real thing but as close as we can get why should everyone have to wait to fly their favorit aircraft? Whether it is the Brasilia or the 747-400 come and fly your favorite United Airliner with us any time. To join Virtual United Airlines visit our site below. http://www.virtualunitedair.com Upon registration a custom callsign will be assigned only per pilot request. Presently we are headquartered on WestCoastATC. Our pilots also fly on the VATSIM network. Upon registration with VUA don't forget to join us on WestCoastATC and help us rebuild the FSHost community once again. Please also register on www.westcoastatc.com with the same UAL callsign of your choice IE: "UAL123" and under the Pilot Start Page select Join a Virtual Airline. OUR SITE http://www.virtualunitedair.com Blue Skies -James
  2. I'm running into the same problem. What do I need to do in order to not show the duplicates. I have removed some of the original code and still get errors. This is the code I have now with yours that works but shows the duplicates. <?php foreach($pilots as $pilot) { if($pilot->confirmed != 1) continue; ?> <p><a href="<?php echo url('/profile/view/'.$pilot->pilotid);?>"><?php echo PilotData::GetPilotCode($pilot->code, $pilot->pilotid). ' ' .$pilot->firstname . ' ' . $pilot->lastname?></a></p> <?php } ?> <?php $query='SELECT * FROM phpvms_pilots ORDER BY joindate DESC LIMIT 5'; $pilots=DB::get_results($query); foreach($pilots as $pilot) { echo '<a href='.SITE_URL.'/index.php/profile/view/'.$pilot->pilotid.'>'; echo PilotData::getPilotCode($pilot->code,$pilot->pilotid).' '.$pilot- >firstname.' '.$pilot->lastname.'</a><br><br>'; }?>
  3. Hello folks, I'm curious if there is anyone able to help me out with a few issues I am having when a pilot registers? When a new pilot registers on my site it automatically assigns their new ID, however in the application I have a custom field allowing each pilot to chose a custom ID. Once I have accepted their app they appear under the recent pilots section but when I modify their callsign according to their requested ID they disappear. I have done a bit of research and have found out that the SQL database is showing these new pilots in an automatic order (ascending) possibly through the pilotid only. If their ID is not next in line like below they do not appear. How do I fix this? For example the last 5 pilots will apear as the following but anyone who selects a callsign such as UAL2314 will not appear. UAL3630 UAL3629 UAL3628 UAL3627 UAL3626 I have created a new column called "order" in the SQL DB to see if I can show each pilot regardless of their actual number instead of it showing the newest members based on "pilotid" (ascending order). I have tinkered with is and tried to remove the keys and reassign them and even tried to remove and reassign the autoincrement but nothing works. I am by far no expert in SQL but am a quick learner and have limited knowledge. Any advice on this table structure would be greatly appreciated. From what I have found modifying this table too much especially the "pilotid" with the keys could cause problems with my limited knowledge. The site is www.virtualunitedair.com in case anyone needs it. PLEASE DELETE. I'M SORRY FOR THE INCONVENIENCE. THIS IS MY FIRST DAY OFF AND I FOUND A TOPIC THAT WAS POSTED WHILE I WAS AT WORK A FEW DAYS AGO.
  4. No I did not the first time. I just downloaded it from github and reuploaded. I am still receiving the errors in check db however the registration error is fixed and is no longer giving the "Catchable fatal error: Object of class stdClass could not be converted to string in /home/XXXXX/public_html/XXXXX/core/common/PilotGroups.class.php on line 87". It redirects pilots to the proper page now. Thank you for your help nabeel. Forgive my ignorance for not knowing where to go the first time to download. I'm sorry if I wasted your time with that.
  5. I just reuploaded everything to the site ran a checkdb and a checkinstall and still received the same errors from the above post. I also tested the registration and it gave me the same as above also. Any ideas?
  6. Ok. Thank you for your help Nabeel. I'll be looking for an update that resolves these problems.
  7. Hello Folks, I recently installed phpVMS on my site with the latest stable build and then decided to upgrade to the latest beta. I had a new pilot register last night and he told me there was an error so I created a dummy registration to emulate the problem and was given the following error upon completing a new pilot registration. Catchable fatal error: Object of class stdClass could not be converted to string in /home/XXXXX/public_html/XXXXX/core/common/PilotGroups.class.php on line 87 I used the back button and clicked the home button on the site. It immediately showed the dummy account under new pilots prior to me approving it. I went into the Admin area and rejected the test application and it was immediately removed from the home page under new pilots. After that I reuploaded the beta version to make sure all files were in good working condition and ran a checkdb and checkinstall from the install folder. The checkdb test came up clean across the board however the checkinstall gave me the following errors. I also noticed it shows build 955 inside the checkinstall. -------------------------------------------------------------------------------------------------------------- phpVMS Virtual Airline Administration Software Install Check phpVMS Build Number: 955 Checking PHP version [OK] PHP version is 5.2.16.x ASP Tags [OK] ASP-style tags are disabled Checking connectivity... [OK] Can contact outside servers Checking for SimpleXML module... [OK] SimpleXML module exists! Checking file hashes for corrupt or mismatched files [Checksum failed] /core/classes/ezdb/ezdb_base.class.php did not match, possibly corrupt or out of date [Checksum failed] /core/modules/kACARS_Free/kACARS_Free.php did not match, possibly corrupt or out of date [Error] ../formtest.php doesn't exist -- Checked 184 files, found 3 errors -------------------------------------------------------------------------------------------------------------- I'm not sure what I am missing but any advice or help would be much appreciated. Thank you for your time. Blue Skies -James
×
×
  • Create New...