EDIT - Only use if your hosting does not support PHP 8.1 or higher. If your host supports PHP 8.1 or higher, use phpVMS v7. Present users of phpVMS v2/v5 should use the legacy import feature of phpVMS v7. New VAs should install phpVMS v7.
After much time and effort fixing errors, I now have phpVMS 5.5.2 working successfully on PHP 7.2. My live site has been running this for over 3 months. The installation program has now been updated to be able to install under PHP 7.2 as well.
After much testing, including by several members here, I decided to release this version to the community. Here’s a link to the program at github: https://github.com/ProAviaAZ/phpvms_5.5.2.72
Be sure to read the README file. Some may experience a few warnings when installing. While these warnings can be fixed, doing so creates major issues elsewhere with the installation. Continuing with the installation will install the program successfully. Additionally, this version may install under PHP 7.0 and PHP7.1 - but has not been extensively tested. It will NOT install under PHP 7.3 or higher.
Some existing addon modules may need additional tweaking to get them working correctly with phpVMS version 5.5.2.72 - this is due to changes in PHP 7.2
Thanks to those members who helped test this for me. And thanks to Nabeel for permission to make this version available to the community.
Thank you for the chance to help even just a little bit, and to be Honest, I am much impressed with this. Outstanding job for sure. I know myself how much time and work it takes just developing Skins for version 5.5.2.xx. Its not at all easy for even the Advanced Web Master at heart. I am sure I speak for a lot here when I say thank you, thank you for your Hard Work, and dedication to our Cause in helping with something that most of Love at heart, PHPVMS !
You should have gotten a notice of an internal email from bot of them as well
I don’t see anything in the server logs
I don’t believe I have error logging turned on, but it seems to be working fine except I can’t create another account I just tried again, and it just reloaded the page…could it be my browser cache I have logged in as the admin on my other computer
Well - I used a bogus email address, so I won’t be getting an email. 😉
Certainly won’t hurt to clear your browser cache - or try with a different browser.
On my host, I needed to create a ’ .user.ini’ file to turn error logging on in php7.2 - contents below
; see https://maximivanov.github.io/php-error-reporting-calculator/ for error reporting level calculator ; E\_ALL & ~E\_NOTICE = 32759 - all errors except notices ; E\_ERROR | E\_WARNING | E\_CORE\_ERROR | E\_CORE\_WARNING | E\_COMPILE\_ERROR | E\_COMPILE\_WARNING | E\_RECOVERABLE\_ERROR = 4339 ; log\_errors\_max\_len - 1024 is default, 0 is unlimited error\_reporting = 32759 display\_errors = On display\_startup\_errors = Off log\_errors = On log\_errors\_max\_len = 0 error\_log = \<FULL\_PATH\_TO\_phpVMS\_DIRECTORY\>/error\_log ; FULL\_PATH... may start with /home/\<NAME\>/public\_html/\<phpVMS\_location\>/errorlog
Notice that I wanted to see all errors except Notices and that I want an unlimited error_log file length/size.
You can make this file in notepad or another plain text editor. Name it ’ .user.ini’ and upload to the php VMS directory. Also make an empty file named ’ error_log’ and upload to same location.
Some hosts may not require you to do this, but may need to have error logging turned on. Having the error logging on will also help you find other errors in modules, etc.
And if you want pilots to use a specific client version, in /core/modules/kACARS_Free/kACARS_Free.php line 33 - set that to the version you are using and line 34 to yes.
You can host the kACARS_Free file on your site also if you wish - just show a link back to FS_Products. That will avoid confusing your pilots with multiple versions.
this is from the all pilots page after clicking on save changes Warning: count(): Parameter must be an array or an object that implements Countable in /hermes/bosnaweb15a/b82/ipg.rtpianogcom1/ich/admin/modules/PilotAdmin/PilotAdmin.php on line 135
this is from the all pilots page after clicking on save changes Warning: count(): Parameter must be an array or an object that implements Countable in /hermes/bosnaweb15a/b82/ipg.rtpianogcom1/ich/admin/modules/PilotAdmin/PilotAdmin.php on line 135