TennShadow Posted May 15, 2010 Report Share Posted May 15, 2010 Right now all my airports are set to 0 for live pricing. It appears that when a route is flown out of the US and it can't get a live price from the api it is not using the default price I have in the config. It just stays at 0. # Code to set the default fuel prices Config::Set('FUEL_DEFAULT_PRICE', '.423'); Any ideas? I'm running 930. Thanks. Quote Link to comment Share on other sites More sharing options...
TennShadow Posted May 15, 2010 Author Report Share Posted May 15, 2010 Right now all my airports are set to 0 for live pricing. It appears that when a route is flown out of the US and it can't get a live price from the api it is not using the default price I have in the config. It just stays at 0. # Code to set the default fuel prices Config::Set('FUEL_DEFAULT_PRICE', '.423'); Any ideas? I'm running 930. Thanks. I just found a new fuel setting in app.config and have replaced the above with it. How do I get it fix the PIREPS that are already filed? I didn't see a reset in the maintenance section? # Fuel info /* Default fuel price, for airports that don't have And the surcharge percentage. View the docs for more details about these */ Config::Set('FUEL_GET_LIVE_PRICE', true); Config::Set('FUEL_DEFAULT_PRICE', '.423'); Config::Set('FUEL_SURCHARGE', '5'); Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted May 15, 2010 Administrators Report Share Posted May 15, 2010 What does it use for the price? Quote Link to comment Share on other sites More sharing options...
TennShadow Posted May 15, 2010 Author Report Share Posted May 15, 2010 What does it use for the price? 0 Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted May 15, 2010 Administrators Report Share Posted May 15, 2010 That's odd, you're on the latest? Quote Link to comment Share on other sites More sharing options...
Guest lorathon Posted May 15, 2010 Report Share Posted May 15, 2010 We are having the same problem. I believe it is because the "Live Fuel Pricing" is returning a "0" at some airports. Quote Link to comment Share on other sites More sharing options...
TennShadow Posted May 15, 2010 Author Report Share Posted May 15, 2010 That's odd, you're on the latest? No, I'm running 930 at the moment. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted May 15, 2010 Administrators Report Share Posted May 15, 2010 Can you add a bug to the tracker.. thanks Quote Link to comment Share on other sites More sharing options...
TennShadow Posted May 15, 2010 Author Report Share Posted May 15, 2010 Can you add a bug to the tracker.. thanks Done. http://bugs.phpvms.net/browse/VMS-309 Thanks, Keith Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.