- 
                Posts781
- 
                Joined
- 
                Last visited
- 
                Days Won125
DisposableHero last won the day on August 29
DisposableHero had the most liked content!
Profile Information
- 
											
												Gender
												Male
- 
											
												Location
												Antalya, TR
- 
											
												Interests
												Aviation, Flight Planning, Electronics
Recent Profile Visitors
		
			32483 profile views
		
		
			
		
						DisposableHero's Achievements
- 
	View File Disposable Airports Module aims to create and/or update airports of a phpVMS v7 install via open source data with all possible features provided. Uses MWGG Airports as the main source, which is hosted by TurkSim (so far it looks ok and enough for general VA usage) Displays deleted airports and provides functions to restore Uses CRON features to automatically check the source and update automatically Current dataset offers around 29.000 airports. Due to high amount of airports, "Update Only" setting is enabled by default. Updates will be published at GitHub, so please check the public repository for readme and possible future updates. Safe flights, Dispo Submitter DisposableHero Submitted 10/28/25 Category Add-ons
- 
	Version 1.0.3 7 downloads Module aims to create and/or update airports of a phpVMS v7 install via open source data with all possible features provided. Uses MWGG Airports as the main source, which is hosted by TurkSim (so far it looks ok and enough for general VA usage) Displays deleted airports and provides functions to restore Uses CRON features to automatically check the source and update automatically Current dataset offers around 29.000 airports. Due to high amount of airports, "Update Only" setting is enabled by default. Updates will be published at GitHub, so please check the public repository for readme and possible future updates. Safe flights, Dispo
- 
	Great news... First of all congratulations and thank you for your efforts, considering community and sharing your work. Will try to test it on some non vanilla installs
- 
	Why not, you may need to edit required scripts and then compile them properly. Even if you want to go deep, I think you can define different icons for aircraft types you operate and use them (saw someone doing that). Also without compiling assets it can be possible to overwrite some stuff with some map code change. https://docs.phpvms.net/developers/building-assets https://github.com/phpvms/phpvms/blob/main/resources/views/layouts/beta/widgets/live_map.blade.php Good luck
- 
	  Error 503 when trying to access admin pageDisposableHero replied to averdung's topic in Support Forum Then you are in the wrong section of the forum. This section is only for phpVMS v7. Maybe @ProAvia can move your post to relevant section (phpVMS Classic - v2/v5) By the look of it, your server is struggling to respond the load when you enter admin area. Maybe something is updated in the background, some server settings changed or somehow your increasing pireps are creating extra load and it is hurting the admin area now. Hope you can find the root cause. https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/503 Good luck
- 
	  Deleting aircraft from ACARS "Live Flight" mapDisposableHero replied to texxasal's topic in vmsACARS Yeah you are definitely in wrong section, vmsAcars has nothing to do with auto removal of cancelled/leftover pireps from the map of phpVMS, neither do Disposable Basic You just need to be sure your cron is working properly and your phpvms admin settings are done accordingly (map live time, delete cancelled pireps in xx hours etc.) Good luck
- 
	Did you checked docs about Apache vhost config ? https://docs.phpvms.net/installation/vhost#apache At least you can see the difference(s) between your config and the example, most probably your RewriteEngine is off or miss configured, thus your server is trying to open a physical directory (/install) instead of considering it as a route. Good luck
- 
	Be sure you are using php8.1 or up and be 1000% sure it is the default version, this is related to either a missing/broken php module or multi php usage problem. Switching to a different php version and cleaning all cache (including nginx if you are using it) may help too. In some cases, Apache tries to use php8.2 but nginx running on top if is set to utilize php8.1 or vice versa. Good luck. PS: Running older versions of phpVMS (like the classic series 2.x/5.x) or older beta versions of v7 does not mean that your hosting service (or server) is fully compatible with the released version
- 
	That is the main problem. Unfortunately both sources vaCentral uses are free and unofficial / public databases. Most of the time they can contain wrong data, saved by contributors, or they can come up with some sort of quick solutions themselves (like automated ICAO codes as TR-00085 etc.) I posted my concerns about the sources before but so far no solid solution was found, we will have problems from time to time. (Worst part, they do affect vmsAcars operations too, not limited to phpVMS)
- 
	They should be reported at GitHub probably (if there is an open repository for it), any reports will be lost in a blink of an eye here at forum.
