Iraklis Posted September 16, 2016 Report Posted September 16, 2016 for the past 2-3 days i have this problem. In the Acarsmap even there are pilots flying the map does not works. I have cleared the Acars table, the cache, optimize the tables. After all that the planes appear for 1-2 minutes and then nothing. In the SQL table there are the data of the pilots that flying and the folder cache has 777 permissions. Any help please.... http://www.gralexandair.net/index.php/acars Quote
web541 Posted September 16, 2016 Report Posted September 16, 2016 (edited) You have a few errors in your console, Failed to load resource: the server responded with a status of 404 (Not Found) (bootstrap.js not found in skin folder) You have included the Google Maps API multiple times on this page. This may cause unexpected errors.Xg @ js?libraries=weather&sensor=false:93 You have included the Google Maps API multiple times on this page. This may cause unexpected errors.Xg @ Uncaught InvalidValueError: initMap is not a function js?key=APIKEY&callback=initMap:95 Google Maps API warning: SensorNotRequired https://developers.google.com/maps/documentation/javascript/error-messages#sensor-not-required util.js:207 Google Maps API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys 2acarsmap.js:70 Uncaught TypeError: Cannot read property 'length' of null util.js:207 Uncaught TypeError: Cannot read property 'length' of null acarsmap.js:70 1: This file was not found on your server http://www.gralexand...ir/bootstrap.js 2: You have included the GoogleMaps API more than once on your page, (this may be the issue) go into wherever it is located and remove this code <script type="text/javascript" src="https://maps.google.com/maps/api/js?sensor=true"></script> Might be in your layout.php. 3. On this line <script async defer src="https://maps.googleapis.com/maps/api/js?key=APIKEY&callback=initMap"></script> Remove the &callback=initMap (unless it doesn't work after that, then add it back on) 4. On this line <script src="https://maps.googleapis.com/maps/api/js?libraries=weather&sensor=false" type="text/javascript"></script> Remove ;sensor=false 5. Replace this line <script async defer src="https://maps.googleapis.com/maps/api/js?key=APIKEY&callback=initMap"></script> With this line <script async defer src="https://maps.googleapis.com/maps/api/js?key=APIKEY" type="text/javascript"></script> After these have been fixed, the last one should disappear on its own. Also, clear your browser cache at this time. Replace APIKEY with your "API KEY" as it's just there for reference. Edited September 17, 2016 by web541 1 Quote
Iraklis Posted September 17, 2016 Author Report Posted September 17, 2016 thanks a lot my friend!!! [sOLVED] !!!!! Quote
Iraklis Posted September 20, 2016 Author Report Posted September 20, 2016 (edited) today the problem has enabled again!!! i don't know why or what happend!!! Please help!!!! Edited September 20, 2016 by Iraklis Quote
web541 Posted September 20, 2016 Report Posted September 20, 2016 It's working for me http://i.imgur.com/ZRWQLzZ.jpg and I used Chrome & Firefox. Same result. Try removing <script src="https://maps.googleapis.com/maps/api/js?libraries=weather&" type="text/javascript"></script> And replace the line above it with this <script async defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyABv2_xOIGpz8gJ-mHEupw8eeTm7yyfgxM&libraries=weather&" type="text/javascript"></script> Also try to change this <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> To this <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> But it might break things like booking flights, etc. If it does, put this one back <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> And clear your browser cache and your website cache. Then reset ACARS and try again. Quote
SkilledPilotA320 Posted November 1, 2016 Report Posted November 1, 2016 I have the same problem, unable to see any aircraft's on the acars map since few days, any better solution? I searched the entire forum, could not find a solution to resolve. http://www.omanair-va.org/index.php/acars Quote
web541 Posted November 1, 2016 Report Posted November 1, 2016 You've got a few errors in your browser console Failed to load resource: the server responded with a status of 404 (Not Found) http://www.omanair-va.org//action.php/acars/data?_=1478028089242 GET http://www.omanair-va.org//action.php/acars/data?_=1478028099246 404 (Not Found) There is a double slash there, so in your core/local.config.php just check that your SITE_URL is like this http://www.omanair-va.org without the / at the end Also, I can't seem to pick up action.php on your site, so make sure you have uploaded all the files or maybe re-upload them. 1 Quote
SkilledPilotA320 Posted November 1, 2016 Report Posted November 1, 2016 Hello Web541, firstly thanks for the response, the local.config was correct url, there was't a /. Yes, the action file was missing, i re uploaded, i had checked the whole directory if any more files missing. now still the problem is't solved Quote
web541 Posted November 1, 2016 Report Posted November 1, 2016 Now you're getting a Failed to load resource: the server responded with a status of 500 (Internal Server Error) Which I can't fix by telling you what to do as there could be many different things going wrong. Try first looking in your error_log file 1 Quote
SkilledPilotA320 Posted November 1, 2016 Report Posted November 1, 2016 I don't find any error_log file on the directory, is there any specific directory to find it out? Thanks. Quote
web541 Posted November 1, 2016 Report Posted November 1, 2016 It should be in public_html but could also be in core/. If it's not there, then you may not have a PHP error. Did you only upload action.php and nothing else? Make sure the permissions on that file are set. 1 Quote
SkilledPilotA320 Posted November 1, 2016 Report Posted November 1, 2016 (edited) There is no error logs file, had done a quick search as well, and the permission to file is set already. Edited November 1, 2016 by SkilledPilotA320 Quote
SkilledPilotA320 Posted November 1, 2016 Report Posted November 1, 2016 It should be in public_html but could also be in core/. If it's not there, then you may not have a PHP error. Did you only upload action.php and nothing else? Make sure the permissions on that file are set. I could finally find out the problem, i just replaced the module/ACARS/acars.php file, it seems working fine now, thanks a lot for your efforts in helping me. best regards Quote
SkilledPilotA320 Posted November 1, 2016 Report Posted November 1, 2016 The problem started again the action.php is now able to pick up the data, can u check out if possible? Quote
web541 Posted November 2, 2016 Report Posted November 2, 2016 Make sure all file has been uploaded again. I checked out your site again and there are no more errors, but that could be wrong considering there may not be anyone flying. Quote
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.