Support Forum
Any questions or bug reports go here.
7143 topics in this forum
-
- 1 reply
- 955 views
Hi there im very new to PHP VMS but how do i download it ive seen it on github but just a little confused of how to do it could someone help me?
Last reply by Strider, -
- 7 replies
- 1.4k views
Hi, if I want to allow pilots to enter a custom amount of miles (if they have a multiplier or something) 1. would this work? $sql = 'SELECT SUM(distance) AS distance FROM '.TABLE_PREFIX.'pireps WHERE pilotid = '.$pilotid; $info = DB::get_row($sql); echo $info->distance; and 2. how could I get a PIREP field that would change the total miles for pilots thanks
Last reply by PikoSim, -
- 2 replies
- 935 views
Hey, does anyone know how to add external Classes to phpvms? I tried to add the folder to the core/common/ folder so it looks like this: Now I want to use this Classes and files in - for example "edit_profile". I added the required files with "require" like this: require __DIR__.'/../../../core/common/elephant.io/Client.php'; require __DIR__.'/../../../core/common/elephant.io/Engine/SocketIO/Version2X.php'; Now, if I refresh the page I got an 500 error (HTTP ERROR 500). How do I include and use the files correctly? Thank you
Last reply by PikoSim, -
- 14 replies
- 2k views
Hello once again! Today, I got a problem because I want to view 5 most recent flights for a pilot in the pilot_public_profile.php file. this is what I tried to add, but didn’t work, I just got a emty Array of the flights: <?php echo PIREPData::getLastReports($pilot->pilotid, 5, PIREP_ACCEPTED); The $pilot variable is the variable that is Main used in the file.
Last reply by PikoSim, -
- 10 replies
- 1.7k views
I installed Elaskin all good but whenever I try to login into the CrewCenter I just get a spinning circle indicating that it is loading but it never ends up loading. I am using free hosting Im on phpvms 5.2.2 PHP V5.6 Any help is appreciated
Last reply by Strider, -
- 1 follower
- 4 replies
- 2k views
Hello We have a new VA Website with a subdomain xx.skyline-va.de. PHPVMS runs on another subdomain xy.skyline-va.de but on the same Server. I wanted to display the ACARS map on this page, but I get the following error: Uncaught ReferenceError: L is not defined at base_map.js:10 Uncaught ReferenceError: L is not defined at map.php:190 the code to display the map on the page: <?php MainController::Run('ACARS','index'); ?> and i included the follow phpvms files: <?php include('../../httpdocs/iCrew/core/codon.config.php'); include('../../httpdocs/iCrew/core/local.config.php'); ?> Have i forge…
Last reply by PikoSim, -
- 7 replies
- 1.6k views
Hi all, Currently when i have already 1 bid in my bids, i cannot to proceed to make 2nd booking, is there any option to allow 2 booking or more ? Yours,
Last reply by PikoSim, -
- 2 replies
- 877 views
Is there a way to change the Virtual airline callsign prefix to be more than three characters?
Last reply by PikoSim, -
- 1 reply
- 892 views
Hi all, I hope you are ok, is there any module to show documents pdf or make a library inside phpvms for pdf files like SOPs and Handbooks ? Yours,
Last reply by PikoSim, -
- 1 reply
- 870 views
The login user name output : echo Auth::$userinfo->lastname but i want output name from pilot id How can i do? sorry for my bad english. (phpvms 5.5.x)
Last reply by PikoSim, -
- 11 replies
- 1.5k views
So I am running phpVms 5.5.2 and the CrewCenter skin by Mark Swan 1.1, and when I go into schedules and search a flight, after I press "Add to bid" I get a message that says "No route passed", what do I do?
Last reply by Heritage1, -
- 4 replies
- 994 views
I made a custom PIREP field but I want to delete, but whenever I click delete from this page, It sends me to this page (below) and when I click delete the page just refreshes and nothing happens Any help is appreciated, thanks (full picture of the window)
Last reply by Strider, -
- 13 replies
- 1.7k views
Hello, as it says in the title, the Google map and Bidding isn’t working in Ela Skin 2018. When I go to a Schedule for example, it says: "Google couldn’t Load right on this Page, more info in the JavaScript console". And with the Bidding, when I tap on the bid flight I Get a error.
Last reply by Strider, -
- 0 replies
- 887 views
Hi all, any chance to convert this map (googlemap) into openstreet map. This code can show the schedule route and route made in the same map. Now i have a map were only show a schedule route in openstreet map. <section class="page-contents"> <div class="container"> <div class="mapcenter" align="center"> <div id="routemap" style="width:1106px; height: <?php echo Config::Get('MAP_HEIGHT')?>"></div> <?php /** * * This is the new Google Maps v3 code. Be careful of changing * things here, only do something if you know what you're doing. * * These are some options for the map,…
Last reply by lorlandi, -
- 0 replies
- 765 views
Hello all i need to know if someone have the solution when i need to send email to the pilots it go to SPAM folder in tier email like gmail and if the pilot did -THIS IS NOT SPAM- it will come in the normal folder but other pilot still in SPAM guys if u have any solution for this please help
Last reply by alyousufi, -
- 1 follower
- 18 replies
- 2.6k views
Hi Wondering if anyone can help. I have done a new skin for my VA deciding to change from the Icrew Skin. When my VA used the Icrew its URL was crew.virtualei.net With my new skin I have gone back to the parent URL virtualei.net My problem is that my simbrief button is not working. I uninstalled the module and all the files and did a fresh install remembering to put in the new URL and my API in the correct files. When I click on the. When I inspect for console errors it is still saying crew.virtualei.net as per screenshot. I have cleared my PC cache and history but it doesnt work. I am at a total loss. Any help appreciated. https://prnt.sc/svd4u…
Last reply by Virtualei, -
- 0 replies
- 652 views
Hi everyone, I have a problema with the module of Crazy Creatives, Aircraft Market, I had ordered different aircrafts (by leasing and buying) but when the delivery time arrives the botton to take the aircraft didn't appear and the status say "On order". I had tried to modify the time format of the phpvms, but It didn't work. i'm using phpvms version of @ProAvia. If you can help me, thank you! Some screenshoots. .
Last reply by Adrian1709, -
- 1 reply
- 696 views
How would I build a module for my crew center? this would be of my choice for things, and add it on to phpVMS?
Last reply by Strider, -
- 2 followers
- 8 replies
- 2.5k views
phpvms 5.5.2 on php 5.5: I am getting the following errors trying to run maintenance.php as a cronjob. Warning: Creating default object from empty value in /home/flyelite/public_html/admin/maintenance.php on line 26 Unauthorized access - Invalid Permissions. Return to Homepage Line 26 is: Auth::$userinfo->pilotid = 0; When I run maintenance.php while logged on from my admin user account, it runs without problems. When I ask my host provider about it, they say phpvms is not compatible with php 5.5 and to downgrade to php 5.3. However, this makes no difference …
Last reply by William, -
- 1 follower
- 10 replies
- 1.6k views
Hey guys, I'm really stuck on this one and need a fresh pair of eyes. Running CrewCenter with OSM Leaflet conversion. On the frontend every Map works fine, Acars, Schedule details, Flown-Routes, Trackflight, etc. In Admin it's a nightmare, I cannot get the Map to display in Pireps, no matter what I try. Layout file is ok, scripts are all there. Pirep is parsing through json but something is preventing the Map from loading altogether. Any ideas? Below is the current route_map code: <?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?> <?php // SKINNED FOR CREWCENTER - OPTIMISED FOR PIREP…
Last reply by William, -
- 17 replies
- 1.8k views
Hi all I looked for a solution on the forum but I did not find anything that could solve the problem. I am under a version 5.5 with a php 5.6 When I go to the admin backoffice and I launch the maintenance options manually, I don't have any particular concerns (it's logn but it does the job (reset hours for example or reset Pirep driver count) On the other hand, if I want to use the cronjob and launch the suggested line (php -f /homepages/33/d797466141/htdocs/hdd/vavirtual/crew/admin/maintenance.php) it does not work. I sent the output of the cronjob to a file and here is what I have (many of these lines) : <b>Strict Standards&…
Last reply by PetitJedi, -
Hello. A question, please. When I created a page through Admin/Pages, there is a title at the top left corner of the page. How can I remove this? Thank you.
Last reply by FSVKenny, -
- 3 replies
- 792 views
Esteemed. Passing a thousand problems with this environment. When one thing is fixed, I move on another ... I came to ask the masters and magicians for help here. a) My List of Airports and Pilots disappears every time I put the blessed recaptcha code. b) Someone who can help me in Portuguese or who explains how to fix this thing ??? I already took RECAPCTHA and I don't even know where to move or missing ... Can someone also tell me what PHP these codes are in ... because I think I deleted lines and I don't remember which ones they were .... I'm not even flying anymore to be able to take care of this matter ..
Last reply by Strider, -
- 6 replies
- 1k views
Hello people, so I want to make a custom MainController::Run like this example here: <?php MainController::Run('PIREPS' 'RecentFrontPage', 5); ?> so that will go and insert the 5 newest flights, but I want to make a custom one, How could I do that?
Last reply by Daniboi, -
- 22 replies
- 2.3k views
Hi there! I have some questions. How to: - Use the map, pilots and routes as an iframe to an existing website? - Remove this on the news main page: Posted by phpVMS Installer on 23/05/2020 Also, the function send emails to all pilots is not working and the FORGOT PASSWORD is also not working... What am I missing?
Last reply by Strider, -
- 5 replies
- 1.1k views
@web541 I recently downloaded RandomFlights from your github which was updated for phpvms 5.5.x. I've tried using this but every time I search for something, regardless of the selections entered, it returns No Routes Found! Any ideas on why it's doing this? Thanks in advance for a response. -Zac
Last reply by zacmia, -
- 34 replies
- 6.9k views
Could someone help me out please I am trying to get the vatsim id to be displayed here http://flyvva.org/index.php/pilots The custom field is this Vatsim ID and here is the .tpl I have <h3><?php echo $title?></h3> <?php if(!$allpilots) { echo 'There are no pilots!'; return; } ?> <table width="100%" class="tablesorter" id="tabledlist"> <thead> <tr> <th>Pilot ID</th> <th>Name</th> <th>Vatsim ID</th> <th>Rank</th> <th>Flights</th> <th>Hours</th> </tr> </thead> <tbody> <?php foreach($allpilots as $pilot) { if($pilot->confir…
Last reply by FlyingMachine, -
- 4 replies
- 2.1k views
Hi again, I have a quick question if this would be possible. I find that editing routes in large numbers goes quickly when editing straight in the database. Therefore we always export our database with phpMyAdmin, edit it accordingly to add new routes, and then import. However, phpVMS is currently set up to read Sunday in the database as Day 0. This 0 value gets ignored when importing the new routes, so I would wondering if it were possible to change the database for the next release to be on a 1-7 scale instead of the current 0-6 scale for each day of the week? (Ex: instead of saying 0123456 to routes that are to be flown on all days, I suggest having 1234567). Thanks i…
Last reply by FlyingMachine, -
- 0 replies
- 703 views
Hello all, i'm trying to minify the html output but no success, i use phpvms v2. example: <!DOCTYPE HTML> <html lang="pt-PT"> <head> <meta charset="utf-8"> ... to be <!DOCTYPE HTML><html lang="pt-PT"><head><meta charset="utf-8">... I´m trying to use this code on top of layout.tpl function sanitize_output($buffer) { $search = array( '/\>[^\S ]+/s', // strip whitespaces after tags, except space '/[^\S ]+\</s', // strip whitespaces before tags, except space '/(\s)+/s', // shorten multiple whitespace sequences '/<!--(.|\s)*?--…
Last reply by piuozorio, -
- 1 follower
- 1 reply
- 852 views
Dear user For some time now our crew center has been extremely slow. Afterwards the provider reported that PHP processes are not terminated. What could be the reason? intranet.flyedelweiss-virtual.com
Last reply by Nabeel,