Jump to content

Nabeel

Administrators
  • Posts

    8151
  • Joined

  • Last visited

  • Days Won

    39

Everything posted by Nabeel

  1. You're using the config file from the pilot center?
  2. Nabeel

    Fuel

    Aha, apparently the fuel price for LFPG is available. So that price you saw is the live price I've added an option int he latest build to turn on/off the live fuel price
  3. I don't see that. Try adding just a a.mainlink class
  4. It's because they are set to 0, so it's using the default value from the config file. Set the default fuel price in the local.config.php
  5. Nabeel

    Fuel

    Did you enter the prices into that table? Empty that table, those are only cached prices
  6. So what's the exact error?
  7. Nabeel

    Fuel

    In FSACARS set the unit to Kg also, it's in the config file IIRC. If it's not, I'll upload a patch which will do the conversions. Did the fuel report correctly?
  8. <?=php Should be <?php
  9. Nabeel

    Fuel

    Don't put it in quotes, eg: Config::Set('FUEL_DEFAULT_PRICE', 0.45);
  10. Nabeel

    Fuel

    Which airport did you test/what's the code you put in? I'm trying to duplicate this, seems to be returning the proper value If your default fuel value 3.9 in your config file?
  11. What's the main_link class contain in y our css?
  12. Looks like a typo: <link href="</php echo SITE_URL/>default.css" rel="stylesheet" type="text/css" /> Should be <?php and ?>, respectively
  13. Try re-uploading the files again. In the first step, did you click "Check database connection"? What did that report?
  14. You have to put it in an image tag <img src="<?=php echo $award->image?>" />
  15. Nabeel

    Awards

    This was fixed in the latest release
  16. Nabeel

    Fuel

    Check this read, and post the result: http://forum.phpvms.net/index.php?topic=892.0
  17. Ok, so you have to set the fuel price in the airport dialog box. When you goto airports, select the airport, and set the price there. Or have you done that?
  18. Rev 707 - Days fix because I'm a moron15 June 2009, 8:06 amRev 707 - nabeel (1 file(s) modified)Days fix because I'm a moron~ /trunk/core/classes/Util.class.phpSource: phpVMSDownload from http://downloads.phpvms.net
  19. You only have to chmod certain files (check the docs) The problem you're having is a problem with your host: Can't connect to local MySQL server through socket '/tmp/mysql.sock' There's an error or problem with their database server install. Try creating a new database user and new database. Contact them as well
  20. If you're using the same IDs now should be fine. Do a complete reinstall of fsacars, including deleting the directory. Then the above threads if there is a crash or error or some sort
  21. It could be using the wrong amount to calculate your total price (the amount left vs the amount used) Anyway, create a file called test.php in the same directory as index.php, and paste this into it: <?php include 'core/codon.config.php'; echo FuelData::GetFuelPrice('YMMV'); And run the file. Replace the YMMV with your airport (the departure in this case)
  22. Try it now, I'm a moron (just grab the latest beta again, it's only one file you need to update)
  23. Did you update the app.config.php file? Read that second post too in that build log thread, it shows what you have to paste into the config file
  24. I'll post a file tomorrow morning, we can see what's going on. But my other question was, is it possible it's calculating the price based on the fuel left? Is it a US airport? A price of 0 will default to looking online
  25. Try this http://forum.phpvms.net/index.php?topic=798.0 This would apply: http://forum.phpvms.net/index.php?topic=795.0 It's because there's a backlog
×
×
  • Create New...