Moderators Parkho Posted November 10, 2016 Author Moderators Report Share Posted November 10, 2016 Hi Parkho. First off, i appreciate your efforts and time you put in for this community and your work on modules. Thank you very much! I installed this module today and showed it to everyone on site and the overall opinion of it is everyone loves it. We found one minor detail that is no biggie. not sure if this is correct spelling in another language but in common North American English, http://prntscr.com/d5coll Aiviation is spelled Aviation. lol I looked at and admired this module all day and it just now only dawned on me what I was reading. This module is great Parkho. I appreciate your sharing it with us to use. Ray lol Ray, thanks for noticing the misspell. Actually, I do know that "Aiviation" is not correctly spelled and since we speak Farsi in Iran and it has nothing to do with English what so ever and as an ESL, I would like to apologize for making these mistakes once in a while and will try to avoid them as much as possible. 1 Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted November 11, 2016 Report Share Posted November 11, 2016 No worries. You should see the typos on my site I fix daily! It happens. I been using this module of yours to help me out on all my flights today. Great addition to a VA. Thanks again. Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted November 30, 2016 Report Share Posted November 30, 2016 For all you bootstrap 2 and 3 users, If you search a airport and scroll down to the airports, you will see a wild child bullet from the list. This is not a problem with Parkho's awesome module. it is a bootstrap thing. But not to worry! Bootstrap a built in un-styled function. For bootstrap 2 on line 80, find : <ul> Change to: <ul class="unstyled"> For bootstrap 3 change that line to : <ul class="list-unstyled"> And say goodbye to the wild child bullet. Awesome module Parkho, great job on it man. I like it more and more as the days go by. Quote Link to comment Share on other sites More sharing options...
mt007 Posted November 8, 2017 Report Share 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 Link to comment Share on other sites More sharing options...
CarlosEduardo2409 Posted November 8, 2017 Report Share 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 Link to comment Share on other sites More sharing options...
flyalaska Posted November 8, 2017 Report Share Posted November 8, 2017 How to I change the results from Celsius to Fahrenheit? Quote Link to comment Share on other sites More sharing options...
Michael2015 Posted November 8, 2017 Report Share 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 Link to comment Share on other sites More sharing options...
Michael2015 Posted November 12, 2017 Report Share 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 Link to comment Share on other sites More sharing options...
Thomasha Posted June 24, 2018 Report Share 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 Link to comment Share on other sites More sharing options...
Moderators Parkho Posted June 26, 2018 Author Moderators Report Share 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 Link to comment Share on other sites More sharing options...
Moderators Parkho Posted June 26, 2018 Author Moderators Report Share 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 Link to comment Share on other sites More sharing options...
GKT001 Posted December 2, 2019 Report Share 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 Link to comment Share on other sites More sharing options...
Moderators Parkho Posted December 19, 2019 Author Moderators Report Share 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 Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted December 19, 2019 Administrators Report Share 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 Link to comment Share on other sites More sharing options...
Moderators Parkho Posted March 21, 2020 Author Moderators Report Share 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 Link to comment Share on other sites More sharing options...
Moderators Parkho Posted March 21, 2020 Author Moderators Report Share 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 Link to comment Share on other sites More sharing options...
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.