-
Posts
690 -
Joined
-
Last visited
-
Days Won
111
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by DisposableHero
-
-
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
-
Sharing acars log after doing a scan may help to get help back. Without it only God can help you.
-
2 hours ago, Jbaltazar67 said:
We have our site based on phpVMS with your addons . I am looking to translate the content of the footer which contains the rules of the Va and the GPDRD and Staff. Can you just give me a little indication of the file to be modified? Thanks in advance.
Hi, speaking for Disposable Theme, footer is defined in app.blade.php directly, it reads the theme_version.blade.php to display the version of the theme and provide the attribution link automatically.
If you want to have more space in the footer to add your stuff in, then you need to edit the css (stylesheet) file too and this is mentioned in the readme of my theme.
https://github.com/FatihKoz/DisposableTheme?tab=readme-ov-file#footer-positioning-and-content
As long as you comply with license terms (for both phpvms and my addons) all modifications are ok
Best wishes and good luck on the design
-
3 hours ago, vFAB said:
Hi, I want them to be approved automatically!
Did you checked your ranks?
My answer is still same, check your ranks.
You can thank us later
- 1
-
4 hours ago, vFAB said:
Hello, how can I put the pireps option automatically approved in phpvms 7?
Check your ranks
- 1
-
Hi,
There is a section in the forum for paid services, if you can not install the software then you can check that section and request services.
https://forum.phpvms.net/forum/39-paid-services/
Good luck
-
Some servers do DROP data (especially http post data) when doing that forced redirection, thus it can cause more/deep problems. Soft redirection still allows http being used.
Therefore it is strongly advised to inform people, force them to do their vmsAcars (or any flight tracking software) profile settings right, check their favorites etc. and always use https://.... in their records.
Good luck to all
- 1
-
In simple terms, those users are not using correct url while visiting your site and using your services.
This is a very well known issue and discussed here in this forum and in phpvms discord several times, so yes some others also encountered similar results... Both ended up checking / fixing their settings and advising their pilots to use proper addresses
Good luck @CartesianPixels
-
2 hours ago, Stijn said:
Hi,
We just installed phpVMS7 with the Disposable Basic and Special addons. Our server has mySQL database and is on php 8.1.29.
We would like to completely disable all Finance related content. We could disable some finance related modules in Disposable Special, but not all.
Would appreciate your help (in non-programming savvy language 🙂 )
- Don't enable Disposable Basic/Special expenses and income,
- Don't define Fuel prices,
- Don't define Ground Handling prices,
- Don't define Subfleet costs,
- Don't define Pilot salaries,
- Don't define Fare Price/Cost,
Simply set everything as 0 usd/eur if leaving them empty is not possible.
Then you may need to remove some stuff from frontend blade files to hide cost/balance related information.
Good luck
No airports or airport database loaded
in vmsACARS
Posted
I shared my thoughts already at Discord.
Looks like your install is not good and you have file/folder access problems.