-
Posts
1648 -
Joined
-
Last visited
-
Days Won
72
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by ProAvia
-
-
There is no version 5. There is:
- phpVMS 2.x - has been updated to work with PHP versions up to (7.1 or 7.2 maybe) - sometimes (incorrectly) referred to as version 5
- phpVMS 5.5.2 - for PHP version 5 up to 5.6 - Simpilot version
- phpVMS 5.5.2.72 - this is phpVMS 5.5.2 (Simpilot version) updated to work with PHP 7.0-7.2 - will NOT presently work under PHP 7.3
- phpVMS 7 - still in beta testing - not compatible with prior versions - probably not ideal to use in a live environment at this point - will work in PHP 7.3
The version you have installed will not work with PHP 7.3 - can you revert PHP to 5.6, 7.0, 7.1 or 7.2?
If you install phpVMS 5.5.2 or 5.5.2.72, you will need to select MySQLi (Extended) for the database - MySQL will not work. I believe MariaDB 10.1 will also work - but not MariaDB 10.2
Let us know if you can revert to another version of PHP and also what name and version of database you are using.
-
What version of phpVMS?
What version of PHP?
Is this a new install?
-
Have you considered installing locally using Wamp? This way you could test it out using the same php and MariaDB versions your host is using and see if the same error shows. If it doesn't, then something messed up with there install of php and/or MariaDB. In any case, you can tweak phpVMS locally with the skin and modules of your choice to see if it will work for you.
-
I am pretty sure that is not a phpVMS issue in and of itself.
Are you using a new database with this new install or an existing database?
Have you googled - Warning: mysqli::mysqli(): Headers and client library minor version mismatch - yet?
-
Can you provide the link to 5.5.2 you got from iCrew? As far as I know, there is only one official 5.5.2 download on github.
When installing 5.5.2, you must choose MySQLi (Extended) as the database type when using PHP 5.6 and MariaDB 10.1/MySQL 5.6
Maybe your initial download had a corrupt file? The good news is all is fine now.
-
phpVMS 5.5.2 will work with MariaDB 10.1
I suggest you install under PHP5.6 with MariaDB 10.1
phpVMS 5.5.2 will not install correctly under MariaDB 10.2
The Simpilot version of phpVMS is 5.5.x or 5.5.2 - there is no phpVMS 5.5
-
You shouldn't need the 'public_html' in the path
What exactly are you attempting to do?
-
6 minutes ago, Larsje40 said:
i can't find the NOTHING works topic can you please help me and tell me waht did the trick to get it work!
gr.
Remy
You are replying to a topic that is over 9 years old - and the OP hasn't been on this site in almost 9 years. Please try to keep your issue in one topic.
-
1 hour ago, vicsimvp said:
PHP Deprecated: Non-static method kACARSChatData::getMessage() should not be called statically, assuming $this from incompatible context in /home/virtualu/public_html/core/modules/kACARS_Chat/kACARS_Chat.php on line 51
When I change it from 'public function' to 'public static function' the error changes to this -
PHP Fatal error: Using $this when not in object context in /home/virtualu/public_html/core/modules/kACARS_Chat/kACARS_Chat.php on line 49
Attached you will find the block in question.
As I suggested in my previous post.....
QuoteIf that doesn't do it, contact me via PM (as kACARS and it's chat module are payware) and maybe I can assist you.
-
5 hours ago, ProSkyDesign said:
which version of phpvms do you have?
Simpilot 5.5.x or phpvms 5.4 (nabeel)?
There is no phpVMS 5.4
phpVMS versions
- phpVMS 2.x - legacy version - php 4
- phpVMS 5.5.2 - simpilot version - php 5.2-5.6
- phpVMS v2 - legacy version (sometimes wrongly called version 5) - php 7
- phpVMS 5.5.2.72 - phpVMS 5.5.2 updated to work with php 7.0-7.2
- phpVMS 7 - not released yet - php 7.2 and above
-
If you are on php 5.6.40, chances are you are using phpVMS version 5.5.2 or the updated phpVMS version 2 (sometimes referred to as phpVMS 5). In any case, go to your admin panel in phpVMS and look in the lower right corner and you should see the version number.
As for the "Non-static method" - you will see this quite often if a module has not been updated in a while. Do a forum search for "Non-static method" (with the quotes) and you will find lots of posts with solutions. Basically, if the particular line you referenced above (.../core/modules/kACARS_Chat/kACARS_Chat.php on line 51) starts with 'public function', change it to 'public static function' and save the file. That usually will fix it.
If that doesn't do it, contact me via PM (as kACARS and it's chat module are payware) and maybe I can assist you.
-
Did you clear your browser cache or try in a different browser?
-
Sounds like your host has php 7.2 available.
Instead of using phpVMS 7, I would suggest phpVMS 5.5.2.72 (as that version works with php 7.2 also). Lots of skins and modules available that work with phpVMS 5.5.2.72 (some may need a few tweaks for full compatibility.
As I indicated, phpVMS 7 is still in beta testing. It shouldn't be used for a live/production site quite yet. But if you want to use it, no one is stopping you. Best of luck with your VA.
-
phpVMS v7 is still in development and probably shouldn't be used for a live site. Additionally, it may be a while before addon skins or modules are released.
I would suggest you use phpVMS 5.5.2 (Simpilot version) if your site supports PHP 5.4-5.6 or phpVMS 5.5.2.72 if your site supports PHP 7.0-7.2 . See this forum for additional info: https://forum.phpvms.net/forum/25-support-forum/
-
Just to play devils advocate... so if the pilot adds miles they didn't actually fly (fudging the mileage) or takes an extra long, out of the way routing they will get a larger reward? Sounds kind of unfair for those who choose to play by the rules. If point A to point B is shown as a specific mileage, everyone should get the exact same credit for that particular flight. Hmm, in my mind, a pilot who goes out of their way to add mileage or extend their routing should probably be penalized - extra fuel, extra wear & tear on the engines/airframe - virtually of course.
But, everyone has the right to run their VA however they wish. Good luck with editing your files and database!
- 1
-
The current distance is based on the lat/lng of the dep/arr airports. If the lat/lng data entered into the database is correct, the system will compute the great circle distance between the two airports. The distance shown is an estimate of the distance to be flown.
Why would you want pilots to input a distance? The distance the pilot actually flew over the (virtual) ground will almost always be greater than the distance shown. And allowing pilots to input distances will lead to more errors down the line (each pilot flying from point A to point B will show a different distance).
Are you using an automated flight reporting system? There are several freely available - along with some payware ones that will include additional details about the flight.
You could always add a field to the manual PIREP form and also add a field to the pireps table to log that data there. You will also need to add some coding to make all that magic happen.
-
Go to the Google link inmy last post. You can register for an API key there. Youwill need toprovide credit card info, but they give you a $200 credit every month toward API usage. I have never used over $20 of that credit.
Your other option is to convert to OSM/Leaflet maps. There is a sticky post in this forum.
EDIT - here you go...
-
How about in the error_log file in the root of phpvms or in /admin? If there isn't an error_log file in either place, you may have to turn error reporting on thru your hosting panel.
The only reason I jumped in here is I am the one who put version 5.5.2.72 together - and some addon modules will show an error under php 7.2 that may need to be fixed.
-
1 minute ago, miniarma said:
Ive been trying to get this to auto accept for days but nothing seems to work. I am using phpvms 5.5.2.72 simpilot/php7.2
Any version I can use that will auto accept the pireps ?
Thanks
Are there any errors in the browser console or in the error_log file related to this module?
The module is untested in phpVMS 5.5.2.72 - but it should work. Let us know of any errors.
-
Most likely you are not using the correct URL in cACARS to connect with your site.
What is the URL of your site and what is the URL you entered in cACARS?
Have you attempted to post to the Crazy Creatives forum for a solution?
When you say you are using phpVMS 5, I am guessing phpVMS 5.5.2 - is that correct? What PHP version are you using?
-
You may not necessarily need the '&callback=initialize' part. I suggest you check your browser console for any errors.
I would suggest adding https: to the line PSD suggested above.
Here is the code from version 5.5.2.72 - key goes where YOUR_API_KEY_HERE is.
<!-- * Add Google Maps API key to next line. https://developers.google.com/maps/documentation/javascript/get-api-key --> <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY_HERE"></script>
-
The second link in my post above works with PHP 7.0-7.2.
There is no phpVMS version 5. There is only 5.5.2 and 5.5.2.72 - and either will support smartCARS.
No idea about a migration tool.
-
I would bet you didn't install all of the dependencies. Do you have SSH access on your server?
See this section: http://docs.phpvms.net/setup/installation
Are you aware that phpVMS v7 isn't released yet and shouldn't be used on a live/production server?
BTW - you posted in phpVMS Classic section - this belongs in phpVMS 7 section.... so don't be surprised if a Moderator moves it.
-
Did you follow the instructions here? http://docs.phpvms.net/
Shared Hosting Issue [SOLVED]
in Support Forum
Posted
Great - Enjoy your VA.