Closed nzradar closed 6 years ago
Perhaps I should add that I'm using piaware on a rpi3 as the data source and Xubuntu to host flightairmap. By changing to port 30003 sourced data the flight info is provided OK but I lose the flightaware MLAT! Perhaps a mismatch of the json data?
If I remember correclty, for MLAT on 30003 port, you need to add --forward-mlat to Dump1090.
$globalURL is '.'
aircraft.json fix is perfect, than you very much :+1:
$globalURL should not be a '.'. Empty if no subdirectory in path or the subdirectory name.
OK, I have set the $globalURL to the full URL of my flighairmap and all is well now. Thanks for the prompt support.
You only need to put /flightairmap. No need for the full URL.
OK, will try that soon.
I think it's the problem: if your url is http://127.0.0.1/flightairmap/ then $globalURL must be /flightairmap I will add an autodetect for this value.
the autodetect fails and auto-inserts '/install/' as root what of course wont work ...
Should be fixed in latest commit.
you are unbelievable :) hope the way and words i post possible bugs is ok for you. if you want more/different way of input just let me know ...
pi@RaspPiADSB5:/var/www/html/flightairmap $ sudo git pull
[sudo] password for pi:
remote: Counting objects: 10, done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 10 (delta 8), reused 10 (delta 8), pack-reused 0
Unpacking objects: 100% (10/10), done.
From http://github.com/ysurac/flightairmap
master -> origin/master
Updating
Fast-forward
css/style.css | 2 +-
index.php | 2 +-
install/index.php | 4 ++--
live-geojson.php | 6 +++---
4 files changed, 7 insertions(+), 7 deletions(-)
pi@RaspPiADSB5:/var/www/html/flightairmap $
Using aircraft.json as input I seem to get no flight number.
The other thing I notice is the styling of some of the pages hanging off the Statistics page, so when viewing Statistics and then selecting aircraft or registration the page is not looking too good!