Jump to content

lorlandi

Members
  • Posts

    173
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by lorlandi

  1. Hi Doug, you are 100% right. Thanks and regards Luis
  2. Hi, maybe the solution is going to admin / settings / general and " Allow unadded airports ( If an un-added airport is used, it is looked up and added ) ". regards Luis
  3. Try creating an exception in your antivirus for the acars.exe file before executing it. Regards
  4. Yes I did, I followed the recommendation and put it at -1 or what do you recommend? I have VMSHost
  5. Hi nabeel, yes i did but still have this issue. Fatal error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 4096 bytes) in phar:///opt/cpanel/composer/bin/composer/src/Composer/DependencyResolver/RuleSetGenerator.php on line 129 Check https://getcomposer.org/doc/articles/troubleshooting.md#memory-limit-errors for more info on how to handle out of memory errors.[transpol@host public_html]$
  6. Have an issue. Any way i'll wait the docs update. Thanks error.zip
  7. Hi, I am trying to create a new database to later create a new module. Reading the documentation I must use "php artisan module: make-migration create_sample_table ModuleName" but when executing this instruction I get "In DatabaseServiceProvider.php line 88: Class 'Faker \ Factory' not found" This appears on to create a module or to create a database. Can hel me about this please. Many Thanks
  8. In the previous version of PHPVMS (V5), each flight could be assigned a specific aircraft, but now I can only do it by subfleet. In our case for the Boeing 777-200 Freighter fleet we have 3 aircraft and now any of them can be selected for flight. As a cargo airline, it is very important to assign a specific aircraft to each flight so that the fleet has a similar use and avoid excessive wear of some of them and also to avoid the same aircraft flying at the same time on different routes. For now we have fixed that by assigning each aircraft as a subfleet, we have 22 aircraft and 22 subfleets. Each flight has been assigned to a specific aircraft. The flight_subfleet database has 814 assigned flights. Is there any way to assign a flight to a specific plane as it was in version 5 ? Many Thanks
  9. Mmmmm....always the same......read the instructions first....config.php in order to activate the captcha. Last question....which version is installed, V2 or V3 Thanks
  10. A few days ago finally a have installed Version 7, but in the last two days several register were made by address auto generated, for example " .ru " Is a installation problem or some missing step for my side. Thanks for help
  11. Ok, Many Thanks Nabeel. Regards
  12. Hi All, Can tell me please which is the last beta version 7.0. Thanks Luis
  13. Hello, the problem is that you cannot see the pilots on the live map or the route of the flight made? For example can not see the pirep route on the map when the pilots use CCF Traker Free for report the pirep instead kacars who shows just the schedule route saved on database no pirep route made by the pilot. My solution was back to older routemap.php based on google maps and now everything is shown nice and good. route.zip
  14. 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, you can change here. * * This map is used for schedules and PIREPS * * By default, the zoom level and center are ignored, and the map * will try to fit the all the flights in. If you want to manually set * the zoom level and center, set "autozoom" to false. * * If you want to adjust the size of the map - Look at the above * "routemap" div with the CSS width/height parameters. You can * easily adjust it from there. * * And for reference, you want to tinker: * http://code.google.com/apis/maps/documentation/v3/basics.html */ if(isset($pirep)) $mapdata = $pirep; if(isset($schedule)) $mapdata = $schedule; $image = fileurl('/images/airline/'.$pirep->code.'.gif'); ?> <?php /* This is a small template for information about a navpoint popup Variables available: <%=nav.title%> <%=nav.name%> <%=nav.freq%> <%=nav.lat%> <%=nav.lng%> <%=nav.type%> 2=NDB 3=VOR 4=DME 5=FIX 6=TRACK */ ?> <script type="text/html" id="navpoint_bubble"> <span style="font-size: 10px; text-align:left; width: 100%" align="left"> <strong>Name: </strong><%=nav.title%> (<%=nav.name%>)<br /> <strong>Type: </strong> <?php /* Show the type of point */ ?> <% if(nav.type == 2) { %> NDB <% } %> <% if(nav.type == 3) { %> VOR <% } %> <% if(nav.type == 4) { %> DME <% } %> <% if(nav.type == 5) { %> FIX <% } %> <% if(nav.type == 6) { %> TRACK <% } %> <br /> <?php /* Only show frequency if it's not a 0*/ ?> <% if(nav.freq != 0) { %> <strong>Frequency: </strong><%=nav.freq%> <% } %> </span> </script> <?php /* IMAGES IN THE POSITION INFO BUBBLE In the Bubble template below you can add img refernces Links, etc. use standard HTML coding <img src="http://www.airlinelogos.net/albums/p/panam-old.gif"><br /> The above link can be added to the space below. at the top of the bubble will be displayed the Pan Am logo. Obviously you can change this to what every you wish. FYI - The same applies to the acarsmap.tpl */ ?> <script type="text/html" id="position_bubble"> <span style="font-size: 10px; text-align:left; width: 100%" align="left"> <strong>Altitude: </strong><%=nav.alt%><br /> <strong>Ground Speed: </strong><%=nav.gs%><br /> <strong>Heading: </strong><%=nav.head%><br /> <strong>Phase: </strong><%=nav.phase%><br /> <strong>Latitude: </strong><%=nav.lat%><br /> <strong>Longitude: </strong><%=nav.lng%><br /> <?php /* Only show frequency if it's not a 0*/ ?> <% if(nav.warn != 0) { %> <strong>Warning: </strong><%=nav.warndetail%> <% } %> </span> </script> <?php /* Below here is all the javascript for the map. Be careful of what you modify!! */ $icondep = fileurl('/lib/images/icon_dep.png'); $iconarr = fileurl('/lib/images/icon_arr.png'); ?> <script type="text/javascript"> var options = { mapTypeId: google.maps.MapTypeId.ROADMAP } var map = new google.maps.Map(document.getElementById("routemap"), options); var dep_location = new google.maps.LatLng(<?php echo $mapdata->deplat?>,<?php echo $mapdata->deplng;?>); var arr_location = new google.maps.LatLng(<?php echo $mapdata->arrlat?>,<?php echo $mapdata->arrlng;?>); var bounds = new google.maps.LatLngBounds(); bounds.extend(dep_location); bounds.extend(arr_location); var depMarker = new google.maps.Marker({ position: dep_location, map: map, icon: "<?php echo $icondep;?>", title: "<?php echo $mapdata->depname;?>" }); <?php /* Populate the route */ if(is_array($mapdata->route_details)) { $list = array(); foreach($mapdata->route_details as $route) { if($route->type == NAV_VOR) $icon = fileurl('/lib/images/icon_vor.png'); else $icon = fileurl('/lib/images/icon_fix.png'); $lat = str_replace(",", ".", $route->lat); $lng = str_replace(",", ".", $route->lng); /* Build info array for the bubble */ ?> var v<?php echo $route->name?>_info = { freq: "<?php echo $route->freq ?>", name: "<?php echo $route->name ?>", title: "<?php echo $route->title ?>", type: "<?php echo $route->type ?>", lat: "<?php echo $lat ?>", lng: "<?php echo $lng ?>" }; var v<?php echo $route->name?>_navpoint_info = tmpl("navpoint_bubble", {nav: v<?php echo $route->name?>_info}); var v<?php echo $route->name?>_coords = new google.maps.LatLng(<?php echo $lat?>, <?php echo $lng?>); var v<?php echo $route->name?>_marker = new google.maps.Marker({ position: v<?php echo $route->name?>_coords, map: map, icon: "<?php echo $icon; ?>", title: "<?php echo $route->title; ?>", infowindow_content: v<?php echo $route->name?>_navpoint_info }); bounds.extend(v<?php echo $route->name?>_coords); google.maps.event.addListener(v<?php echo $route->name?>_marker, 'click', function() { info_window = new google.maps.InfoWindow({ content: this.infowindow_content, position: this.position }); info_window.open(map, this); }); <?php // For the polyline $list[] = "v{$route->name}_coords"; } } ?> var arrMarker = new google.maps.Marker({ position: arr_location, map: map, icon: "<?php echo $iconarr;?>", title: "<?php echo $mapdata->arrname;?>" }); var flightPath = new google.maps.Polyline({ path: [dep_location, <?php if(is_array($list)) { echo implode(',', $list).','; }?> arr_location], strokeColor: "#FF0000", strokeOpacity: 1.0, strokeWeight: 2 }).setMap(map); // Resize the view to fit it all in map.fitBounds(bounds); </script> <script type="text/javascript"> <?php /* Populate the route */ $res = @unserialize($mapdata->rawdata); if($res !== false) { $mapdata->rawdata = $res; unset($res); } if(is_array($mapdata->rawdata['points'])) { $list = array(); foreach($mapdata->rawdata['points'] as $point) { $detail = ""; if ($point['alt'] < 10 && $point['warning'] == 0) { $icon = fileurl('/lib/images/ground.png'); } if ($point['warning'] == 1) { $icon = fileurl('/lib/images/warning.png'); } if ($point['alt'] > 10 && $point['warning'] == 0) { $icon = fileurl('lib/images/inair/'.$point['head'].'.png'); } if ($point['warning'] == 1) { $detail = ' | Warning: '.$point['warningdetail']; } $latP = str_replace(",", ".", $point['lat']); $lngP = str_replace(",", ".", $point['lng']); if ($latP == '0') continue; // FILL THIS IN WITH THE PROPER STUFF, ALL INSTANCES OF // $route WITH $point?> var v<?php echo $point['name'] ?>_info = { alt: "<?php echo $point['alt'] ?>", gs: "<?php echo $point['gs'] ?>", head: "<?php echo $point['head'] ?>", phase: "<?php echo $point['phase'] ?>", lat: "<?php echo round($latP, 4) ?>", lng: "<?php echo round($lngP, 4) ?>", warn: "<?php echo $point['warning'] ?>", warndetail: "<?php echo $point['warningdetail'] ?>" }; // ALSO THE POINTS HERE var v<?php echo $point['name']?>_coords = new google.maps.LatLng(<?php echo $latP?>, <?php echo $lngP?>); var v<?php echo $point['name']?>_navpoint_info = tmpl("position_bubble", {nav: v<?php echo $point['name']?>_info}); // YOU CAN ADD A CUSTOM ICON FROM HERE ON EACH POINT var v<?php echo $point['name']?>_marker = new google.maps.Marker({ position: v<?php echo $point['name']?>_coords, map: map, icon: "<?php echo $icon; ?>", // THIS IS THE LINK TO AN ICON title: "<?php echo $point['phase'];?>", infowindow_content: v<?php echo $point['name']?>_navpoint_info }); bounds.extend(v<?php echo $point['name']?>_coords); google.maps.event.addListener(v<?php echo $point['name']?>_marker, 'click', function() { info_window = new google.maps.InfoWindow({ content: this.infowindow_content, position: this.position }); info_window.open(map, this); }); <?php // For the polyline $list[] = "v{$point['name']}_coords"; } } ?> var kACARSPath = new google.maps.Polyline({ path: [dep_location, <?php if(count($list) > 0) { echo implode(',', $list).','; }?> arr_location], strokeColor: "#0000FF", strokeOpacity: 1.0, strokeWeight: 2 }).setMap(map); // Resize the view to fit it all in map.fitBounds(bounds); </script> </section> <br> <br> Many Thanks Luis
  15. Great Job, Many Thanks. Luis
  16. You must have this lines at the beginning of your Kacars_Free.php file : <?php /** * phpVMS - Virtual Airline Administration Software * Copyright (c) 2008 Nabeel Shahzad * For more information, visit www.phpvms.net * Forums: http://www.phpvms.net/forum * Documentation: http://www.phpvms.net/docs * * phpVMS is licenced under the following license: * Creative Commons Attribution Non-commercial Share Alike (by-nc-sa) * View license.txt in the root, or visit http://creativecommons.org/licenses/by-nc-sa/3.0/ * * @author Jeffrey Kobus * @copyright Copyright (c) 2010, Jeffrey Kobus * @link http://www.fs-products.net * @license http://creativecommons.org/licenses/by-nc-sa/3.0/ * @ v1.0.1.1 */ class kACARS_Free extends CodonModule { public function index() { if($_SERVER['REQUEST_METHOD'] === 'POST') { // Site Settings The instruction "class kACARS_Free extends CodonModule" in my file is located on line 22.
  17. Hello mischka, Also you can go on your public_html and open the error_log file and check all issues regarding Kacars.I used that log to solve some problems in my custom Kacars regarding some deprecated functions. Regards
  18. Well, i had the same problem with mass email and contact email also, two weeks involved searching the solution and nothing. My email is from a telephone company and used for many years. The final solution to this issued was change the webmaster email and also my email to gmail account and all going well. At this time with many test all is full working. My local config as follow # Email Settings Config::Set('EMAIL_FROM_NAME', ''); Config::Set('EMAIL_FROM_ADDRESS', ''); Config::Set('EMAIL_USE_SMTP', false); # Add multiple SMTP servers by separating them with ; Config::Set('EMAIL_SMTP_SERVERS', ''); Config::Set('EMAIL_SMTP_PORT', '25'); Config::Set('EMAIL_SMTP_USE_AUTH', true); Config::Set('EMAIL_SMTP_SECURE', 'ssl'); # must be "ssl" for Google Apps Config::Set('EMAIL_SMTP_USER', ''); Config::Set('EMAIL_SMTP_PASS', ''); App config with no changes. Regards Luis
  19. lorlandi

    Pilot Bids

    Hello, try to go in kacars on "info" then "settings" and unmark the option "search flight" , save the new options and then close kacars, open again, and try "Get fly Info". Regards
  20. Hello all, after couple of years i'm back again. Well, i made the conversions to openstreet map, in the page schedule route map all is nice and good but in mi old pireps when i look the route just show the tower in departure and arrival airport no route made. Have any an idea whow can i solve that issue. Thanks
  21. Hello, you must go were the kacars is installed, example "C:\Program Files (x86)\FS Products\......" right click on kacars aplication and then select "run as administrator". Regards
  22. lorlandi

    Errors with Win 10

    Check the "run as administrator" in the kACARS main folder no in the shortcut and try. Regards
  23. Hi, why my airline appear on rank 218 today with 0 score an 0 pilots....??? www.transpolar.cl regards
×
×
  • Create New...