Jump to content

Nabeel

Administrators
  • Posts

    8151
  • Joined

  • Last visited

  • Days Won

    39

Posts posted by Nabeel

  1. 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.

  2. 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.

  3. 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

  4. 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?

  5. 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.

  6. 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)

  7. 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.

  8. 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)

  9. 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).

  10. 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.

    :)

×
×
  • Create New...