-
Posts
1740 -
Joined
-
Last visited
-
Days Won
78
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by ProAvia
-
VAForum 2 Deprecated: Non-static method ForumData etc...
ProAvia replied to in2tech's topic in Support Forum
I believe that error has to do with the rank image link in the ranks table being a relative link (/lib/images/ranks/rankimage.png) instead of an absolute link (http://sitename.com/lib/images/ranks/rankimage.png). I encountered this issue when approving PIREPS and regenerating signatures. In your caae - as a registration error - I guess it's happening when it attempts to assign a rank image to a new pilot. Changing the link in the table from relative to absolute should resolve the issue. -
Glad you could get connected! It was just a guess on my part - when comparing the info you posted and what I saw in xacars. As to your new issue - I am not sure. I only started xacars without FSX or XP running. The data displayed in your picture appears to be HTML coding. No idea where it's coming from. Hopefully someone with more insight will be along shortly.
-
I'm assuming that Xacars opens. Look in the xacars.ini file, located in the same folder as the main xacars program. Is there a "Password = your_password_here" line after the "user" line? If not, add it (and your password). If the password is there - In the ini file, try changing the 'https' to 'http' in the Address, PIREP and FlightInfo lines. Not sure if that will correct the issue or not - but that's how it is in my ini file. My site is HTTPS, but the ini file was generated before the switch.
-
Do you have a backup of the schedules table or of the database? If so, you should be able to import (using phpMyAdmin) the original schedules table - if not, I believe you are out of luck.
-
I am getting this same error when approving PIREPS or regenerating signatures Warning: imagecreatefromstring(): Empty string or invalid image in /core/common/PilotData.class.php on line 1016 Line 1016 reads: $rankimg = imagecreatefromstring($rankimg); I believe it is related to how 'rankimage' is listed in the ranks table of the DB. If the full URL (https://site_name.com/lib/images/ranks/rankimage.png) is listed, the rank image shows. If a relative URL (/lib/images/ranks/rankimage.png) is listed, the error shows. I have a relative URL set for the rank image - since changing the site over to HTTPS from HTTP. Rank images displayed elsewhere on the site show fine when using the relative URL. Is there something in the code that can be tweaked to allow this to work on the signature (badges) page? For now, I have commented out the entire "# Add the Rank image" section in the PilotData.class file (lines 1010-1026). This stops the error as the expense of not showing the rank image in the signature. I suppose I could set Config::Set('SIGNATURE_SHOW_RANK_IMAGE', true); from true to false (in local.config.php) to accomplish the same thing, but haven't tried that yet.
-
Are you using the Xacars config file from your site? You will need to be logged into your site prior to downloading it. https://www.scootvirtual.net/action.php/acars/xacarsconfig
-
Please share here in the forums what you did to get yours working correctly so others may benefit in the future.
-
Does your site use PHP 5.x.x or PHP 7.0? And what version of phpVMX are you currently using? List the contents of Pilotmanager.php line 73 See this: https://stackoverflow.com/questions/34871198/fatal-error-break-not-in-the-loop-or-switch-context-in
-
Changing Flight Number box on PIREP to a dropdown list
ProAvia replied to opsman's topic in Support Forum
I'm pretty sure this is possible, but I don't know how to do it. I'm guessing you mean in the manual PIREP form. Personally, I make filing a manual PIREP as uninviting as possible. I want pilots to use my automated PIREP system. Are you also using an automated PIREP system? If not, you may wish to look into kACARSII (payware) or kACARS_Free (freeware). This may make your job as an admin much easier when processing PIREPS - and make it easier for your pilots to submit PIREPS. -
[Module Request] AirCharts.org charts in Briefing page. (API Available)
ProAvia replied to ShrikarG's topic in Support Forum
That fixed the error I was seeing in the error_log file. Thanks! -
[Module Request] AirCharts.org charts in Briefing page. (API Available)
ProAvia replied to ShrikarG's topic in Support Forum
Thank you - works great! My basic understanding of the temporary SSL workaround is that it bypasses the SSL check - is that correct? -
[Module Request] AirCharts.org charts in Briefing page. (API Available)
ProAvia replied to ShrikarG's topic in Support Forum
Thanks for the quick update Web541..... I will install the update tomorrow. Really appreciate your time and effort!! -
[Module Request] AirCharts.org charts in Briefing page. (API Available)
ProAvia replied to ShrikarG's topic in Support Forum
Also just noticed in Error_log a bunch of similar errors starting on 12/17/2017. [22-Dec-2017 10:17:37 America/Los_Angeles] PHP Warning: file_get_contents(): Failed to enable crypto in /home/xxxx/public_html/xxxx/phpvms/core/modules/Aircharts/Aircharts.php on line 18 [22-Dec-2017 10:17:37 America/Los_Angeles] PHP Warning: file_get_contents(http://api.aircharts.org/Airport/KASE.json): failed to open stream: operation failed in /home/xxxx/public_html/xxxx/phpvms/core/modules/Aircharts/Aircharts.php on line 18 [22-Dec-2017 10:17:38 America/Los_Angeles] PHP Warning: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed in /home/xxxx/public_html/xxxx/phpvms/core/modules/Aircharts/Aircharts.php on line 18 [22-Dec-2017 10:17:38 America/Los_Angeles] PHP Warning: file_get_contents(): Failed to enable crypto in /home/xxxx/public_html/xxxx/phpvms/core/modules/Aircharts/Aircharts.php on line 18 [22-Dec-2017 10:17:38 America/Los_Angeles] PHP Warning: file_get_contents(http://api.aircharts.org/Airport/KDEN.json): failed to open stream: operation failed in /home/xxxx/public_html/xxxx/phpvms/core/modules/Aircharts/Aircharts.php on line 18 [22-Dec-2017 10:27:42 America/Los_Angeles] PHP Warning: file_get_contents(): Peer certificate CN=`nameitcreateit.com' did not match expected CN=`api.aircharts.org' in /home/xxxx/public_html/xxxx/phpvms/core/modules/Aircharts/Aircharts.php on line 18 [22-Dec-2017 10:27:42 America/Los_Angeles] PHP Warning: file_get_contents(): Failed to enable crypto in /home/xxxx/public_html/xxxx/phpvms/core/modules/Aircharts/Aircharts.php on line 18 The first 4 occur from 12/17 to the date/time shown. The later 3 show from that date/time to present. -
[Module Request] AirCharts.org charts in Briefing page. (API Available)
ProAvia replied to ShrikarG's topic in Support Forum
This module was working perfectly a week or two ago. Today I am getting the following errors when attempting to access an airport that AirCharts supplies charts for. Warning: file_get_contents(): Peer certificate CN=`nameitcreateit.com' did not match expected CN=`api.aircharts.org' in /home/xxxx/public_html/xxxx/phpvms/core/modules/Aircharts/Aircharts.php on line 40 Warning: file_get_contents(): Failed to enable crypto in /home/xxxx/public_html/xxxx/phpvms/core/modules/Aircharts/Aircharts.php on line 40 Warning: file_get_contents(http://api.aircharts.org/Airport/KLAS.json): failed to open stream: operation failed in /home/xxxx/public_html/xxxx/phpvms/core/modules/Aircharts/Aircharts.php on line 40 Line 40 reads: $obj = json_decode(file_get_contents($apiurl), true); It looks like the AirCharts site has the ability to use 'https' instead of 'http'. I tried changing the 'http' entries to 'https' in .../modules/Aircharts/Aircharts.php and received the same error. Also, looks like version 2 of the API was released (https://api.aircharts.org/). I tried changing the 3 $apiurl lines (17, 28, 39) in Aircharts.php to reflect this change and continued to receive the same error. The only item on my site that changed is we added SSL (https). But after getting that all set up, everything (including AirCharts) worked fine - until today. Any help is much appreciated. -
Requesting help to show scheduled aircraft, flight time and flight level in admin/templates/pireps_list.php phpVMS 5.5.2 pireps_list.php file around line 57 - Instead of showing the PIREP flight time, I would like to display the SCHEDULED flight time, aircraft and flight level. How do I call the Schedules data to display the scheduled flight time, aircraft and flight level from the schedules table to display in this area. These three items would show in the area above the Details, Log, Comments, etc. buttons. I would like to display this data in that location to make it easier to compare the scheduled aircraft, flight time and flight level to the actual submitted PIREP data for those three parameters. Any help is much appreciated!
-
I believe you need to use the php version of Crewcenter instead of the tpl version. The php version should work with phpVMS 5.5.2. In the Crewcenter download, there should be a folder with the php files. The directions explain what needs to be done. But before installing Crewcenter, be sure your phpVMS install works correctly with the default skin. No sense installing anything else if the default setup doesn't work correctly.
-
Is the above the result of running the checkinstall.php file? If so, your install is probably okay. I recall having a similar result, but the site ran just fine. Have you attempted to add a pilot, a few airports, an aircraft and at least one route? After you do this, test to see if the site is running correctly.
-
You say it's tied to the current live site database - which would contain lots of data. What happens when tied to a new DB... 1 pilot, 1 aircraft, 2 airports and 1 route between the 2 airports? Sounds like somehow the new skin and the live database interation are slowing things down. If that's the case, I have no idea where to look to increase loadijg speed - hopefully someone else has some ideas....
-
I don't believe that kACARS_Free allows you to limit whether the pilot uses accelerated flight time or not. The log will show if the pilot used accelerated time - and the VA management can allow or disallow that PIREP. In the kACARS_Free module, the only settings are: logTime - whether flight time stamp is system (computer) time or FS time logPause - whether or not to log pauses version - which version of kACARS_Free the VA uses forceOut - whether to allow pilots with version different than VA uses to connect or not charter - whether to allow charter flights or not If you want to dis-allow accelerated flight time, I believe you will need to use kACARSII - which is a payware program. http://fs-products.net
-
Have you tried running it on the same hosting account, but in a demo directory and tied to a new and fresh database? Could it be bogging down do to slow loading of your live/current database?
-
Lat/Long to show on route map NW = N -- 5200N/04000W = 5240N NE = E -- 5200N/04000E = 5240E SE = S -- 5200S/04000E = 5240S SW = W -- 5200S/04000W = 5240W Be aware that not all lat/long points are available in the navdata table. I ran across a few in the NAT's that didn't show - but the route depicted on the route map was close enough.
-
Thanks Mark! I think I found it. I used simBrief for the flightplan and then looked at various formats. SkyVector lead me to a solution. 5020N works - it needs to be 5 characters. I guess it's the same as with intersections.... 5 characters max. Yesterday I saw - somewhere - how to do this for north, south, east and west - so it takes +/- lat long into account. Once I find that again, I'll post it here.
-
Any solution on this one? I also tried 50N020W without success. Anyone have other ideas on how to display the planned route on the route map for North Atlantic crossings?