mt007 Posted November 8, 2017 Report Posted November 8, 2017 Hi Parkho Hi have put your files inside mine phpvms and i receiver this message: phpVMS Version Installed Is Not Compatible With This Module! phpVMS Version Installed: 936 Any idea? Thanks. Regards, Miguel Quote
CarlosEduardo2409 Posted November 8, 2017 Report Posted November 8, 2017 (edited) This module is for phpVMS 5.5 of Simpilot, you have another version of phpVMS. I recommend that you use phpVMS 5.5. Click Here Edited November 8, 2017 by CarlosEduardo2409 Quote
flyalaska Posted November 8, 2017 Report Posted November 8, 2017 How to I change the results from Celsius to Fahrenheit? Quote
Michael2015 Posted November 8, 2017 Report Posted November 8, 2017 On 08/11/2016 at 6:31 PM, MrDalle said: Thanks Parkho!! Working now and skinned! How did you get the spaces inbetween the images and the results as i have tried </ul> and <br> Quote
Michael2015 Posted November 12, 2017 Report Posted November 12, 2017 Warning: simplexml_load_file(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/vairleas/pilotlounge.vairleasing.net/core/modules/WTHR/WTHR.phpon line 23Warning: simplexml_load_file(https://www.aviationweather.gov/adds/dataserver_current/httpparam?dataSource=metars&requestType=retrieve&format=xml&stationString=egcc&hoursBeforeNow=1): failed to open stream: no suitable wrapper could be found in /home/vairleas/pilotlounge.vairleasing.net/core/modules/WTHR/WTHR.php on line 23Warning: simplexml_load_file(): I/O warning : failed to load external entity "https://www.aviationweather.gov/adds/dataserver_current/httpparam?dataSource=metars&requestType=retrieve&format=xml&stationString=egcc&hoursBeforeNow=1" in /home/vairleas/pilotlounge.vairleasing.net/core/modules/WTHR/WTHR.php on line 23Warning: simplexml_load_file(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/vairleas/pilotlounge.vairleasing.net/core/modules/WTHR/WTHR.phpon line 41Warning: simplexml_load_file(https://www.aviationweather.gov/adds/dataserver_current/httpparam?dataSource=stations&requestType=retrieve&format=xml&stationString=egcc): failed to open stream: no suitable wrapper could be found in /home/vairleas/pilotlounge.vairleasing.net/core/modules/WTHR/WTHR.php on line 41Warning: simplexml_load_file(): I/O warning : failed to load external entity "https://www.aviationweather.gov/adds/dataserver_current/httpparam?dataSource=stations&requestType=retrieve&format=xml&stationString=egcc" in /home/vairleas/pilotlounge.vairleasing.net/core/modules/WTHR/WTHR.php on line 41Warning: simplexml_load_file(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/vairleas/pilotlounge.vairleasing.net/core/modules/WTHR/WTHR.php on line 74Warning: simplexml_load_file(http://api.aircharts.org/Airport/egcc.xml): failed to open stream: no suitable wrapper could be found in /home/vairleas/pilotlounge.vairleasing.net/core/modules/WTHR/WTHR.php on line 74Warning: simplexml_load_file(): I/O warning : failed to load external entity "http://api.aircharts.org/Airport/egcc.xml" in /home/vairleas/pilotlounge.vairleasing.net/core/modules/WTHR/WTHR.php on line 74 What is this Quote
Thomasha Posted June 24, 2018 Report Posted June 24, 2018 Hi Parkho! first thanks for these wunderful addon. Is there a chance to convert the full skycondition in text? Currently only the first 2 are written and the 3rd one is missing. i.E.: FEW050 SCT070 BKN080 ->FEW Clouds At 5000 Feet / SCT Clouds At 7000 Feet -----> means "BKN 8000 is missing Another questions is if there is any posibillity to show the BARO in HPA iso. Hg Thanks in advance for your answer. BRGDS Quote
Moderators Parkho Posted June 26, 2018 Author Moderators Report Posted June 26, 2018 On 11/13/2017 at 12:32 AM, Michael2015 said: Warning: simplexml_load_file(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/vairleas/pilotlounge.vairleasing.net/core/modules/WTHR/WTHR.phpon line 23Warning: simplexml_load_file(https://www.aviationweather.gov/adds/dataserver_current/httpparam?dataSource=metars&requestType=retrieve&format=xml&stationString=egcc&hoursBeforeNow=1): failed to open stream: no suitable wrapper could be found in /home/vairleas/pilotlounge.vairleasing.net/core/modules/WTHR/WTHR.php on line 23Warning: simplexml_load_file(): I/O warning : failed to load external entity "https://www.aviationweather.gov/adds/dataserver_current/httpparam?dataSource=metars&requestType=retrieve&format=xml&stationString=egcc&hoursBeforeNow=1" in /home/vairleas/pilotlounge.vairleasing.net/core/modules/WTHR/WTHR.php on line 23Warning: simplexml_load_file(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/vairleas/pilotlounge.vairleasing.net/core/modules/WTHR/WTHR.phpon line 41Warning: simplexml_load_file(https://www.aviationweather.gov/adds/dataserver_current/httpparam?dataSource=stations&requestType=retrieve&format=xml&stationString=egcc): failed to open stream: no suitable wrapper could be found in /home/vairleas/pilotlounge.vairleasing.net/core/modules/WTHR/WTHR.php on line 41Warning: simplexml_load_file(): I/O warning : failed to load external entity "https://www.aviationweather.gov/adds/dataserver_current/httpparam?dataSource=stations&requestType=retrieve&format=xml&stationString=egcc" in /home/vairleas/pilotlounge.vairleasing.net/core/modules/WTHR/WTHR.php on line 41Warning: simplexml_load_file(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/vairleas/pilotlounge.vairleasing.net/core/modules/WTHR/WTHR.php on line 74Warning: simplexml_load_file(http://api.aircharts.org/Airport/egcc.xml): failed to open stream: no suitable wrapper could be found in /home/vairleas/pilotlounge.vairleasing.net/core/modules/WTHR/WTHR.php on line 74Warning: simplexml_load_file(): I/O warning : failed to load external entity "http://api.aircharts.org/Airport/egcc.xml" in /home/vairleas/pilotlounge.vairleasing.net/core/modules/WTHR/WTHR.php on line 74 What is this Your php.ini file needs to be configured to "allow_url_fopen". Open php.ini file on your server and change the mentioned option to "ON". Quote
Moderators Parkho Posted June 26, 2018 Author Moderators Report Posted June 26, 2018 On 6/24/2018 at 7:47 PM, Thomasha said: Hi Parkho! first thanks for these wunderful addon. Is there a chance to convert the full skycondition in text? Currently only the first 2 are written and the 3rd one is missing. i.E.: FEW050 SCT070 BKN080 ->FEW Clouds At 5000 Feet / SCT Clouds At 7000 Feet -----> means "BKN 8000 is missing Another questions is if there is any posibillity to show the BARO in HPA iso. Hg Thanks in advance for your answer. BRGDS If you click the below url, you will see the information they are providing in an XML format. Whatever info they provide can be shown in my module. If you have php knowledge to do so, you're welcome to go ahead and modify the module to your need. If you want me to customize the module for you, then it's gonna cost you a donation to my website at "www.parkho.ir" and clicking on the "Donate" button. 🙂 https://www.aviationweather.gov/adds/dataserver_current/httpparam?dataSource=metars&requestType=retrieve&format=xml&stationString=KSFO&hoursBeforeNow=1 Quote
GKT001 Posted December 2, 2019 Report Posted December 2, 2019 On 26.06.2018 at 18:53, Parkho said: Aşağıdaki URL’yi tıklarsanız, sağladıkları bilgileri XML biçiminde görürsünüz. Sağladıkları her türlü bilgi modülümde gösterilebilir. Bunu yapmak için php bilginiz varsa, devam edip modülü istediğiniz gibi değiştirebilirsiniz. Modülü sizin için kişiselleştirmemi istiyorsanız, web siteme "www.parkho.ir" adresinden bağış yapın ve "Bağış" düğmesine tıklayın. 🙂 https://www.aviationweather.gov/adds/dataserver_current/httpparam?dataSource=metars&requestType=retrieve&format=xml&stationString=KSFO&hoursBeforeNow=1 Hi Parkho ; aircharts.org web site offline, chart data is not coming because the site is closed. Can you find a different solution Quote
Moderators Parkho Posted December 19, 2019 Author Moderators Report Posted December 19, 2019 On 12/3/2019 at 2:33 AM, GKT001 said: Hi Parkho ; aircharts.org web site offline, chart data is not coming because the site is closed. Can you find a different solution Well! At this point, I don't have any sources to replace aircharts.org. They may be offline due to maintenance. Try them out again and see what will happen. Quote
Administrators ProAvia Posted December 19, 2019 Administrators Report Posted December 19, 2019 Air Charts has been down for at least several months. Chances are they won't be back - which is too bad. Their service was nice. I couldn't find another source, so I commented out the aircharts section in the module. Quote
Moderators Parkho Posted March 21, 2020 Author Moderators Report Posted March 21, 2020 Dear All, Some issues have been developed in the module in the past years as follows: 1. Apparently, Airport Charts website is no longer available and there is no alternative for it, so it has to be removed from the module. 2. With SSL certificates being updated every now and then, "simplexml_load_file" function is rejected by the SSL causing the results not being fetched entirely. Fortunately the second issue is resolved and is being worked on, so keep following the post for further updates. Cheers 1 Quote
Moderators Parkho Posted March 21, 2020 Author Moderators Report Posted March 21, 2020 Okay here it is: Open "WTHR.PHP"(core/modules/WTHR/WTHR.php) The following function must be added: public function simplexml_load_file_curl($urlmet) { $ch = curl_init($urlmet); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $xml = simplexml_load_string(curl_exec($ch)); return $xml; } The following line must be changed from: $xmlmet = simplexml_load_file($urlmet); To this: $xmlmet = $this->simplexml_load_file_curl($urlmet); Everywhere you see the code line. To remove the charts: //Charts Section $url = 'http://api.aircharts.org/Airport/'.$icao.'.xml'; $xml = $this->simplexml_load_file_curl($url); $charts = $xml->airport; $count = $xml->airport->chart; $this->set('charts', $charts); $this->set('count', $count); $this->set('icao', $icao); $title="Aviation Weather"; $this->set("title", $title); $this->render('weather/results.php'); To this: $this->set('icao', $icao); $title="Aviation Weather"; $this->set("title", $title); $this->render('weather/results.php'); Basically, the first block of above codes need to be removed or commented out. Let me know if issue is resolved. Cheers Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.