-
Posts
1661 -
Joined
-
Last visited
-
Days Won
73
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by ProAvia
-
-
While one can not discuss payware code in a public forum, one could use the PM system of the forum to discuss the issues with other users who have legally purchased the same module.
Possible post the error you are receiving - without posting any payware code - and mention the module you are using. Then ask users who use the same module to contact you via PM. Use caution to check that other users actually have the same module though. Sadly, there have been reports of users attempting to get payware code from other users while not actually owning the original payware module.
Example:
"I am receiving the following error while using payware module (name of module and developer here).
Warning: count(): Parameter must be an array or an object that implements Countable in (don't put any more than this).
Since this is a payware module, please contact me via PM if you have purchased this module and can help. Thanks!"
-
The developers didn't state it would work in 5.5.2.72 - as a matter of fact, these modules were developed before PHP 7 and higher were even available. It is unreasonable to expect a developer to update a module a module to be compatible to work with every PHP version. Most everymodule that you actually boight for your VA can be tweaked to work with newer PHP versions. And the original developer probably isn't going to mind. Now you can not distribute those tweaks for other users/owners of the same software without express written permission from the original developer, unless otherwise stated in the licensing and use documents. If you were unable to edit the code for your own use, you wouldn't even be able to change any of the template files to fit with your chosen skin. How many developers have actually cited end users for altering code to make it work with different skins.
For payware, lack of support for software that is still being offered for a price is a totally separate discussion. Before one buys any software, it is up to the buyer to be sure that support is available and active. Contact the seller/developer prior to purchase to see if they respond. Check their forums for current activity. It comes down to buyer beware.
-
There is zero guarantee that ANY modules - payware or freeware - will work without a bit of tweaking in phpVMS 5.5.2.72.
phpVMS 5.5.2.72 is a subset of phpVMS 5.5.2 that allows phpVMS 5.5.2 work with PHP 7.0-7.2 . As such, most modules will need to be tweaked to work with PHP 7.0-7.2 .
As for which PHP versions certain modules will work with, the answer is easy. Look at the requirements for phpVMS 5.5.2 . Modules advertised to work with phpVMS 5.5.2 will work with PHP versions that phpVMS 5.5.2 work with. No where does it say they will work with phpVMS 5.5.2.72 .
Module developers are not required to bring their modules into compliance with PHP 7.2 . Many phpVMS 5.5.2.72 users/admins have been able to use older modules just by changing a few lines of code in the modules. Modules developed for phpVMS 2.x and phpVMS 5.5.2 do work correctly in phpVMS 5.5.2.72 with a bit of deductive reasoning and determination.
-
9 hours ago, gio1961 said:
If you are using phpvms version 5.5 you can download this module and do what you ask. https://github.com/KJRDev/phpVMS_vAwards Sure you will have to make some changes in the various files, from "tpl" to "php". Here the discussion https://forum.phpvms.net/topic/7351-vawards/
I believe the OP is using phpVMS v7. At some future point, someone may write a similar type module for v7.
- 1
-
phpVMS will not work correctly with free hosting.
phpVMS 2.1.x will not work with PHP 7.4.x or MySQL 5.7
-
What version of phpVMS?
What version of PHP?
What version of MySQL or MariaDB?
What skin are you using?
Does it work correctly with the default crystal skin?
-
Google is your friend.... https://lmgtfy.app/?q=kg+to+lbs
1 kg is 2.2 lbs (actually 2.205 lbs - but 2.2 is close enough).
-
Your biggest issue is MariaDB 10.3 - phpVMS v2.x and 5.5.2 doesn't work well with MariaDB above 10.1
Is this a new install or an existing long term install? The github you linked to was archived by the owner several years ago.
On the phpVMS admin dashboard, what is the version number in the lower right corner?
What versions of PHP does your host offer?
As I stated, Maria DB over 10.1 will cause issues with older versions of phpVMS. If you are starting a new VA, I strongly suggest you use phpVMS v7.
-
So changing the 'S' to an 'A' solved the issue?
-
There are possibly some payware alternatives - or you could try to write your own.
One issue I see is you say:
"... PilotSircraftflownCounts ...."
when it should be
... PilotAircraftflownCounts ...
The 'S' should be an 'A'
-
Is this a new install? If so, using v2.x with PHP 5.6 may be the issue.
What version of MySQL or MariaDB are you using?
-
It could be something very simple or something very complex. Without the error log, no telling what the issue is.
You say you are "typing it in". Exactly what are you typing in? What is the expected output?
The line you reference is actually line 453 (not 456) in the default StatsData.class.php file. Check to see if it works with the default file.
And the pie chart that is supposed to display may no longer work because Flash Chart (or whatever it was called) is no longer supposed/available in most browsers. Search the forums for Morris Chart or Google Chart to see if there is a possible alternate to use.
-
MySQL versions above 5.7.4 have been known to cause issues with adding/deleting airports, aircraft and schedules. At this time, there is no fix for this.
To delete schedules - If you don't know what you are doing, do NOT attempt this.
1 - make a backup or copy of your database.
2 - delete the schedules from your live database schedules table.
3 - check to be sure they are deleted and that everything else works.
4 - if it does, you are done. If not, use the info in the backup/copied database to restore the live database table.
-
That phpVMS version is no longer supported and will not work correctly with PHP 7.
What version of MySQL or MariaDB?
Time to seriously consider moving the phpVMS v7. Your version is so old, it isn't even worth the hassle to update to phpVMS 5.5.2 or 5.5.2.72
-
phpVMS 5.5.2 will not work correctly with MySQL versions higher than 5.7.4
Do you have error reporting turned on? Anything in the error_log file?
-
Need to see the entire error message.
Is this in the default phpVMS 5.5.2 files or an addon module?
If an addon module, which one?
What is the file name and line number?
What PHP version?
What MySql or MariaDB version?
-
Let's keep versions of phpVMS separate....
phpVMS 5.5.2.72
Requires PHP 7.0, 7.1 or 7.2
Must use MySQLi during setup
What MySQL or MariaDB version?
phpVMS 5.5.2
Requires PHP 5.4 - 5.6
Can use either MySQL or MySQLi during setup
What MySQL or MariaDB version?
If you can't connect to the DB or even check the DB connection via the phpVMS installation screen -
- Database exists?
- Database user exists and is associated with the correct DB?
- Database password is correct?
- Using correct site URL?
Answer all of the above questions.
There is a real possibility that your VPS isn't set up correctly?
Suggest you contact your host for help in setting up your VPS - as that is beyond the scope of this forum.
-
You need to post in the phpVMS v7 forums. This is the v2/v5 legacy forum.
-
The issue is MariaDB 10.3
phpVMS 5.5.2 has issues with MariaDB 10.2 and above and MySQL 5.7.4 and above.
Most of the issue has to do with Strict Mode.
Ask your host to turn Strict Mode OFF and try again. Many hosts won't turn Strict Mode OFF, citing security concerns. At present there is no fix. At this time, your only option is to import directly to the database using phpMyAdmin through cPanel.
Your other option is to upgrade to phpVMS v7. Check the Docs tab in the menu above for requirements.
-
phpVMS 5.5.2?
PHP 5.4? Can you change this to PHP 5.6?
What version of MySQL or MariaDB are you using?
Paid hosting or free hosting?
-
Unfortunately not - these legacy versions have not documentation available.
phpVMS v7 has documentation and is generally more robust than previous versions. You can find v7documentation under the DOCS menu item above.
-
The website is online. You can purchase items, but support has been less than stellar.
Since their offerings are payware, you cannot ask specific support questions here in the open forum. You can state the module you are having issues with and ask that anyone having the same module contact you via PM - where you can ask more specific questions. Use caution and be sure that the other person actually has the same module.
-
What phpVMS version?
What PHP fversion?
What MySQL/MariaDB version?
The airport lookup function hasn't worked correctly for several years. Based on what phpVMS version you are using, there is the possibility of afile update/upgrade to make that work again. But you are a long ways away on the learning curve to do that yourself at this point, based on your above statements.
Did you review the VASystem files using Excel and re-save them? If so, what Excel version?
-
Maybe the program you are using to edit the CSV is part of the issue. I have experienced issues with Excel 2003. Now I use Open Office and haven't had any issues. Be sure you are saving as a comma-delimited CSV and no special formatting that may leave unneeded characters in the file.
[ERROR] There was an error adding the aircraft
in Support Forum
Posted
This issue will crop up with MySQL versions above 5.7.4 and possibly some versions of MariaDB (maybe10.2 and higher).
There is no fix at this time to allow adding the aircraft thru the phpVMS admin panel.
A work-around is to add the aircraft manually to the database aircraft table.... BUT - BACK UP THE DATABASE FIRST.
You will probably experience the same issues with adding airports, schedules, etc.