Good work, excellent
Please help
Strict Standards: Non-static method FleetData::getAircraftTotals() should not be called statically, assuming $this from incompatible context in/homepages/10/d328219951/htdocs/core/modules/Fleet/Fleet.php on line 36
Change
public function getAircraftTotals(){ ...
to
public static function getAircraftTotals(){ ...
in what I assume must be core/common/FleetData.class.php.
Good, excellent , tanks
I have downloaded and installed Extended Fleet but I have no idea on how to get it to run.
I have created a page and I want it to run from that page.
Thanks in advance.
Hi all,
I am getting these errors when installing
Deprecated: Non-static method FleetData::getAircraftTotals() should not be called statically, assuming $this from incompatible context in /home/angelair/public_html/core/modules/Fleet/Fleet.php on line 36
Deprecated: Non-static method FleetData::get5MostRecentFlights() should not be called statically, assuming $this from incompatible context in /home/angelair/public_html/core/modules/Fleet/Fleet.php on line 37
Deprecated: Non-static method FleetData::getAllScheduledFlights() should not be called statically, assuming $this from incompatible context in /home/angelair/public_html/core/modules/Fleet/Fleet.php on line 38
Any help would be great thanks
and I have tried the above suggestion and it does not work
This here should work, do it for each function -
Change
public function getAircraftTotals(){ …
to
public static function getAircraftTotals(){ …
in what I assume must be core/common/FleetData.class.php.
Are you sure that you have uploaded the module correctly?
Notice : The template file “/home/u296393427/public_html//core/templates/fleet/fleet_list.tpl” doesn’t exist in /home/u296393427/public_html/core/classes/TemplateSet.class.php on line 248
???
You need to change all of the .tpl files located in your template/fleet folder to .php,e.g., fleet_list.tpl to fleet_list.php. Also check to make sure that you change the two .tpl calls in your core\modules\fleet\fleet.php file to .php as well.
Regards!
how do I call it on my page?
Hello guys,
Seems a very module but when i’m installing it i have a php error like ;
Notice: The template file “/home/cchailler/public_html/phpvms/core/templates/fbsv/airport_search.php” doesn’t exist in /home/cchailler/public_html/phpvms/core/classes/TemplateSet.class.php on line 231
Somenone have an idea ..?
Thank’s
Try changing the file endings from .tpl to .php
Or you can try this
https://github.com/web541/Advanced_Fleet-master
[Advanced_Fleet-master.zip](< base_url >/applications/core/interface/file/attachment.php?id=1610)
Ecelent module, but hope helpme, purchase data print all wenesday 31 december 1969, any form changed to datestamp?

You do not know how they did ??? This is a very important function. Bet only available aircraft.
fleet_list.tpl
This is a custom system developed for this airline. In general, this checks the bids in the system and the currently active flights. There is also a cronjob which checks and removes the bids if the pilot has not started flying within a selected number of hours. Just for informational purposes, as I developed it.
On 6/10/2016 at 2:11 AM, bass said:
Yes, I have made a module which checks the plane.
The module based on (Fleet & vFleetTracker).
Nice Module, do you sell it? or can you share it :O?
Is there a way to order the table by ICAO cod rather than database id
I’ve got the ICAO code added to the table, but I’d like it to order the fleet by ICAO so I don’t have to go to the database and change the database id every time I add a new plane to the fleet
Thanks
Rick
On 10/13/2019 at 11:47 PM, Captthud said:
Is there a way to order the table by ICAO cod rather than database id
I’ve got the ICAO code added to the table, but I’d like it to order the fleet by ICAO so I don’t have to go to the database and change the database id every time I add a new plane to the fleet
Thanks
Rick
Woah somebody is still using this. (Thanks!)
Anyways, all the database queries are in: https://github.com/RyanHerga/Advanced\_Fleet/blob/master/common/FleetData.class.php. I don’t know what the name of the db field you’re trying to order by, but you’d essentially be appending “ORDER BY icao” at the end of line 17
Yup I’m us’in it lol
I can’t seem to find a copy of the new version Phpvms 7 that will instill on my server correctly, and I ran across a version of 5.5.2 that was upgraded for php7.2. It installed perfectly, and runs like a dream
Except the map…I’m not going to give Google my credit card info so it’s going away…
This module bolted right in
After much Google’in, and a lot of trial and error this is what I ended up with
I changed line 17 in fleetdataclass.php from this…$sql = 'SELECT * FROM '.TABLE_PREFIX.‘aircraft WHERE enabled = 1’;
To this…$sql = ‘SELECT * FROM phpvms_aircraft ORDER BY phpvms_aircraft.icao ASC’;
I’m getting these errors on the view page
Deprecated: Non-static method FleetData::getAircraftTotals() should not be called statically in /hermes/bosnaweb15a/b82/ipg.rtpianogcom1/ich/core/modules/Fleet/Fleet.php on line 36
Deprecated: Non-static method FleetData::get5MostRecentFlights() should not be called statically in /hermes/bosnaweb15a/b82/ipg.rtpianogcom1/ich/core/modules/Fleet/Fleet.php on line 37
Deprecated: Non-static method FleetData::getAllScheduledFlights() should not be called statically in /hermes/bosnaweb15a/b82/ipg.rtpianogcom1/ich/core/modules/Fleet/Fleet.php on line 38
I was thinking of just removing the three lines they seem restively unimportant
Check it out if you like http://www.ich.flyvfrwpr.com/ich/index.php
Other than that it runs perfectly
Thanks
Rick
Rick -
You can get rid of those 3 ‘Deprecated…’ errors on the selected aircraft page by editing /core/common/FleetData.class.php lines 76, 117and 129. Change ‘public’ to ‘public static’ and saving the file.
Perfect
Thank You
Rick