Jump to content

LakerVirtual

Members
  • Content count

    62
  • Joined

  • Last visited

Community Reputation

2 Neutral

1 Follower

About LakerVirtual

  • Rank
    Advanced Member

Contact Methods

  • Website URL
    http://www.lakervirtual.com

Profile Information

  • Gender
    Male

Recent Profile Visitors

1195 profile views
  1. Schedule export problem [SOLVED]

    That seems to have solved it, by replacing the line of code in import.php. There were other columns that had spaces added everytime on export but all seems ok now. Thanks for the help
  2. Schedule export problem [SOLVED]

    simpilot 5.5.2
  3. Schedule export problem [SOLVED]

    When exporting the schedule from the Admin Centre option, it is exporting the daysofweek column with a preceding SPACE i.e. " 0123456" not "0123456". This gives the problem that when imported back SATURDAY is always missing from the schedule, as it imports " 012345" Any ideas please as it is really annoying have to edit the whole column everytime
  4. NEW: aircraft info API

    It works now, thanks
  5. NEW: aircraft info API

    I have installed this as per the readme file, and when I try to add a new aircraft I get no data, just a message: Fetching aircraft data from https://virtualairlines.eu No data is received, all boxes still blank. Any ideas?
  6. Advanced Fleet Manager [SOLVED]

    I have deleted & re-installed all the files for this module and now it seems to work!! Not sure of why, but there you go. Thanks for all your help guys.
  7. Advanced Fleet Manager [SOLVED]

    Attached FleetData.class.zip
  8. Advanced Fleet Manager [SOLVED]

    there is only 'public static' not 'public function' Part of FleetData.class.php: <?php // -- Class Name : FleetData // -- Purpose : Gathers Detailed Information on VA Aircrafts // -- Created On : 10/27/2013 // -- Last Revised On : 10/27/2013 // -- Version : 1.0 class FleetData extends CodonData { public static // -- Function Name : GetAllAircrafts // -- Params : // -- Purpose : function GetAllAircrafts() { $sql = 'SELECT * FROM '.TABLE_PREFIX.'aircraft WHERE `enabled` = 1'; return DB::get_results($sql); } public static // -- Function Name : getBasicInfo // -- Params : $id // -- Purpose : function getBasicInfo($id)
  9. Advanced Fleet Manager [SOLVED]

    PHP 5.6 tried with PHP 5.5 also, & freehostia.com
  10. Advanced Fleet Manager [SOLVED]

    I've done that and still got same error messages. Here is fleet.php <?php /** * phpVMS - Virtual Airline Administration Software * Copyright (c) 2008 Nabeel Shahzad * For more information, visit www.phpvms.net * Forums: http://www.phpvms.net/forum * Documentation: http://www.phpvms.net/docs * * phpVMS is licenced under the following license: * Creative Commons Attribution Non-commercial Share Alike (by-nc-sa) * View license.txt in the root, or visit http://creativecommons.org/licenses/by-nc-sa/3.0/ * * @author Nabeel Shahzad * @copyright Copyright (c) 2008, Nabeel Shahzad * @link http://www.phpvms.net * @license http://creativecommons.org/licenses/by-nc-sa/3.0/ */ class Fleet extends CodonModule { public function index() { $this->set('aircrafts', FleetData::GetAllAircrafts()); $this->show('fleet/fleet_list'); } public function view($aircraftid) { $this->set('basicinfo', FleetData::getBasicInfo($aircraftid)); $this->set('purchasedate', FleetData::getDateOfPurchase($aircraftid)); $this->set('firstflight', FleetData::getFirstFlight($aircraftid)); $this->set('lastflight', FleetData::getLastFlight($aircraftid)); $this->set('detailedinfo', FleetData::getAircraftTotals($aircraftid)); $this->set('recentflights', FleetData::get5MostRecentFlights($aircraftid)); $this->set('scheduledflights', FleetData::getAllScheduledFlights($aircraftid)); $this->show('fleet/fleet_view'); } }
  11. Advanced Fleet Manager [SOLVED]

    Anyone please?? What does this answer mean?
  12. Advanced Fleet Manager [SOLVED]

    How, please. I;m no php expert
  13. Advanced Fleet Manager [SOLVED]

    Install this module (php verion for PHPVMS 5.5.2) and get this error when selecting an aircraft, and the following screen http://....../fleet/view/(any aircraft) gives this error: Deprecated: Non-static method FleetData::getAircraftTotals() should not be called statically, assuming $this from incompatible context in /home/www/lakervirtual.com/core/modules/Fleet/Fleet.php on line 36Deprecated: Non-static method FleetData::get5MostRecentFlights() should not be called statically, assuming $this from incompatible context in /home/www/lakervirtual.com/core/modules/Fleet/Fleet.php on line 37Deprecated: Non-static method FleetData::getAllScheduledFlights() should not be called statically, assuming $this from incompatible context in /home/www/lakervirtual.com/core/modules/Fleet/Fleet.php on line 38 after those messages rest of page displays OK. Any ideas anyone?? Thanks
  14. Importing Schedules v5.5.2 [SOLVED]

    Turns out the CSV editor (Ron's Editor) had added a blank space at the start of the string, so " 0123456" was being imported as " 012345", 7 characters with the space, the 8th being the 6
  15. Importing Schedules v5.5.2 [SOLVED]

    Importing flight schedules from a CSV file and although in the CSV file the daysofweek is 0123456, when imported schedule shows flights with no SATURDAY scheduled? Any ideas anyone?
×