Open ghost opened 12 years ago
There is the URL in the javascript, I suspect this isn't rewriting properly. Have you checked the acarsmap.js?
I believe this is what you are looking for?
function liveRefresh() { $.ajax({ type: "GET", url: url + "/action.php/acars/data", dataType: "json", cache: false, success: function(data) { populateMap(data); } }); };
Yep, there's that action.php If you go to that URL, does it work? (obvious the full url to your site and the action.php/acars/data
Yep, it works. It returns the ACARS Flight Info Array Data.
Well the next thing is to check the FF or Chrome error console while in the acars map to see if there are errors showing up
Is this still open?
Sorry, I never had a chance to look at it again. Let me download the latest beta and see.
Since the changes wasn't detecting, I thought it would help to get GitHub to capture the exact line change.
Nabeel,
Recently, I turned on the Rewrite URL thing in phpVMS, but now our ACARS Live Map stops working. But I added the index.php in the URL and the live flights shows up. Could you think it could be the acars live flight data looking for the index.php or not?
Restate...
http://www.suncountryvirtual.net/acars - Live flights does not show up, with URL Rewrite enabled.
http://www.suncountryvirtual.net/index.php/acars - Live flight shows up with the URL Rewrite Enabled as well.