Ysurac / FlightAirMap

Open source project displaying live aircrafts, ships or trackers on 2D/3D map. Browse through the data based on a particular aircraft, airline, airport, tracker or vessel to search through the database or see extensive statistics. Can use ADS-B in SBS1 format (dump1090, Radarcape,...), VRS, VA (VATSIM, IVAO whazzup.txt, phpvms,...), ACARS (acarsdec, acarsdeco2), APRS, AIS as datasource.
https://www.flightairmap.com/
GNU Affero General Public License v3.0
515 stars 156 forks source link

Satellite issue front #440

Open b4b857f6ee opened 4 years ago

b4b857f6ee commented 4 years ago

Hello,

I am on fresh install debian 9 php 7.x

i try to add the data from the website on the install configuration : https://data.flightairmap.com/data/satellite.tsv.gz

On the log of my front i get this (any idea? ):

[Wed Aug 21 09:14:53.784591 2019] [:error] [pid 15722] [client 192.168.80.1:52548] PHP Notice: Undefined index: tle_type in /var/www/flightairmap/require/class.Satellite.php on line 102, referer: http://192.168.80.147/ [Wed Aug 21 09:14:53.784660 2019] [:error] [pid 15722] [client 192.168.80.1:52548] PHP Notice: Undefined index: tle_name in /var/www/flightairmap/require/class.Satellite.php on line 103, referer: http://192.168.80.147/ [Wed Aug 21 09:14:53.784680 2019] [:error] [pid 15722] [client 192.168.80.1:52548] PHP Notice: Undefined index: tle_tle1 in /var/www/flightairmap/require/class.Satellite.php on line 103, referer: http://192.168.80.147/ [Wed Aug 21 09:14:53.784697 2019] [:error] [pid 15722] [client 192.168.80.1:52548] PHP Notice: Undefined index: tle_tle2 in /var/www/flightairmap/require/class.Satellite.php on line 103, referer: http://192.168.80.147/ [Wed Aug 21 09:14:53.784730 2019] [:error] [pid 15722] [client 192.168.80.1:52548] PHP Fatal error: Uncaught Predict_Exception: Invalid TLE contents in /var/www/flightairmap/require/libs/Predict/Predict/TLE.php:53\nStack trace:\n#0 /var/www/flightairmap/require/class.Satellite.php(103): Predict_TLE->__construct(NULL, NULL, NULL)\n#1 /var/www/flightairmap/live-sat-geojson.php(33): Satellite->position('TIANGONG 1')\n#2 {main}\n thrown in /var/www/flightairmap/require/libs/Predict/Predict/TLE.php on line 53, referer: http://192.168.80.147/

b4b857f6ee commented 4 years ago

If you are deselect the default satellite, it is disapear.