It seems that not all my pilots when they fly are being picked up by the acars map, yet they are still able to file so it is not a huge problem, but would like to see them on the map. Would anyone know a reason as to why not all the pilots flying will show on the map?
Hello, the problem is that you cannot see the pilots on the live map or the route of the flight made?
For example can not see the pirep route on the map when the pilots use CCF Traker Free for report the pirep instead kacars who shows just the schedule route saved on database no pirep route made by the pilot.
My solution was back to older routemap.php based on google maps and now everything is shown nice and good.
[route.zip](< base_url >/applications/core/interface/file/attachment.php?id=4382)
Some flights when pilots are flying dont show on the acars map. It only seems to be a few. Their pirep is still filed however
What ACARS program? Are all pilots using the same one?
Any errors in error_log?
On the map page, any errors in the console?
smartcars, and all are using it, it is not sending the data to the acarsdata table for some reason, but is sending to another table that is used to populate another page. No errors in any log, all error logs are not dated today as the last time they were modified.
11632701 I am getting acarsid’s like that. But acarsdata table is empty.
It now seems now pilots show on it. I have no clue as to why this started. It seems different parts of my site seem to break. It is getting really tiresome.
Weird
Are you on PHP 5.6 or 7.x now?
The acars ids are probably do to auto increment being set for the table. Are the number sequential?
Why they jumped that high is anyones guess.
smartcars is linked to my new icrew site which is currently on php 5.6. The ID on the acarsdata table is set to auto_increment, but that table is empty, so those acarsid are phantom ID’s
If you change to the default crystal skin, do all the pilots show on tne acarsmap?
If the acarsdata table is completely empty, you can reset the record number to 1 and start auto-increment again. Or is the acars id linked to the pirep id?
I have tried resetting the acars map but it doesn’t work as no data is getting inserted
Ok, i have gotten the table to be populated, but flights are still not showing on the map.
Here is the most recent errors i am getting in the error_log
[16-Jul-2020 18:05:36 UTC] PHP Warning: include\_once(/icrew/core/modules/ACARS/auth.php): failed to open stream: No such file or directory in /icrew/core/modules/ACARS/ACARS.php on line 47 [16-Jul-2020 18:05:36 UTC] PHP Warning: include\_once(): Failed opening '/icrew/core/modules/ACARS/auth.php' for inclusion (include\_path='.:/opt/cpanel/ea-php56/root/usr/share/pear') in /icrew/core/modules/ACARS/ACARS.php on line 47
Is line 47 in ACARS.php…
include\_once dirname(\_\_FILE\_\_).DS.$name.'.php';
If so, I think it can’t find auth.php file in the /ACARS directory - as it’s not there in any installs I have running. No idea what the auth.php file is or does.
Here is the entire function for that section…
/\*\* \* We didn't list a function for each ACARS client, \* so call this, which will include the acars peice in \*/ public function \_\_call($name, $args) { $acars\_action = $args[0]; // clean the name... $name = preg\_replace("/[^a-z0-9-]/", "", strtolower($name)); if(dirname(\_\_FILE\_\_).DS.$name.'.php') { include\_once dirname(\_\_FILE\_\_).DS.$name.'.php'; return; } }
And no idea what that section does either…
What I gather it does, is instead of having a function for each and every acars client, it creates a php file the code can deal with. But why is it calling it auth.php I don’t know. It may mean I have to ask nabeel as he may have more insight into what it does and a possible fix for it.
I found this… https://stackoverflow.com/questions/9628443/why-would-i-use-dirname-file-in-an-include-or-include-once-statement
Yeah, maybe asking Nabeel will shed some light on it.