-
Posts
222 -
Joined
-
Last visited
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by Thomas
-
-
Hmm, Ok Thanks, I think I'll Probably just go back to the normal contact.php and contact_form.tpl, see what happens with them, If it works i will see what to do from there.
Thanks anyways
-Thomas.
-
Ok Guys,
I Used this on the Old version, Before the release of 2.0 i think, well anyways it was about 1 week after this post was made and I used this without any problems, Now ive updated the contact form with the new version, The CURRENT 2.1.934 version as its been updated, But, For some random reason, it dont work, And i submitted a test one about 5 hrs ago and got nothing back :/
Yes ive updated the .tpl's and also updated the Contact.php again but still, nothing!
Ive checked all of the files related to the contact.php and contact_form.tpl but to be quite honest i cant see any problems relating to the non-sending mail
Any Ideas?
-Thomas.
-
Yeah, got myself working on EVENTBooking. I will see if I can clean this up and get something out by the end of the weekend.
Looking Forward To It Sir
-
Love This! Any News Simpilot?
-
This is probably the most easiest one, I use it on my VA's website, Just put it where you want the images to go and then it should work fine!
<script language=javaScript> var j,d="",l="",m="",p="",q="",z="",list= new Array() list[list.length]='<?php echo SITE_URL?>###.png'; list[list.length]='<?php echo SITE_URL?>###.png'; list[list.length]='<?php echo SITE_URL?>###.png'; list[list.length]='<?php echo SITE_URL?>###.png'; j=parseInt(Math.random()*list.length); j=(isNaN(j))?0:j; document.write("<img src='"+list[j]+"'>"); </script>
You can see it in use here: http://members.pulseair.co.uk/ If you want to add more then just copy this line:
list[list.length]='<?php echo SITE_URL?>###.png';
Hope this helps,
Thomas.
-
Another Great Addon for PHPVMS, I will install it and let my jaw drop
-
Hey Guys,
Just wondering if theres anyway i can get the aircraft's current location so that i can show it on my fleet page,
I thought there might be a php cmd/code for the GetAircraftLocation or somesort?
Help would be appreciated
Regards,
Thomas.
UPDATE:
FOUND OUT HOW TO, DELETE THIS POST IF YOU WISH!
-
Yes he was at the departure airport lol
Also i think it is only a few airports, i will look later, Thanks guys
-
As you can probably see if you look quick, NOW! The flight / pilot is no where near the route/airports!
Link To Map: http://members.pulseair.co.uk/index.php/acars
Were running the latest beta (900) and for some reason the pilot shows up half way across the world from the actual airports he is meant to be at!
Also ive noticed that instead of flying different routes / positions pilots always appear around the african area. Please heLP!
-Thomas.
-
Ok Then, Now theres only these two;
[Checksum failed] /core/classes/CodonWebService.class.php did not match, possibly corrupt or out of date[Error] /lib/js/jquery.form.js doesn't exist
Any ideas?
-Thomas.
-
Anything in those debug logs? Several others are using without problems, though I have no personally tested it - there shouldn't be any changed at all to that code. Did it start at a specific revision?
If it says sent but don't show up, seems like a DB issue.. so turn DEBUG_MODE to true and let it sit for a while. It should throw something in. Of course, the usual install/checkinstall and checkdb to see if there's anything funky there as well
Nothing In the Logs, Yes there 777.
Heres the check install, Theres 15 Errors
phpVMS Virtual Airline Administration SoftwareInstall Check
Checking PHP version
[OK] PHP version is 5.2.x
Checking connectivity...
[OK] Can contact outside servers
Checking for SimpleXML module...
[OK] SimpleXML module exists!
Checking file hashes for corrupt or mismatched files
[Checksum failed] /install/templates/s3_setup_finished.tpl did not match, possibly corrupt or out of date
[Checksum failed] /core/common/PIREPData.class.php did not match, possibly corrupt or out of date
[Checksum failed] /core/common/CentralData.class.php did not match, possibly corrupt or out of date
[Checksum failed] /core/templates/fsfk_log_flightimages.tpl did not match, possibly corrupt or out of date
[Checksum failed] /core/templates/profile_stats.tpl did not match, possibly corrupt or out of date
[Checksum failed] /core/templates/fsfk_log_flightplan.tpl did not match, possibly corrupt or out of date
[Checksum failed] /core/templates/fsfk_log_flightdata.tpl did not match, possibly corrupt or out of date
[Checksum failed] /core/templates/email_pilot_retired.tpl did not match, possibly corrupt or out of date
[Checksum failed] /core/templates/fsfk_vaconfig.tpl did not match, possibly corrupt or out of date
[Checksum failed] /core/templates/login_passwordreset.tpl did not match, possibly corrupt or out of date
[Checksum failed] /core/templates/pirep_editform.tpl did not match, possibly corrupt or out of date
[Checksum failed] /core/classes/CodonEvent.class.php did not match, possibly corrupt or out of date
[Checksum failed] /admin/modules/Maintenance/Maintenance.php did not match, possibly corrupt or out of date
[Checksum failed] /lib/js/jquery_essentials.js did not match, possibly corrupt or out of date
[Checksum failed] /lib/js/ofc/js-ofc-library/ofc.js did not match, possibly corrupt or out of date
-- Checked 164 files, found 15 errors
-
Ok Nabeel, Ive got a problem now
When Pilots on my site send there reports on Xacars and FSacars it say successfull, However on FSPAX It gives an error saying unable to send bla bla bla...
However even though Xacars and FSacars says they have sent, They dont show up on the website! So then, Guess what i did, I took the website back to the release version: 2.0.854 and they work fine! Bingo!
Any help because i liked the new updates on ver 900!
-Thomas.
-
Ok Well Heres The Thing,
I try to send the Schedules to VAcentral Get this error:
Sending schedules...There was an error, server said ""
Try to send Pireps to vacentral, get this error;
Sending all PIREPSThere was an error, server said ""
^^ Would be nice to fix the above as there now 64th...
Also, Just a little erm, Sort of annoyance, I cant see the VACentral links in the admin panel, I have to type in the link manually - I dont mind but some people may
I ran the unit test, I got these errors, If there important then i will raise these ones in a separate support ticket,
phpVMS API Unit TestsCore API Tests
Checking geonames server
Pass: PIREP Testing->testRetrieveAirport->Not equal expectation passes as [Object: of stdClass] does not match [boolean: false] at [/home/pulseair/public_html/members/unittest/tests/ops_test.php line 26]
Checking phpVMS API server
Pass: PIREP Testing->testRetrieveAirport->Not equal expectation passes as [Object: of stdClass] does not match [boolean: false] at [/home/pulseair/public_html/members/unittest/tests/ops_test.php line 34]
findSchedules
Pass: PIREP Testing->testFindSchedules->Not equal expectation passes as [Array: 410 items] does not match [boolean: false] at [/home/pulseair/public_html/members/unittest/tests/ops_test.php line 42]
Find disabled schedules
Pass: PIREP Testing->testFindSchedules->Not equal expectation passes as [Array: 21 items] does not match [boolean: false] at [/home/pulseair/public_html/members/unittest/tests/ops_test.php line 47]
Checking to see if flight numbers are parsed
Fail: RouteTester -> testExtractRoute -> Equal expectation fails at character 0 with [] and [VMA] at [/home/pulseair/public_html/members/unittest/tests/routes_tests.php line 19]
Fail: RouteTester -> testExtractRoute -> Equal expectation fails at character 0 with [VMA1234A] and [1234A] at [/home/pulseair/public_html/members/unittest/tests/routes_tests.php line 20]
Fail: RouteTester -> testExtractRoute -> Equal expectation fails at character 0 with [] and [VMA] at [/home/pulseair/public_html/members/unittest/tests/routes_tests.php line 24]
Fail: RouteTester -> testExtractRoute -> Equal expectation fails at character 0 with [VMA324AB] and [324AB] at [/home/pulseair/public_html/members/unittest/tests/routes_tests.php line 25]
Fail: RouteTester -> testExtractRoute -> Equal expectation fails at character 0 with [] and [VMS] at [/home/pulseair/public_html/members/unittest/tests/routes_tests.php line 29]
Fail: RouteTester -> testExtractRoute -> Equal expectation fails at character 0 with [VMS3030B] and [3030B] at [/home/pulseair/public_html/members/unittest/tests/routes_tests.php line 30]
Checking Times
Time added, all PIREPS at once
Pass: TimesTester->testTimesAdded->Not equal expectation passes because [integer: 0] differs from [string: 2237.47] by 2237.47 at [/home/pulseair/public_html/members/unittest/tests/times_test.php line 29]
Time added, pilot by pilot
Pass: TimesTester->testTimesAdded->Not equal expectation passes because [integer: 0] differs from [string: 2155.35] by 2155.35 at [/home/pulseair/public_html/members/unittest/tests/times_test.php line 42]
Comparing pilot to pilot vs all PIREPS
Fail: TimesTester -> testTimesAdded -> Equal expectation fails at character 1 with [2155.35] and [2237.47] at [/home/pulseair/public_html/members/unittest/tests/times_test.php line 45]
Compare to STAT total hours
Fail: TimesTester -> testTimesAdded -> Equal expectation fails at character 1 with [2155.35] and [2237.47] at [/home/pulseair/public_html/members/unittest/tests/times_test.php line 48]
3/3 test cases complete: 6 passes, 8 fails and 0 exceptions.
-
Ok Well Heres The Thing,
I try to send the Schedules to VAcentral Get this error:
Sending schedules...There was an error, server said ""
Try to send Pireps to vacentral, get this error;
Sending all PIREPSThere was an error, server said ""
^^ Would be nice to fix the above as there now 64th...
Also, Just a little erm, Sort of annoyance, I cant see the VACentral links in the admin panel, I have to type in the link manually - I dont mind but some people may
I ran the unit test, I got these errors, If there important then i will raise these ones in a separate support ticket,
phpVMS API Unit TestsCore API Tests
Checking geonames server
Pass: PIREP Testing->testRetrieveAirport->Not equal expectation passes as [Object: of stdClass] does not match [boolean: false] at [/home/pulseair/public_html/members/unittest/tests/ops_test.php line 26]
Checking phpVMS API server
Pass: PIREP Testing->testRetrieveAirport->Not equal expectation passes as [Object: of stdClass] does not match [boolean: false] at [/home/pulseair/public_html/members/unittest/tests/ops_test.php line 34]
findSchedules
Pass: PIREP Testing->testFindSchedules->Not equal expectation passes as [Array: 410 items] does not match [boolean: false] at [/home/pulseair/public_html/members/unittest/tests/ops_test.php line 42]
Find disabled schedules
Pass: PIREP Testing->testFindSchedules->Not equal expectation passes as [Array: 21 items] does not match [boolean: false] at [/home/pulseair/public_html/members/unittest/tests/ops_test.php line 47]
Checking to see if flight numbers are parsed
Fail: RouteTester -> testExtractRoute -> Equal expectation fails at character 0 with [] and [VMA] at [/home/pulseair/public_html/members/unittest/tests/routes_tests.php line 19]
Fail: RouteTester -> testExtractRoute -> Equal expectation fails at character 0 with [VMA1234A] and [1234A] at [/home/pulseair/public_html/members/unittest/tests/routes_tests.php line 20]
Fail: RouteTester -> testExtractRoute -> Equal expectation fails at character 0 with [] and [VMA] at [/home/pulseair/public_html/members/unittest/tests/routes_tests.php line 24]
Fail: RouteTester -> testExtractRoute -> Equal expectation fails at character 0 with [VMA324AB] and [324AB] at [/home/pulseair/public_html/members/unittest/tests/routes_tests.php line 25]
Fail: RouteTester -> testExtractRoute -> Equal expectation fails at character 0 with [] and [VMS] at [/home/pulseair/public_html/members/unittest/tests/routes_tests.php line 29]
Fail: RouteTester -> testExtractRoute -> Equal expectation fails at character 0 with [VMS3030B] and [3030B] at [/home/pulseair/public_html/members/unittest/tests/routes_tests.php line 30]
Checking Times
Time added, all PIREPS at once
Pass: TimesTester->testTimesAdded->Not equal expectation passes because [integer: 0] differs from [string: 2237.47] by 2237.47 at [/home/pulseair/public_html/members/unittest/tests/times_test.php line 29]
Time added, pilot by pilot
Pass: TimesTester->testTimesAdded->Not equal expectation passes because [integer: 0] differs from [string: 2155.35] by 2155.35 at [/home/pulseair/public_html/members/unittest/tests/times_test.php line 42]
Comparing pilot to pilot vs all PIREPS
Fail: TimesTester -> testTimesAdded -> Equal expectation fails at character 1 with [2155.35] and [2237.47] at [/home/pulseair/public_html/members/unittest/tests/times_test.php line 45]
Compare to STAT total hours
Fail: TimesTester -> testTimesAdded -> Equal expectation fails at character 1 with [2155.35] and [2237.47] at [/home/pulseair/public_html/members/unittest/tests/times_test.php line 48]
3/3 test cases complete: 6 passes, 8 fails and 0 exceptions.
-
Ok Cool Nabeel, Thanks.
One Other thing, Is there anyway to put the flag there instead of the US text?
Thomas.
-
<?php $params = array( 'table' => TABLE_PREFIX.'pilots', 'fields' => 'location, COUNT(*) as `total`', 'group' => 'location', ); $results = DB::quick_select($params); if(!$results) { return 0; } ?>
Would that be the correct code?
-Thomas.
-
Hey Guys,
Well this is a record, I aint asked for help for a bit of time!
Ok, So is there a way to do something like this...
(UK FLAG) Total Pilots: 100
(US FLAG) Total Pilots: 100
(DE FLAG) Total Pilots: 100
etc...
Thomas.
-
Nice Skin,
Good work Brian!
-
Brilliant,
Thanks for creating.
- 1
-
Should be good, will be looking forward to it
-
Ok Jacob, Thanks for reply.
Great addon aswell!
Just them few things i thought would need bringing up.
-thomas.
-
Thankyou sooo much!
This will be added to our site on the next skin.
-Thomas.
-
Sorry to be a pain, But is there anyway you can take the flag/country and name off so you would be left with basically the callsign?
eg:
PLS012, PLS001, PLS015, PLS040, etc...
Thomas.
-
Hi Jacob!!!
Couple of things ive noticed,
1. Get 2 errors...
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'ShopAdmin::help' was given in /home/pulseair/public_html/members/core/classes/MainController.class.php on line 292
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'ShopAdmin::about' was given in /home/pulseair/public_html/members/core/classes/MainController.class.php on line 292
2. just a little thing... Is there meant to be an image next to ShopAdmin in the admin panel?
3. This is more advice, When adding the databases i had to split them up into 3 parts, so I basically Query'd it 3 times.
Nice work,
Glad to see its released.
-Thomas.
EVENTBooking BETA 1.3
in Simpilot Group Addons
Posted
Brilliant Simpilot, No problems!
-Thomas.