-
Posts
176 -
Joined
-
Last visited
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by OA01
-
Have you checked with your host that all is well their end?
-
I found the solution myself. Open //core/common/LoAData.class and locate the following: public function GetAllRequests () { $table = TABLE_PREFIX; $sql = "SELECT loa.pilotid, loa.start, loa.end, loa.reason, phpvms_pilots.pilotid, phpvms_pilots.firstname, phpvms_pilots.lastname FROM loa JOIN phpvms_pilots ON loa.pilotid = phpvms_pilots.pilotid"; $ret = DB::get_results($sql); return $ret; And replace it with this: public function GetAllRequests () { $table = ".TABLE_PREFIX."; $sql = "SELECT loa.pilotid, loa.start, loa.end, loa.reason, pilots.pilotid, pilots.firstname, pilots.lastname FROM loa JOIN pilots ON loa.pilotid = pilots.pilotid"; $ret = DB::get_results($sql); return $ret; Now the admin function works OK.
-
WhooooHoooo! It works. THANK YOU!
-
Thanks for the heads-up.
-
PLEASE find the missing function, my cargo pilots are beating me up over this.
-
Some people don't know that many hosting companies offer "Hotlink" protection. This is usually accessed from your C-Panel. I have it activated for all image files and .zip files. It redirects them to a html page telling them to pi** off and do their own work!
-
I'm using v2.1.935 (Standard?)
-
You might want to look at the DB directly, via PHP-Admin. If you look at the PIREP table it will give you a better visualisation of what gets updated. Of course, as you can see from what Vangelis has shown you, other tables get populated also, such as PIREP comments etc. At least it's easier to see than staring at code!
-
Emerald Virtual Airways - Only the Best.
OA01 replied to adampoconnor's topic in Virtual Airlines Discussion
Rather like your grammer, 19 errors in three paragraphs, way to go -
BooHoo, doesn't work for me Returns following error: Total Cargo Carried: Fatal error: Call to undefined method StatsData::getTotalForCol() in /home2/orangea1/public_html/core/common/StatsData.class.php on line 509
-
Simple when you know how Thank you sir, you're a gentleman
-
Hi all. I would like to give pilots the option to move hubs from the pilot centre>Edit My Profile, Email and Avatar page. (profile_edit.tpl). If someone could help me with the required code, I would be very grateful?
-
Hi You can set the currency type in your local.config.php file, we use Euro's. The live pricing feature does not work! However leave this set to "true" if you use VA Central. You will need to change the default fuel price (also in local.config.php) or you will have to charge sky high ticket prices to compensate! Here's mine: Config::Set('FUEL_GET_LIVE_PRICE', true); Config::Set('FUEL_DEFAULT_PRICE', '0.32'); Config::Set('FUEL_SURCHARGE', '0.0'); Here is a list of our expenses. Some we use, some we don't, but it might give you a few ideas. [EXPENSES PER FLIGHT OR MONTH IN €-Euros] Corporation Tax = 22% PM Staffing costs = 208,300 PM =100 employees 2,083p/m OR 25,000p/a Office rental = 10,000 PM Fixed costs = 4,000 PM Utilities All other costs = 7.1% PM All other unspecified costs Supplies = 500 PM Office A/C Maintenance = 25,000 PM Catering = 205 PF Parking/Gate fees = 250 PF Landing fees = 350 PF Handling fees = 475 PF ECO Tax = 0.75% PF Insurance = 46 PF Accurate as of 04/12. Forecast to fall barring a major incident! Depreciation & amortisation = 7% PF Station expenses: 10.8% per month Passenger Services: 10.5% per month (incl catering I feel) Promotion and sales: 16.4% per month Administration 12.2% per month Maintenance: 10.1% per flight Airport Charges: 4.1% per flight Enroute facility charges: 2.4% per flight
-
Well, there hasn't been anything for three years, so don't hold your breath!
-
Well that made the error message go away but now I get "There are no LoA requests. - Your version of this module is up to date. Wohooooo! ) " I made the LoA request and it is in the DB???
-
Thats the best bit of advice you will get. It's all very well having a snazzy website with all the bells n whistles, but if there isn't anything under the hood, pilots will leave pretty quick. Make sure everything works as it should, triple check spelling/typo's and your schedules are sorted, expenses, fleet painted and ready to fly etc. This way you should avoid becoming yet another 3 month start-up wonder!
-
I thought, Ooo... great mod but it doesn't want to play! Everything works OK pilot side, emails sent & received and it populates the DB. Just nothing but this error on the admin side? Leave of Absence Admin There are no LoA requests. Warning: fgetcsv() expects parameter 1 to be resource, boolean given in /home2/orangea1/public_html/admin/modules/LoA/LoA.php on line 83 Warning: fclose() expects parameter 1 to be resource, boolean given in /home2/orangea1/public_html/admin/modules/LoA/LoA.php on line 84 Any ideas?
-
I have also been looking at this. As of 24 May, the European JET-A price is 278 US Cents per gallon. http://www.iata.org/...e-analysis.aspx So, if my maths hold up, that makes it 41 US Cents per lb. Convert that into Euro's, at todays rate http://www.x-rates.c...EUR&amount=0.41 makes the price of JET-A 0.31 Euro's per lb?
-
I agree, I need glasses and that font makes me squint!
-
I'm assuming the 5-15 dollars is for logo's, how much per a/c repaint? Nice work BTW
-
Clever use of space. Like it!
-
FREE Web Hosting - FS Repaints - Web Development - Software
OA01 replied to SubyDriver's topic in Paid Services
You can't afford £2.50 a month.... -
Hello All, Two vacancies have opened with Orange Air. We are looking to recruit an Events Officer and an Operations Officer. Events Officer Responsibilities: Required to arrange, organise and promote on-line/off-line events. Requirements: Experience and/or enthusiasm Salary: Only my eternal gratitude Holidays: None Operations Officer Responsibilities: Required to seek out new life, new civilisations..... Sorry wrong forum! Required to seek out new routes and close down unprofitable ones. To ensure we are utilising the appropriate aircraft. Responsible for all scheduling. Requirements: Blonde, 32,36,32..... Sorry! Definitely the wrong forum! Experience and/or enthusiasm Salary: Virtually a lot Holidays: Virtually anywhere Interested? E-mail: head.quarters AT orange-air.co.uk Thanks,