Jump to content

Nabeel

Administrators
  • Posts

    8148
  • Joined

  • Last visited

  • Days Won

    39

Everything posted by Nabeel

  1. 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)
  2. If you edit the PIREP in the admin panel, does it save then?
  3. Hmm. Can someone confirm this? It's working on my test install. Lemme check it on my other server.
  4. 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.
  5. 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.
  6. 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.
  7. 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)
  8. 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.
  9. Press "Stop Log", and then "Accept Flight". Then check if the PIREP has been submitted. If not, then press "Send Log". I'm not sure why it throws a database error, it's something locally which it doesn't pick up.
  10. Coming along nicely!
  11. You can't quite yet. I've added those things for future expansion, or for add-ins etc, so while they are in the database, there's no dedicated spot (yet...). I am working on a "Download Center", which will include a portion for the fleet downloads which will read those links (I guess those would be mainly for liveries or textures, not the main a/c).
  12. Yep, Just backup the database, your skin (from lib/skins). Since your templates are copied into your skin folder and edited, those changes will remain packaged with the skin. Now you can either: Install phpVMS on the target server, then restore the database. OR Upload phpVMS, copy your core/local.config.php file from your test to your live site, and edit the SITE_URL and database parameters in the file to match, and then restore the database. Either of those will work. I do all the test on a local machine, so I have 2 local.configs that point to 2 different databases, and then on the remote machine, the local.config for there and I just rsync the files up. I'm testing on MySQL 5.1.30 as well (are you using xampp?). I can add an aircraft just fine, but that may be because I've edited alot of the backend code. I don't think any others are having any problem (that I've heard, except the adding multiples which there is a fix for, and the patch will be in the next build) If you want to debug it, we can go through the steps of just adding a debug statement into that fail notice... let me know.
  13. They get an email saying their registration was received, and an admin will check their registration. They will get an email about whether it was confirmed or denied, I had overlooked that. That's going to be fixed. Check with your host about emails, some hosts block or don't allow.
  14. Hey, So you removed the UNIQUE index? That shouldn't be affecting it. What version MySQL?
  15. Nah, that's just a reminder to enter the flight # there.
  16. It should work, you need FSUIPC. Check out their forums though, there's alot of information there about it.
  17. You'll be able to overwrite with an import file if that's what you're looking for.
  18. Glad to see you're getting a hang of it!
  19. Nabeel

    PHP Guide

    A very nice guide to PHP http://www.ipbwiki.com/Practical_PHP_Programming:Table_Of_Contents
  20. Yes, the registration number (N396UA by your example) That worked?
  21. In the log: Flight IATA:1 That's supposed to be the airline code and the flight number, so EZE1 for example
  22. All your aircraft are names, not the registration numbers
  23. Ahh gotcha. If you're doing the skin from ground up, alot of the CSS can be done away with, or just start from scratch. Some of the essential styles are in the /lib/css/phpvms.css file.
  24. Thanks, I'll check this out and report back to ya. Sorry about this!
×
×
  • Create New...