-
Posts
1761 -
Joined
-
Last visited
-
Days Won
79
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by ProAvia
-
The permission number is correct for Admin on phpVMS 5.5.2 I'm not sure the other 2 are causing any issues - just thought it might be good to try downgrading their PHP version. I'm at a loss.
-
Edit your post above and delete the zip file as it contains a password. As a test, change all 3 for PHP 5.6 . The error level set is okay. From a couple posts up...... Also - in the DB groups table - what is the permissions number shown for Admins?
-
Also - in the DB groups table - what is the permissions number shown for Admins?
-
I don't see any errors showing when loading the site and looking around as a guest...... In /core/local.config.php - around line 25 - what is the ERROR_LEVEL set to? Are you using cPanel when accessing your host? Do you have an option for "MultiPHP Manager" - and can you set your VA domain to anything but 7.3 there?
-
If you are running PHP 7.3 - that may well be your issue. Can you downgrade the PHP version to 5.6 (or as low as 5.3)? If you can't go back to php 5.x, what PHP versions are available to you? What is your site URL?
-
Did you try to log in again? What happens when you do that? What version of PHP are you running?
-
Sim was P3D 4.3 - aircraft is default B738 imported from FSX
-
Under Log.jpg Start Taxi - Landing lights on below 10k - landing lights were off - speed was below 20 kts - When taxiing, got error "Landing lights on below 10k", the landing lights were off and taxi speed was below 20 kts. This shouldn't be a violation while on ground and below 20 kts. On second set of bullet points - just suggestions. As is now, if a violation occurs, it states what to do rather than whwt the violation was. If I don't have landing lights on while below 10k, it should state that "Landing lights off below 10k" as the violation - not imply what to do to rectify the violation.
-
Great Another option would be to write additional code so that if the pilot hasn't filed at least one PIREP, the module would then get the pilots assigned hub as the current location.... But you are on your own there, as that's beyond my present skill set.
-
Your module is NOT outdated. It's the exact same one I have. I went thru each file and changed any references in the files from tpl to php and then made sure all the file names ended in php. And then I added the code line I posted above. If I provided my files to you, the end result would be the same. You still haven't answered my question.... Has the pilot filed at least one PIREP. Until the pilot files at least one PIREP, the current location will remain empty - that's just the way the module works. The module looks at PIREP data to get the last arrival point and uses that as the pilots current location.
-
There are only 3 files for the RandomFlights module In /templates/randomsearch.php - the change I listed above is the only code change in mine from the original file. In /template/randomflights.php - my file is the same as the original In /modules/Randomflights/RandomFlights.php - my file is the same as the original Have you actually completed at least one flight to a destination in your DB with the pilot sign-on you are using to test the module? I just checked mine, and with a sign-on that has not completed a flight, the current location is blank - but with a sign-on that has completed at least one flight, the current location is listed.So, basically, that pilot needs at least one PIREP submitted and approve that landed at an airport in your DB before the current location will show in Random Flights.
-
I will review my files later when I am home and on the computer - and let you know what I have. There may be other changed I made to get it working correctly.
-
5.5.2 - that is the same version I use. Not sure what you mean by "he adds icao and doesn't scale". As far as current location being blank, you must fly at least one flight to a destination in your db for that field to show your current location. I guess there may be a way around that, but my pilots can't use the random flights generator until they reach a certain rank - and will have flown several flights before then. Did you try what I posted and did the error disappear?
-
Don't turn off error reporting - work to fix the issue first and foremost. What version of phpVMS? What version of PHP? Change $pilotid = Auth::$userinfo->pilotid; $last_location = PIREPData::getLastReports($pilotid, 1); if(!$last_location) $last_location->arricao = Auth::$userinfo->hub; $last_name = OperationsData::getAirportInfo($last_location->arricao); $equipment = OperationsData::GetAllAircraftSearchList(true); $airlines = OperationsData::getAllAirlines(true); ?> To $pilotid = Auth::$userinfo->pilotid; $last_location = PIREPData::getLastReports($pilotid, 1); if(!$last_location) $last_location = new StdClass(); if(!$last_location) $last_location->arricao = Auth::$userinfo->hub; $last_name = OperationsData::getAirportInfo($last_location->arricao); $equipment = OperationsData::GetAllAircraftSearchList(true); $airlines = OperationsData::getAllAirlines(true); ?> I think that's the only change necessary. I'm on mobile right now and can't easily do a file compare to be sure. If the above doesn't fix it, I will do a file compare once I am near my computer.
-
What php version do you intend to use? That might dictate which phpVMS version would work best for you. phpVMS 7 - probably not good to use for a live/production site as it's still being developed - it uses php7+ phpVMS 5.5.2.72 - this is the simpilot version updated to work with php7.2 - and it works in php 7.0 & 7.1 phpVMS 5.5.2 - this is the original simpilot version - this is version 2.x updated to work with php 5.3 - 5.6 phpVMS v2 - sometimes referred to as phpVMS 5.0 - updated to work with php 7.0 and possibly 7.1 & 7.2 - this is the original version updated for php 7 phpVMS 2.x - this is the original released version - works with php 4 - This one probably isn't available anymore As you can see, there are several options available.
-
VMS Acars 08/22 Build - Version 1.0.1908221708 phpVMS install updated to latest build from 8/22 (7.0.0+190822.6018a6) P3D v4.3 This build appears to have corrected the "Error sending PIREP update, retrying, Too Many Attempts", as none were encountered. 👌👍 See attached zip for pics.... KIAH-KDAL B738 FL180 Log.jpg Start Taxi - Landing lights on below 10k - landing lights were off - speed was below 20 kts Started Takeoff - Strobes on while in flight - still taxiing below 20 kts and on ground - Thrust reverse enabled below 60kts - I was testing to see if it flagged it - works Crossing above 10,000 feet - Landing lights off above 10k' - they were on above 10k - works probably doesn't need the 500' inbuilt delay as we can set an altitude for the violation to occur (maybe 11k in climb and 9k in descent) Landing lights turned on - no flag below 10k - lights were turned on at 4000' MSL Strobes on while taxiing - flagged after clearing runway and below 30 kts - maybe this needs a delay before flagging Summary 1 / Summary 2 pics added for review Landing lights and strobes violation - possible change If landing lights violation is flagged during takeoff, instead of "Landing lights on below 10k" (which is not a violation), should say OFF If landing lights violation is flagged above 10k, should say "Landing lights on above 10k" Strobes - may be better to set to 40-ish knots or greater for violation and possibly have a time delay after landing to allow aircraft to clear runway Log.zip
-
phpVMS 5.5.2.72 was tested with MySQL 5.6 and 5.7 - it was not tested with any versions of MariaDB. Are you able to change the version of MariaDB to 10.1 or 10.2? Can you downgrade you PHP version to 5.6? If so, install phpVMS 5.5.2 (Simpilot version). Who is you web hosting company? Here are a couple of links that may or may not help.... https://mariadb.com/kb/en/library/incompatibilities-and-feature-differences-between-mariadb-103-and-mysql-57/ https://mariadb.com/kb/en/library/mariadb-vs-mysql-compatibility/ EDIT - can you post any error_log files? Have you opened your browser console to see if any errors are posted there?
-
Did you mean version 5.5.2.72 ? What version of php... 7.2.?? What version of Maria DB? Do you have the option of using MySQL instead of Maria DB?
-
If you are going to use one of the classic versions, start a thread in the forums there. Best not to mix v7 and classic in the same post.
-
You can try installing phpVMS version 5 - this is version 2.x updated for php 7 Or try version 5.5.2.72 - phpVMS 5.5.2 updated for php 7.2 . It may install under php 7.1 - see the readme.
-
The databases have different table names and different table column names - so for right now, I'd say no. Rumor is there may be a converter - but no telling if that will come true or not. I hope it does. As far as tweaking the skin, you would need to probably learn laravel. The file structure of v7 is WAY different from previous versions. You may want to consider using 5.5.2 and one of the freely available crewcenter type skins.
-
phpVMS v7 probably shouldn't be used on a production site just yet. If you are only testing and tweaking, that's fine. Have you refiewed the documentation - http://docs.phpvms.net/concepts If you intend to run a production site with active pilots using it, I'd suggest you look into using version 5.5.2 (Simpliot version). Version 5.5.2 is well tested and there are loads of skins and modules already available for it.
-
From the Github..... Click on "3 branches" Click on "dev" branch (listed under "Default" Download that one (as of 08/14/2019, it was updated 4 days ago) You still need to run "composer install" to get all the dependencies.
-
kACARS Free will not work with phpVMS 7.
-
If you are trying to display this in pilot_public_profile.php - the result will be YOUR flown routes, not those of the selected pilot. Not sure there is a way to display a specific pilot's flown routes on a map without writing your own module or adding that function to an existing module. If viewing a specific pilot's profile, there should be a list of the pilot's PIREPS. Clicking on a flight number from there should take you to a page listing the PIREP details - including the flight map for that PIREP.