Jump to content

jonbeckett

Members
  • Posts

    14
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by jonbeckett

  1. We have been using PHPVMS ACARS successfully for months at https://airline.virtualflight.online  - but today the ACARS clients have started throwing "License cannot be found" errors on launch.

     

    The ACARS log says the following:

     

    05-16 18:37:52|ERROR; Error loading license: Invalid license
    05-16 18:37:52|ERROR; No license found, url=https://airline.virtualflight.online
    05-16 18:37:52|ERROR; Startup Error: License could not be found, please contact your admin
    AcarsLib.Errors.LoadingError: License could not be found, please contact your admin
       at Acars.Services.AppService.LoadAirlineConfig(Profile profile)
       at Acars.Services.AppService.ApplicationStartup()
       at Acars.Views.SplashWindow.Bootstrap() acars Void MoveNext()
    05-16 18:37:53|INFO; MessageBox, message=Loading error: License could not be found, please contact your admin, see logs for more details
     

    Nothing has changed in the airline, or the client software. I've checked the license key at vmshost.io - it's correctly entered into the installation of phpvms.

     

    The only thing I can see is that the license has the domains virtualflight.online and www.virtualflight.online - but NOT airline.virtualflight.online - and there is no way for us to change that (not sure if this is a change recently that takes the subdomain into account?

     

    Is this a failure at your end ?

  2. Hi all,

     

    We have just started an airline and went with pounds and dollars to begin with because it made everything straightforward. We're considering switching to kilograms and euros though - and wondered if anybody else has switched - and what was involved.

     

    I'm guessing we would need to take the airline offline while doing it, and run some queries to convert all of the weights, rates, etc across all of the affected tables.

     

    As I said - wondering if anybody else has already done it in the past.

     

  3. Just looking through the source code, there is a dev console with a raft of really useful commands (such as re-calculating stats) - I'm wondering if anybody has ever used it - and if so how?

  4. I have the programming working based on a few generalisations - doing hub to hub routes (40+ hubs - evenly spread across each continent) - and then hub to spoke routes (600+ "international" airports). The only problem so far is the number of flights it generates is colossal if all aircraft are allowed to operate on all routes they're appropriate for. I'm going to have to introduce some artificial "sharing out" of routes to aircraft to bring the numbers down.

     

    I don't envy people working out the scheduling and routes in the real world - the "travelling salesman problem" is a famous programming nightmare :)

     

    postscript - I've added an artificial "subfleet groups" construct to the flight generator - where it groups subfleets onto flights that are within a percentage of range and cruise speed of each other. I'll obviously have to test it, but the theory works :)

  5. Interesting... I've got the basic programming working - but have come up against an interesting issue.

     

    A flight can have several subfleets associated with it - but subfleets are really designed to specify different aircraft types - therefore, the arrival time calculation will be out, because subfleets typically contain aircraft of a given performance specification.

     

    It's not a disaster - it just means a flight will typicall only ever specify one subfleet - I just thought it was worth mentioning.

  6. Some time ago I created my own program to bulk generate flight information (for VABase) - and have been thinking about doing the same for phpVMS - to work out for a given aircraft on a given direct route, how long it would take - which can then be used to auto-populate scheduled flights in one go (e.g. with 5 airlines, 10 fleet groups,100 aircraft, and 50 airports around the world, generate the thousands of sensible looking flights taking off and landing within sensible hours, with fairly accurate time calculations based on aircraft performance.

     

    I just wondered if anybody else has done this - to save re-inventing the wheel.

×
×
  • Create New...