-
Posts
775 -
Joined
-
Last visited
-
Days Won
124
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by DisposableHero
-
-
More info for future checks ;
https://docs.phpvms.net/acars/user-guide#flight-phases
"End Flight" and automation for it is possible after landing, during taxi in and at arrived states. There may be a bug in v1 code (worst case)
-
4 hours ago, MattW said:
I have kind of the same error. But it doesn't need autobrakes for me. Sometimes ACARS simply ends the flight after touch down and while taxiing to the ramp. Haven't found any pattern here yet other than it happens pretty much directly after touch down. Might have something to do with the ruleset and how it is enforced? I'll try to play around with the rules and see if I can find out something.
Most probably it thinks the parking brakes are set (some simulators and aircraft report back braking as parking brake unfortunately). Try enabling the engine shutdown requirement for on block / arrival checks. (Admin > vmsAcars > Settings), maybe it helps.
If this fails, we may need to wait for v2 to be in beta state for a wider range of tests, then we can track it if it continues
Safe flights
-
No, it is not excellent and does basically what your plugin does
Maybe something more on reporting and progress tracking.
Great to see people working on addons for phpvms v7, it is always better to have a widespread and growing community.
Thanks for your efforts and module/plugin.
-
4 hours ago, flyGLOBAL said:
I went back to a new install and after that the program works, still have to test the email part. I will sign up to the discord.
As for the vmsACARS, I am told that my email needs to be verified, stil. Even after 3 days still no change. Same with the no branding purchase.
to disposable hero:
1, I did read the docs, nowhere in the docs it says that some folders need to be set to 777 permission for the whole thing to work.
2, the forum has a LOT of entries and a lot has to do with V5 and other older versions, so for a newbie it is kinda hard to navigate to the proper posts
3, I was overwhelmed by all that old information and was hoping for some guidance to direct me to the proper direction.
4. When you follow the link to purchase the ACARS and you fill out everything just to get a ”you need a verified email address to continue” but your email has been verified, then you could ask yourself “is this still being worked on and is that community still active”
Anyhow, thanks for the input.
-
Nowhere needs 777 permissions, in fact it is dangerous to have, thus this is not written, never will be!
Why you though that it is needed in the first place? Looks like you have some sort of server configuration/permission problems in the beginning. -
If you look into the sections of the forum, you will see that it is clearly organized (like v2/v5 and v7 is separated).
And just from "V7 > Support" section you can see that forum is active (not like Discord for sure but you will see people communicating) - Above answer applies, even Discord uses the same logic for separation, nobody can guide you anymore sorry.
- That happens when somehow your email (or ip address) gets blocked (blacklisted) for a reason (it can be a false positive), and when this happens people ask for support and provide their email address to the developer privately when asked etc.
Anyway, you are first claiming all of these yet you somehow found the correct section of the forum to post your question. And this was what you need without all that drama.
As I wrote above, Good luck and God Speed. Hope you can have a nicely working install and have fun using it.
-
Nowhere needs 777 permissions, in fact it is dangerous to have, thus this is not written, never will be!
-
9 hours ago, flyGLOBAL said:
Great to hear! I am trying to get the acars from https://vmshost.io/store/acars . No I am not a member of phpVMS discord. I was trying to download my flights from phpvms admin section, but same happens when I try to download others like my fleet as csv. email settings in .env are correct. Where is the correct version, I downloaded the phpvms 7.0.0 dev via the link at the phpvms 7.0.4 version. there is so much irrelevant data on the forum which makes it hard to set this up. And the manual is not always a good help to solve the issue, so I am very glad to finally get to communicate with someone that know his way arround.
Gerald S.
Strange... I mean, finding info and guides on forum irrelevant, thinking that phpVMS and vmsACARS is not active is strange. What you needed was just a forum post
We are always active at Discord (link is at the menu above) and checking the forum daily (at least for v7 section).
Anyway, the docs are below (which is also present in the menu above);
You can always download the latest build from below links (if you don't want to utilize Git features);
https://phpvms.cdn.vmslabs.net/phpvms-latest-dev.zip
https://phpvms.cdn.vmslabs.net/phpvms-latest-dev.tar.gz
Good luck and God speed with your install/update.
-
Best way to understand this is checking the cron log @Imanol , they are placed alongside with your laravel logs under storage/logs folder.
If it is not there, or there but nothing in it are clear signs of cron problems (95% hosting limitations, 5% user error / server misconfiguration)
And if it is running properly, you may need to wait until UTC midnight, (nightly cron) for user checks (active / leave switch)
Good luck
-
Additionally, be sure your cron command is running the exact same php version with your hosting account/domain where phpvms runs.
Running phpvms with php8.1 but trying to run cron with php8.0 or php8.2 will cause failure. So whenever you try different php versions, or update them be 100% sure that cron is using the same php executable.
Good luck
-
1
-
-
51 minutes ago, CartesianPixels said:
I made it work, thank you, indeed, permissions were the reason
however now I am facing another issue, log is showing the following errors
09-14 00:44:37|INFO; Setting flight phase to Boarding
09-14 00:44:39|ERROR; uri=/api/pireps/9lyY6m8jq2e2jRBw/acars/positions
09-14 00:44:39|ERROR; error=App\Events\AcarsUpdate::__construct(): Argument #2 ($acars) must be of type App\Models\Acars, null given, called in /home/flyatlas/public_html/app/Http/Controllers/Api/AcarsController.php on line 212
09-14 00:44:39|ERROR; code=503
any idea how I can fix this issue? thank you DH, you're a life saver.I shared my thoughts already at Discord.
Looks like your install is not good and you have file/folder access problems.
-
1
-
-
1 hour ago, CartesianPixels said:
5- UserCfg.opt permissions are all set as required
No, they are not and vmsAcars is telling you exactly this with a message box whenever you try to scan your sceneries.
09-13 17:32:26|INFO; Found UserOpt file in C:\Users\PC GAMER\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache\UserCfg.opt 09-13 17:32:26|ERROR; UnauthorizedAccessException: Access to the path 'C:\Users\PC GAMER\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache\UserCfg.opt' is denied. 09-13 17:32:26|INFO; MessageBox, message=There was an error trying to access the path, permissions denied. Run as admin or check the folder security
https://docs.phpvms.net/acars/user-guide#permission-denied-errors
Good luck
-
You can use two different loops to display different awards according to your setup @Imanol
@foreach($user->awards->whereIn('id', [1,2,4,5,7,90]) as $awards)
https://laravel.com/docs/10.x/collections#available-methods may help
Or you can use some basic php functions to check the name, like if it contains some specific words to separate then
@if(str_contains($award->description, 'Medal'))
Good luck
-
10 hours ago, Imanol said:
Hello,
I would like to create two type of awards: Medals, given to pilots when they reach a certain number of flight hours and PIREPs, and events awards, manually given to pilots when they participate in a event. I need to show up theses awards in pilot profile divided into to groups: Medals and Events.
Is there any piece of code I could use to do it? Thanks in advance.
https://github.com/nabeelio/phpvms/blob/dev/modules/Awards/Awards/PilotFlightAwards.php
You can check the default award classes to have a better understanding how it works, and then you can create your own classes as you wish.
For displaying them separately in pilot profile you need to edit the blade file(s) of your theme as you wish. You can use some filtering within the loops or anything else matching your needs.
https://github.com/nabeelio/phpvms/blob/dev/resources/views/layouts/default/profile/index.blade.php
Good luck
-
Nicely explained, thanks
-
6 minutes ago, Aorly1 said:
Thanks a lot for your time, it is indeed working.
I assume this is something that should not be only happening to me, if so will it be "?fixed?" in a future version ?
Already did as we speak
Issue Link : https://github.com/nabeelio/phpvms/issues/1873
Solution Link (Pull Request) : https://github.com/nabeelio/phpvms/pull/1874
So when this gets merged, a new dev build will be released and this will not be problem anymore for anyone I hope
Have a nice night.
-
1
-
-
Ok,
Now disable (dash out) the dump by adding two dashes before it followed by a space as below.
// dd($point, $attrs);
Map should be working now
-
1
-
-
I saw it, thanks
Here 0 and 1 is ok, they are floats but 2 is a string (notice the double quotes and display difference) and it is the altitude. So line 42 is causing trouble.
Would you please change it as below and save the file (keep the dd for now)
$point[] = floatval($attrs['alt']);
-
A simple way to debug this error can be done by adding below text to line 44 of the mentioned file (app/Models/GeoJson.php) and saving it
dd($point, $attrs);
With this, instead of erroring out code will dump the data (contents) of $point and $attrs and stop there (die), hence the helper is called dump and die "dd".
Good luck again
-
Also the error is simple (this is why I am suspecting the client and/or communications in between)
GeoJson expects a value like "12345" (which is an integer) or "12345.67" (which is a float).
So a value like "N 12345" (notice the N and space which is a string) or "12345,67" (notice the comma, which makes this a string too) or the value is just an empty string "" (thus can not considered as null in some cases) will create the above error
We saw in some European servers, comma is being used as the decimal separator instead of a point, which was creating a problem in monetary values, same can be happening here too (a server forcing comma can mess up internal easily)
Good luck
-
55 minutes ago, ProAvia said:
Does it work with the default theme when someone is flying?
Try updating to the latest dev build (last was on 8/30/24) and latest Dispo Theme.
Have you edited any core phpVMS files or Dispo Theme files?
Do you have any Dispo or other modules installed?
What version of vmsACARS are you using? Open vmsACARS, click gear icon on lower left. Version will be just to the right of the gear icon.
As the error is related with a core feature (direct communication between acars client and phpvms v7 itself), it can not be related with any Dispo addon as my addons do not alter core/communication files. Dispo Theme only displays the map created by phpvms, only the look of the page is different.
In the other topic same/similar error was reported, and the admin did not provided any details for debugging
What I can assume from the error is, somehow the coordinates are not being recorded at all or not being recorded properly (faulty9, by the acars software being used (either vmsAcars or any other solution) thus the map is failing to create a geographic location properly.
To better understand this error, we need to re-create or live debug during a flight (while the error is happening) @Aorly1, the data transferred by acars client and the data recorded to the database needs to be checked live (by some debug lines added to some files and then then inspecting the log to spot the differences).
Additionally we can suspect the server dropping/altering http post data during a forced redirect (imagine like the server uses https, server has a forced redirection from http to https, client is configured to use http by the pilot). This needs to be checked too.
Hope this helps.
-
Probably you still have the same config error somewhere, your docker image is not able to load up the application at all.
-
You probably created a new airline (automatically) when creating new schedules (by csv import) thus now you have both SKB and SKYBU airlines in your system.
-
Hi, without getting error details or the log itself, no one can help you, even it is not an essential feature for you, you are getting errors and this can be a sign of other (maybe bigger) problems.
If it continues, and if you want to solve it just provide required details and open a topic on v7 support section or use discord
Safe flights
-
Hi,
No problem, was trying to understand what is going on there 'cause you are the first reporting something like this with the theme... If you are using vmsAcars, as you know it has a module for phpvms v7 and it needs to be updated too (depending on the changes) and when an update is needed you got notified during that process.
I am not sure where are you referring with "maintenance tab", but there is not auto update feature for modules (or phpvms v7 itself) it is always done manually.
Hope you can solve the problem and have a working livemap soon.
-
7 hours ago, fillikirch said:
Hi,
accessing the live map, when there is a flight active via the vmsacars results in this error:
[previous exception] [object] (GeoJson\\Exception\\InvalidArgumentException(code: 0): Position elements must be integers or floats at /mnt/web502/c3/83/559619683/htdocs/airline/vendor/jmikola/geojson/src/Geometry/Point.php:39)
Laravel log:
https://drive.google.com/file/d/1LMstbt3aCj05WhuYQ8Lh-Udm7DIXDhe1/view?usp=sharing
Everything else works as intended, i am using the most recent phpvms dev version, php 8.1 (tried 8.2 aswell) updated phpvms acars etc. Once there are no active flights anymore, the page works showing the default position (north america).
Regards,
Philipp
Probably you are missing some coordinates for livemap or migrations at phpvms, without seeing more details or knowing more I can not speculate. There were some improvements for altitude values, these should not cause location based errors.
1. Are you using vmsAcars ?
2. If so, is your vmsAcars module updated ?
3. Are you really on latest phpvms v7 dev build ? Please provide the full version number installed on your end.
4. Which version of my theme you are using ?
5. Did you tried switching to non-modified default theme, is it working ? (Best way to understand if this is theme related or not)
Also please provide error details, something publicly without any additional access needs.
-
Anywhere you wish, just find a place to upload (or copy the contents of the scan here as text or in a code box)
If you can find me at Antalya, why not, I can take them with a mobile device too, if you wish to wait that long of course. When you provide the scan log, people can try helping you, that's it
Have a nice day/night
Acars ending flight automatically
in vmsACARS
Posted
Ok, thanks for the feedback @MattW strange that I never had it but this definitely looks like something to focus on with @Nabeel
I saw similar reports with v1 in which the "arrived clicked" was present in acars logs for no reason, hopefully we will not have it with v2.