Jump to content

Nabeel

Administrators
  • Posts

    8139
  • Joined

  • Last visited

  • Days Won

    37

Everything posted by Nabeel

  1. I will have a look. It's difficult. In respect to PHP settings, I code very conservatively, assuming that every "shortcut" option is off. I don't use register_globals either way. That would be the way to do it, however ZIP handling differs greatly between OSs and PHP installs, some may have PECL zip extensions, some may not and have to use the OS. That will take some investigation.
  2. Cody outlined the best way, create a copy of the default theme (crystal), and just mess around with it. Remove divs, replace them with your own. Think of it as a skeleton that you can change around and mess with. Also, don't edit templates directly. Copy them into your skin folder, so they won't be overwritten.
  3. What are you IE security settings? It may have disabled redirects
  4. Well, we can start with, what don't you understand?
  5. Yeh, IE has CSS issues. Otherwise it should work (I tested the default templates). What problem are they having specifically, what do they mean by 'cant access'?
  6. Yep, just change the id value with NULL. phpVMS has paid hosting too
  7. There is an RSS feed. I've changed in the next release to send an email.
  8. Alright, this error is fixed too Open /core/common/PIREPData.class.php, around line 316, there is: DB::$insert_id = $pirepid; Move this a few lines down, just above the "return true" line. Then you'll be ok.
  9. Well on the PIREPS, there's an option to view pireps just for the hub of the person who is logged in. As for the other thing, that involves a lot of permissions being added in.. that's not really a priority at this point since it'll eat away at the time for doing other things.
  10. That is correct. I have the string in the fsacars.ini file for future, so it'll just work without having to redownload the config file (people won't/will forget to do that). I haven't had time yet to implement it in a 'release' version. It should be mapping to schedules though: http://phpvms.devjavu.com/browser/trunk/core/modules/ACARS/fsacars.php As it is on the current test version, though I haven't had the time yet to test it.
  11. I've corrected that, it's just an error with the error logger which reports the error (phew) But what it would tell you is that it can't connect to the database. Underscores shouldn't matter (I have 2 underscores in one of my test db's). Check the username/password/db name
  12. Check in the admin panel if they are submitted; redownload your config file from the pilot center, open it up and make sure the URL for your site is correct. What are you entering for the pilot number (should already be filled) and the flight number?
  13. You can't rename the files to .php5 because of how the loader works... that requires alot more work than just changing extensions, and you'll be messed up for updates as well. Check with your host, they must have a way of mapping .php to php5 through an htaccess file.
  14. I'll take a look and see if I can spot anything. Sorry about that!
  15. Just hit accept flight, that should submit it. Don't need to hit submit log, UNLESS it doesn't post the PIREP after you hit "accept flight"
  16. Cool, I'll add that as a link in the panel to look up that information. Make sure /lib/signatures, /lib/avatars are CHMOD'd to 777. It checks during the install, but the OS/PHP sometimes return is_writeable() as true when it's not. Make sure those are writable, then, in the admin panel, regenerate the signature. The avatar is missing (I'm gonna have a default "no avatar"), and the rank image is also missing (you have to define that in the panel)
  17. If you edit the PIREP in the admin panel, does it save then?
  18. Hmm. Can someone confirm this? It's working on my test install. Lemme check it on my other server.
  19. OK, here's the fix: open /core/common/OperationsData.class.php Around about line 149/150: $sql = "INSERT INTO " . TABLE_PREFIX . "aircraft (icao, name, fullname, registration, downloadlink, imagelink, range, weight, cruise) VALUES ('$icao', '$name', '$fullname', '$registration', '$downloadlink', '$imagelink', '$range', '$weight', '$cruise')"; Replace with: $sql = "INSERT INTO ".TABLE_PREFIX."aircraft ( icao, name, fullname, registration, downloadlink, imagelink, `range`, weight, cruise) VALUES ( '$icao', '$name', '$fullname', '$registration', '$downloadlink', '$imagelink', '$range', '$weight', '$cruise')"; Then, scroll down about 10line: Find: $sql = "UPDATE " . TABLE_PREFIX."aircraft SET icao='$icao', name='$name', fullname='$fullname', registration='$registration', downloadlink='$downloadlink', imagelink='$imagelink', range='$range', weight='$weight', cruise='$cruise' WHERE id=$id"; Replace with: $sql = "UPDATE " . TABLE_PREFIX."aircraft SET icao='$icao', name='$name', fullname='$fullname', registration='$registration', downloadlink='$downloadlink', imagelink='$imagelink', `range`='$range', weight='$weight', cruise='$cruise' WHERE id=$id"; Basically adding backticks (`) around the range column name. This is fixed now for the next release but that's a quick fix for now.
  20. What are you loading from? FS9 or FSX? I doubt it'll load from FSX. Search their forums too, someone else may have a fix for it.
  21. Alright, "RANGE" is now a reserved word in mysql 5.1.x. Argh. I hate it when they change those things. This will be fixed in the next update, since the column name needs to be changed.
  22. Flight plan loading error? What's the error/can you take a few screenshots? I haven't tried loading a .pln file from FSACARS. The .pln file format has changed between FS9 and FSX (FSX is in XML), so it could be choking on that. I don't know if FSACARS was updated to interpret it (I doubt it)
  23. I've confirmed a problem with this. It'll be fixed. Edit: Seems to be an issue with MySQL 5.1.x. I'm looking into it. Weird.
×
×
  • Create New...