-
Posts
8151 -
Joined
-
Last visited
-
Days Won
39
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by Nabeel
-
-
Thanks, and you too!
-
Yep, just change the id value with NULL.
phpVMS has paid hosting too
-
There is an RSS feed. I've changed in the next release to send an email.
-
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.
-
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.
-
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.
-
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
-
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?
-
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.
-
-
I'll take a look and see if I can spot anything. Sorry about that!
-
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"
-
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)
-
If you edit the PIREP in the admin panel, does it save then?
-
Hmm. Can someone confirm this? It's working on my test install.
Lemme check it on my other server.
-
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.
-
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.
-
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.
-
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)
-
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.
-
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.
-
Coming along nicely!
-
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).
-
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.
IE is trash
in Support Forum
Posted
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'?