Jump to content

Nabeel

Administrators
  • Posts

    8141
  • Joined

  • Last visited

  • Days Won

    38

Posts posted by Nabeel

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

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

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

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

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

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

    :)

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

  8. I have a new request. Something to do with schedules. Either an area to request a new route or some way to overwrite previous route. (something easier than manually editing them) I won't mind if either of these aren't possible at the moment, but I just had the thought.

    You'll be able to overwrite with an import file if that's what you're looking for.

×
×
  • Create New...