-
Posts
8151 -
Joined
-
Last visited
-
Days Won
39
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by Nabeel
-
-
-
When it stops working like that suddenly, either reinstall FSACARS or delete the fsacars.ini. It's a finicky program.
-
After you click "stop log" then accept flight, does it get sent then?
-
He commented out one line in the code, in core/modules/acars/fsacars.php, did you do that?
-
I've fixed this in the update, it's a issue with your host not allowing remote_url_fopen
-
Yup, Roger wrote a quick bit about that in the FAQ
-
Yes, the registrations have to be unique, along a common scheme:
http://en.wikipedia.org/wiki/Aircraft_registration
Interesting it let you add multiple with the same reg.
/Goes bug hunting
-
Not the name, the aircraft *registration*. It won't recognize the name, especially if there are multiple with same name but different registrations.
-
Yes they have to fill in the registration. I've changed it in the next version so it will warn you if there's no aircraft filled in (it will show up)
I'm not sure if that's your issue though. Are you sure the reports are reaching the site? Do a quick 5 min flight with everything filled in to see if it works.
If aircraft is your issue, a temp fix for now:
core/common/pirepdata.class.php, line 60ish:
INNER JOIN '.TABLE_PREFIX.'aircraft a ON a.id = p.aircraft
Change that INNER to LEFT so it reads:
LEFT JOIN '.TABLE_PREFIX.'aircraft a ON a.id = p.aircraft
-
Yup, copy it to your skin folder so it doesn't get overwritten!
-
According to site referrals, it seems as though there about 60+ VAs now using phpVMS in one form or another. I would like to build a list, but make it voluntary to add your VA to the mix. This list will be automatically aggregated on another page.
Put your entry as:
Virtual Airline Name - Website AddressNo other comments please, just the name and address
-
Very nice site!
-
You can have the one domain that's not on the key just forward to the domain which does have the key.
I'll have to look at the code and see if I can spot you on how to have two separate keys
-
Yeah, wrap is good.
The aircraft, that's a bug in the backend.
-
You'll have to adjust the table CSS to fix that. Same with the search.To have them all showing, mess with the HTML in the schedule_searchform.tpl
As for the aircraft flight, that's a known bug and been fixed in the next version.
-
Ok, find that sscanf() line, around line 499,
replace that line and the next one with this:
$txtcolor = str_replace('#', '', Config::Get('SIGNATURE_TEXT_COLOR')); $color = sscanf($txtcolor, '%2x%2x%2x'); $textcolor = imagecolorallocate($img, $color[0], $color[1], $color[2]);
-
Haven't got to it yet, workin' my way down my list, it's the 3rd one down, hopefully by this afternoon, unless my boss decides to do something crazy like give me work.
-
Should you add them in with the main schedule?
Yes you define on the schedule what type it is, charter, cargo, pax
-
Call the function:
$activeflights = ACARSData::GetACARSData(); foreach($activeflights as $flight) { print_r($flight); }
$flight is an object, call each column as:
$flight->columname
-
How will the charter flights go?
What do you mean?
They will operate at the max capacity specified
-
Don't copy all of the templates, only the ones you change. Did you watch the video tutorial, that may help explain things a bit:
http://www.phpvms.net/tutorials/skinningbasicsp1/
Give that a shot.
-
Excellent!
-
Hey there my friend,
Also check out this video tutorial:
http://www.phpvms.net/tutorials/skinningbasicsp1/
Part 2 should be coming sometime soon.
-
You're running PHP 4.4.9, click the link and check the top header.
Check with your host how to switch it to PHP 5.
[SOLVED] fsacars and database error
in Support Forum
Posted
In your local.config.php, there's a setting ACARS_DEBUG, set it to true,
Then post the log file from core/modules/acars/log.txt