- 
	If you know the timezone of the airport in question then you can edit and have a correct record. Like in many other errors (like missing ICAO, wrong IATA, old name etc.) an admin can always edit the airport records via admin interface. Good luck BTW, conversion uses Carbon interface and yes it uses the timezone value (it has to)
- 
	Do you really need an API Key or authorization for this ? Below is a plain query result without an API key. { "icao": "EGEW", "iata": "WRY", "name": "Westray Airport", "city": "Westray", "country": "GB", "region": "GB-SCT", "tz": "Europe/London", "elevation": 29, "lat": 59.3502998352, "lon": -2.9500000477 } And it will be better if you just use the "code" feature of the forum with "php" language selected. Your cleaned up, more readable code will look like this if you do so. <?php /** * Class and Function List: * Function list: * Classes list: */ /** \file vacentral.php * \brief Text getting data from Vacentral using Curl * \details This Script is used tinstead of Composer installation * \author Leslie Jarrett * \version 1.0 * \date 2025 * \copyright 2025 Leslie Jarrett */ // // GET AIRPORT INFORMATION FROM VACENTRAL // // The following URl string is required to get Airport Information // https://api.vacentral.net/api/airports/[ICAO]?apiKey=[API_KEY] // Where you replace [ICAO] with the Airport code you want to get data forr // and replace [API_KEY] with your user API Key string // Below is a worked example for the airport EGEW // Using my own API KEY which is then hidden from the code // set up your API KEY $ApiKey = 'zzzzzzzzzzzzzzzzzzzzzzzzzzz'; // set up the Airport ICAO code $AirportIcao = 'EGEW'; // set up the first part of the CURL URl $AirportApiUrl = 'https://api.vacentral.net/api/airports/'; // add in the Airport Icao Code $AirportApiUrl = $AirportApiUrl.$AirportIcao; // add in the API Key $AirportApiUrl = $AirportApiUrl.'?apiKey='.$ApiKey; // now process the call to the API using Curl // set the api curl handle $AirportApiHandle = curl_init(); // Will return the response, if false it prints the response curl_setopt($AirportApiHandle, CURLOPT_RETURNTRANSFER, true); // Set the url curl_setopt($AirportApiHandle, CURLOPT_URL,$AirportApiUrl); // Execute the session and store the contents in $AirporApiRaw $AirporApiRaw =curl_exec($AirportApiHandle,); // Closing the session curl_close($AirportApiHandle); // unpack the Json data to PHP array $AirportData = json_decode($AirporApiRaw, true); // the array $AirportData will have the following fields // array(10) { // ["icao"] => string(4) "EGEW" // ["iata"] => string(3) "WRY" // ["name"] => string(15) "Westray Airport" // ["city"] => string(7) "Westray" // ["country"] => string(2) "GB" // ["region"] => string(6) "GB-SCT" // ["tz"] => string(13) "Europe/London" // ["elevation"] => int(29) // ["lat"]=> float(59.3502998352) // ["lon"]=> float(-2.9500000477) // } ?> Have a nice day.
- 
	Yeah if they release some changes for the API, improvements like defining avoids, either country or FIR based, those can be easily implemented in the form too. But don't expect everything to be done by phpVMS (or theme developers). Generally what phpVMS offers you a fully working API access system which is capable of two way communications with their servers. And phpVMS already passes more than enough data to that form, in which you can develop your own stuff, apply improvements, following API changes etc. easily. As an example, SimBrief API allows you to define 4 alternates with their routes, also ETOPS alternates etc. but these are not present in the form. Any VA owner or developer can enhance the form as they wish if required by following the main form logic and the API docs. This is why I ended my first post with "Good luck and God speed"
- 
	Reference API Docs : https://forum.navigraph.com/t/the-simbrief-api/5298
- 
	If you are talking about these, my answer will be "No, because I do not see anything there to be API access compatible". These are mostly for their own planning page (or edit flight plan page). Any API (and phpVMS) user can create lots of features internally on their end, as an example one can allow defining FPL Remarks via their code, or aircraft equipment selection (including PBN) etc. If you check the API documents (of SimBrief) and the form utilizing that API (at phpVMS) you will see how it works, and then you can develop anything you wish to have. Good luck and God speed.

 
            
         
	 
	 
	 
	 
	 
	 
	 
	 
	 
	 
					
						 
                    