Closed tonkepen100 closed 9 years ago
You mean if the aircraft change for a same flight (same ident) ?
And discovered it is when you put ...
// INFO DISPLAY OF FLIGHTS IN A POPUP $ globalMapPopup = FALSE;
If you put it so works well ...
// INFO DISPLAY OF FLIGHTS IN A POPUP $ globalMapPopup = TRUE;
FALSE...
BAD
TRUE
GOOD
Ycarus, Do you think you could fix this bug?
Thank You
maybe
mmm I think I didn't understand the bug.... Popup or sidebar always display the latest data in live table.
See I'll explain:
Settings have that line that says what kind of sample we select popup:
// INFO DISPLAY OF FLIGHTS IN A POPUP $ GlobalMapPopup = FALSE;
Well if we put the option to TRUE things are going well, but if we put it in FALSE HERE COMES THE PROBLEM, and is as follows.
For example I make a flight with concorde, well and reached its destination, the program closes the flight, right now I change the flight plan and instead of concorde lame for example, a Cessna, since the lateral Poppup continues data continuously the first flight, I mean does not change the image or the model for the next flight or the nEXT you or those who do later, however if you put it to true, then if it goes well change the picture and model of aircraft, including or change the squack.
Look at the photos above mmm I think I didn't understand the bug.... Popup or sidebar always display the latest data in live table.
Yes lateral bad.
If you keep the sidebar open ? Sidebar never refresh if you don't click again on the plane or another plane. I can make it refresh sometimes.
I've tried but it does not, the first flight made by the pilot always remains.
This should not be possible, at least if $globalDaemon is set to FALSE in settings.php
Look for example now change squawk to 7004, with the lateral popup previous stays, but if this changed the table, if instead put the other popup, if you change either
hum ok, maybe the page used for sidebar is put in the cache of your browser. I will make cache not possble for this.
whether it will be for sure, because the db goes well
Should be ok with build 336d127eca1df9c3cd884e4ec3ee9d41d1db2c4f I will add sidebar auto refresh later...
Well, I think that's not it, and it changed and does not change, plus I'm setting and the data do not go well on the side, with the popup if you look ...
WHIT POPPUP IS CORRECT
Strange... did you refresh the page after update ?
Yes Ycarus i refresh
what is your browser ?
chrome
coordinates of flight change when plane move and you click again on it ?
2 MINUTES LATER
No no change Ycarus
Buff and see altitude and velocity
Should be fixed in commit eab36cd. This is a problem with hours added in DB. You will not see if it's working before tomorrow.
Aja, Thankssss Ysurac
Ysurac, I think you got it, now speeds and heights are correct the squack changes, coordinates also change.
The only thing missing me to check if changing the flight is also changed the profile of the plane and the flight plan.
Merci beaucoup champion
Ysurac do not close it out now another problem, I think fatter.
Now do not go on the ad photos, and also the airport of departure and arrival are all wrong.
Look ....
passes on all flights
It is not, that does not leave any photo, it is as if all had gone.
Paste your settings.php (without passwords)
<?php //INSTALLED OR NOT ? $globalInstalled = TRUE;
//GLOBAL SITE NAME $globalName = 'AirPiro Radar';
// GLOBAL URL $globalURL = '';
// Logo URL $logoURL = '/images/airpiroradar.png';
// Activate debug $globalDebug = TRUE;
// LANGUAGE $globalLanguage = 'EN'; // Used only for wikipedia links for now
// MAP PROVIDER $globalMapProvider = 'MapQuest-OSM'; // Can be Mapbox, OpenStreetMap, MapQuest-OSM or MapQuest-Aerial $globalMapboxId = 'tonkepe.md76aj2h'; // Mapbox id $globalMapboxToken = 'pk.eyJ1IjoidG9ua2VwZSIsImEiOiJuZkI2SWRZ4NeEsjF7UpAgZBg'; // Mapbox token
//COVERAGE AREA (its based on a box model. i.e. top-left | top-right | bottom-right | bottom-left) $globalLatitudeMax = ''; //the maximum latitude (north) $globalLatitudeMin = ''; //the minimum latitude (south) $globalLongitudeMax = ''; //the maximum longitude (west) $globalLongitudeMin = ''; //the minimum longitude (east)
$globalCenterLatitude = '20.38'; //the latitude center of your coverage area $globalCenterLongitude = '5.29';//the longitude center of your coverage area
$globalLiveZoom = '3'; //default zoom on Live Map
// FLIGHTS MUST BE INSIDE THIS CIRCLE $globalDistanceIgnore = array(); // ^^ example for 100km : array('latitude' => '46.38','longitide' => '5.29','distance' => '100');
// DATABASE CONNECTION LOGIN $globalDBdriver = 'mysql'; // PDO driver used. Tested with mysql, maybe pgsql or others work... $globalDBhost = 'localhost'; //database connection url $globalDBuser = ''; //database username $globalDBpass = ''; //database password $globalDBname = ''; //database name $globalTransaction = TRUE; //Activate database transaction support
//FLIGHTAWARE API INFO $globalFlightAware = FALSE; //set to TRUE to use FlightAware as data import $globalFlightAwareUsername = ''; //FlightAware Username $globalFlightAwarePassword = ''; //FlightAware Password/API key
// TIMEZONE $globalTimezone = 'Europe/Madrid';
// DAEMON $globalDaemon = FALSE; // Run cron-sbs.php as daemon (don't work well if source is a real SBS1 device) $globalCronEnd = '0'; //the script run for xx seconds if $globalDaemon is disable in SBS mode
// FORK $globalFork = TRUE; // Allow cron-sbs.php to fork to fetch schedule, no more schedules fetch if set to FALSE
// DISPLAY FLIGHT INTERVAL ON MAP (in seconds) $globalLiveInterval = '60';
// LIVE MAP REFRESH (in seconds) $globalMapRefresh = '60';
//IVAO $globalIVAO = FALSE;
//ADS-B, SBS1 FORMAT $globalSBS1 = TRUE; //set to FALSE to not use SBS1 as data import $globalSBS1Hosts = array('http:','http:','http:','http://piro.biz/lib/skins/skyline/js/recentpireps.php',''); // ^^ in the form array('host1:port1','host2:port2','http://xxxxx/whazzup.txt'); Use only sources you have the rights for. $globalSBS1TimeOut = '15'; $globalSBS1update = '1260'; //Put data in DB after xx seconds/flight
//ACARS Listen in UDP $globalACARS = FALSE; $globalACARSHost = ''; // Local IP to listen $globalACARSPort = '';
// DISPLAY INFO OF FLIGHTS IN A POPUP $globalMapPopup = FALSE;
// To display Squawk usage we need Squawk country for now $globalSquawkCountry = 'US';
//BIT.LY API INFO (used in the search page for a shorter URL) $globalBitlyAccessToken = ''; //the access token from the bit.ly API
//BRITISH AIRWAYS API INFO $globalBritishAirwaysKey = 'u88an5thh5mwc';
//ignore the flights during imports that have the following airports (departure/arrival) associated with them $globalAirportIgnore = array();
//Archive all data $globalArchive = TRUE;
//NOTAM $globalNOTAM = TRUE; $globalNOTAMSource = 'http://notaminfo.com/feed?u=tonkepen'; //URL of your feed from notaminfo.com
//Retrieve Image from externals sources $globalAircraftImageFetch = TRUE; //Sources for Aircraft image $globalAircraftImageSources = array('ivaomtl','wikimedia','deviantart','flickr','bing','jetphotos','planepictures','planespotters'); $globalAircraftSize = '25';
//Retrieve schedules from externals sources (set to FALSE for IVAO or if $globalFork = FALSE) $globalSchedulesFetch = FALSE; //Sources for airline schedule if not official airline site $globalSchedulesSources = array('flightmapper','costtotravel','flightradar24','flightaware');
//Retrieve translation from external sources (set to FALSE for IVAO) $globalTranslationFetch = FALSE; //Sources for translation, to find name of flight from callsign $globalTranslationSources = array('planefinder'); $globalMapAltitudeColor = TRUE; $globalMapHistory = TRUE; ?>
$globalIVAO = FALSE; -> should be TRUE
Ojjjjjjjj already happened, be wrong to change the true, rather than change in popup, change it in IVAO, Ysurac sorry, sorry and thank you again.
For silhouette and pics of "specials" aircraft I opened issue #73
OK Well, I took several days without seeing popup continues avion.routes errors etc etc, suddenly works well, and poof suddenly goes crazy and puts all evil
$globalIVAO is set to TRUE ?
Yes yes is true Ycarus
Strange... I will try to reproduce the issue on my computer.
Okay thanks Ysurac
Fixed in commit a6f1bb2.
Gooddddd Now, it seems that already goes well, sensational sensational
Since the last review I think we have a little problem, is that when you click on the flight in the gusrda tab always the first flight, I mean for example a driver who makes its first flight with a Cessna and then performs another with a concorde its tab always goes the cessna.
I mean, does not erase the data and makes the new, and looked at the table and data go well, I bo that may be.