Strider Posted July 15, 2020 Report Share Posted July 15, 2020 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? Quote Link to comment Share on other sites More sharing options...
lorlandi Posted July 16, 2020 Report Share Posted July 16, 2020 (edited) 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 Edited July 16, 2020 by lorlandi Quote Link to comment Share on other sites More sharing options...
Strider Posted July 16, 2020 Author Report Share Posted July 16, 2020 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 Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted July 16, 2020 Administrators Report Share Posted July 16, 2020 What ACARS program? Are all pilots using the same one? Any errors in error_log? On the map page, any errors in the console? Quote Link to comment Share on other sites More sharing options...
Strider Posted July 16, 2020 Author Report Share Posted July 16, 2020 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. Quote Link to comment Share on other sites More sharing options...
Strider Posted July 16, 2020 Author Report Share Posted July 16, 2020 11632701 I am getting acarsid's like that. But acarsdata table is empty. Quote Link to comment Share on other sites More sharing options...
Strider Posted July 16, 2020 Author Report Share Posted July 16, 2020 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. Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted July 16, 2020 Administrators Report Share Posted July 16, 2020 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. Quote Link to comment Share on other sites More sharing options...
Strider Posted July 16, 2020 Author Report Share Posted July 16, 2020 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 Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted July 16, 2020 Administrators Report Share Posted July 16, 2020 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? Quote Link to comment Share on other sites More sharing options...
Strider Posted July 16, 2020 Author Report Share Posted July 16, 2020 I have tried resetting the acars map but it doesn't work as no data is getting inserted Quote Link to comment Share on other sites More sharing options...
Strider Posted July 16, 2020 Author Report Share Posted July 16, 2020 Ok, i have gotten the table to be populated, but flights are still not showing on the map. Quote Link to comment Share on other sites More sharing options...
Strider Posted July 16, 2020 Author Report Share Posted July 16, 2020 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 Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted July 17, 2020 Administrators Report Share Posted July 17, 2020 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..... Quote Link to comment Share on other sites More sharing options...
Strider Posted July 17, 2020 Author Report Share Posted July 17, 2020 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. Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted July 17, 2020 Administrators Report Share Posted July 17, 2020 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.