Skip to content
This repository has been archived by the owner on Dec 6, 2019. It is now read-only.

Live ACARS Map vs. Rewrite URL #65

Open
ghost opened this issue Mar 13, 2012 · 5 comments
Open

Live ACARS Map vs. Rewrite URL #65

ghost opened this issue Mar 13, 2012 · 5 comments

Comments

@ghost
Copy link

ghost commented Mar 13, 2012

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.

@nabeelio
Copy link
Member

There is the URL in the javascript, I suspect this isn't rewriting properly.
Have you checked the acarsmap.js?

@ghost
Copy link
Author

ghost commented Mar 14, 2012

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);
}
});
};

@nabeelio
Copy link
Member

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

@ghost
Copy link
Author

ghost commented Mar 14, 2012

Yep, it works. It returns the ACARS Flight Info Array Data.

@nabeelio
Copy link
Member

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

@nabeelio
Copy link
Member

Is this still open?

@ghost
Copy link
Author

ghost commented Jul 17, 2012

Sorry, I never had a chance to look at it again. Let me download the latest beta and see.

@Vansers
Copy link
Contributor

Vansers commented Apr 10, 2013

Since the changes wasn't detecting, I thought it would help to get GitHub to capture the exact line change.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants