-
Posts
1701 -
Joined
-
Last visited
-
Days Won
75
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by ProAvia
-
public static function PilotAircraftFlownCounts($pilotid)
ProAvia replied to Ricky310's topic in Support Forum
So changing the 'S' to an 'A' solved the issue? -
public static function PilotAircraftFlownCounts($pilotid)
ProAvia replied to Ricky310's topic in Support Forum
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?
-
public static function PilotAircraftFlownCounts($pilotid)
ProAvia replied to Ricky310's topic in Support Forum
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
-
public static function PilotAircraftFlownCounts($pilotid)
ProAvia replied to Ricky310's topic in Support Forum
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? -
public static function PilotAircraftFlownCounts($pilotid)
ProAvia replied to Ricky310's topic in Support Forum
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?
-
Is there still a documentation for phpVMS 5.5X | SimPilot Version ?
ProAvia replied to Vincentxx's topic in Support Forum
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.
-
What skin are you using? What version of phpVMS? Where is the phpVMS attribution shown on your site? This is required by the license.
-
How did you solve it? Your answer may just help someone else out in the future.
-
Use the link in the 14th post of the linked thread. It may also benefit you to look thru the entire thread as there may be additional updates to a few of the included files.
-
Search is your friend...
-
Translation Can you post the screenshots? Who is your hosting company?
-
The grayed out ones are "Disabled". To enable them, click "Edit" to the right of the aircraft and click the "Enabled?" box near the bottom, then click "Edit Aircraft".
-
It's just a warning - you should be able to continue.
-
Verify your php version. As DH mentioned, that error is kostly limited to php 7.3 and above. But you can try this..... First, back up the ezdb_base.class.php file in case the following doesn't work and you need to revert. Open the original ezdb_base.class.php file and edit the three lines mentioned. For all three lines, remove , true Save the file and try it again. Let us know if that works.
-
MariaDB is an alternate to MySQL. You have either MySql or MariaDB. phpVMS 5.5.2 and 5.5.2.72 hafe issues with MySql above 5.7.4 and MariaDB above 10.1 Mostly this is related to Strict Mode. Ask your hosting company to turn Strict Mode off.