Jump to content

gio1961

Members
  • Posts

    252
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by gio1961

  1. How to solve the "Warning: count (): Parameter must be ..." problem I did a google search and many websites have this error. Surely they have installed higher php7.x on their servers I remember I said making a change
  2. You can install the David version (php compatible up to 5.6) https://github.com/DavidJClark/phpvms_5.5.x Or the version of ProAvia which is compatible up to version 7.2 https://github.com/ProAviaAZ/phpvms_5.5.2.72 With the version of David TFDi's smartCARS it works perfectly, as already tried in different V.A. But it should also work with the version of ProAvia
  3. https://forum.phpvms.net/files/file/6-phpvms-50-classic/ This is the phpVMS classic version, compatible with PHP 5.3+ (it was updated to support PHp 5.3/5.6/7.x). This isn't updated anymore.
  4. Then do as ProAvia says above. Enter your phpvms_settings database and edit the skin
  5. Surely you are logged in, so try typing in the address bar: eg: www.test.com/admin/ you should enter the admin panel and in the skin settings assign Crystal
  6. You also entered the key in the core_htmlhead.php file located in core / templates. https://forum.phpvms.net/topic/23604-google-maps-api-key/ For the spelling mistake, you need to open the app_top.php and profile_main.php files
  7. the 5.5 version of phpvms that you find here : https://github.com/DavidJClark/phpvms_5.5.x or this https://github.com/ProAviaAZ/phpvms_5.5.2.72
  8. Try to see here: https://forum.phpvms.net/topic/26893-about-firecrew3/?tab=comments#comment-136767
  9. Hi, the link is this. http://www.airlinevirtual.com/index.php/ According to the skin it was installed incorrectly, references to css files are missing. I wrote to him privately because he didn't write here, now it works
  10. Hi guys, who has a working version in * .tpl format for phpVMS Version 2.1.934 -phpVMS Version 2.1.936 I tried to download this version but it doesn't work https://github.com/Vansers/phpVMS_vStaff/archive/tpl_version.zip I tried to insert the data manually in the database but I get error # 1062 - Duplicate entry '1' for key 'PRIMARY' thanks for those who want to help me
  11. Hello guys, help if possible. How to display the list of pilots only of a specific company, es code "RAD". $pilots = PilotData::findPilots(['code' => $airline->code]); Thanks for a possible reply
  12. then try: open the layout.php file, find <script> $(function () { $('input').iCheck({ checkboxClass: 'icheckbox_square-blue', radioClass: 'iradio_square-blue', increaseArea: '20%' // optional }); }); </script> change with <script> $(function () { $('input').iCheck({ labelHover: false, cursor: true }); </script>
  13. hello .. open the layout.php file, find the code there <script> $(function () { $('input').iCheck({ checkboxClass: 'icheckbox_square-blue', radioClass: 'iradio_square-blue', increaseArea: '20%' // optional }); }); </script> do not make any changes open the file login_form.php find <input type = "checkbox" name = "remember"> Remember Me and replace it with <input type="checkbox" name="remember" /> <label>Remember Me?</label> It should work...
  14. Hi, try to see if this could interest you
  15. What phpvms version do you have installed? IMPORANT: This skin was made for phpVMS 5.5x. https://forum.phpvms.net/topic/25606-free-elaskin-2018-designed-for-phpvms/
  16. Hello. I tried to register with your V.A. Once all the data has been entered, clicked on Register, the site has returned a blank page. I guess there's something wrong with the registration page. Try it yourself and see if you receive the data by email. Greetings
  17. Hello. I'm not 100% sure but it doesn't seem like a CSS problem but a profile_main.php file.I wanted to try to register on the site https://welshairways.com (this should be yours) to see how it looks and resolve, if I could, the error but at the time of registration to the site I received the following error Error Registering Cannot add or update a child row: a foreign key constraint fails (`benjygam_pilotcentre`.`phpvms_pilots`, CONSTRAINT `phpvms_pilots_ibfk_1` FOREIGN KEY (`code`) REFERENCES `phpvms_airlines` (`code`) ON UPDATE CASCADE) I think part of the code below is missing (file registration_mainform.php) <div class="form-group"> <select name="code" id="code" class="form-control"> <?php foreach($allairlines as $airline) { echo '<option value="'.$airline->code.'">'.$airline->code.' - '.$airline->name.'</option>'; } ?> </select> </div> <div class="form-group"> <select name="hub" id="hub" class="form-control"> <?php foreach($allhubs as $hub) { echo '<option value="'.$hub->icao.'">'.$hub->icao.' - ' . $hub->name .'</option>'; } ?> </select> </div> I think you have to double check the whole site. Greetings
  18. Hi guys it's 2-3 days that I have this problem with the google map. It only appears if used as a Firefox browser (I deleted cache and history but the problem persists). On Chrome and IE the map works perfectly. Thanks for a possible reply.
  19. thanks to Vangelis resolve: <?php $country = OperationsData::getAirportInfo($route->depicao); ?> <img src="<?php echo SITE_URL;?>/lib/images/countries/<?php echo strtolower ($country->country);?>.png" width="24" />
  20. Thank you for answering .The images are there, otherwise you will not see them on the other pages of my test site.
  21. Hi guys, I have this code but the flag is not displayed. Any help is welcome. Thank you <?php $country = OperationsData::getAirportInfo($route->depicao); $imgicao = array_search($country->country, Countries::$countries); ?> <img src="<?php echo SITE_URL;?>/lib/images/countries/<?php echo strtolower($imgicao);?>.png" alt="<?php echo strtolower($imgicao);?>" /> <a href="<?php echo SITE_URL?>/index.php/airports/get_airport?icao=<?php echo $route->depicao ?>" target="_blank"><?php echo $route->depicao;?></a> (<?php echo $route->deptime; ?>) </strong> example image
  22. I solved Thanks also "Parkho" I found a post on the forum: I added "OperationsData.class.php": public static function GetAircraftById($id) { $sql="SELECT * FROM phpvms_aircraft WHERE id='$id' "; return DB::get_row($sql); } Code: <?php $pilotid = Auth::$userinfo->pilotid; $reports = PIREPData::getLastReports($pilotid, 5,''); ?> ***** <h4>My Latest 5 Flights</h4> <table id="tabledlist" class="tablesorter table table-hover" ellspacing="0" width="100%"> <tr> <th>Flight Number</th> <th>Aircraft</th> <th>Departure</th> <th>Arrival</th> <th>Flight Time</th> <th>Landing rate</th> <th>Date</th> <th>Status</th> </tr> <?php if($reports) foreach($reports as $report) { ?> <tr> <td><a href="<?php echo url('/pireps/view/'.$report->pirepid);?>"><?php echo $report->code . $report->flightnum; ?></a></td> <td><?php $aircraft = OperationsData::getAircraftById($report->aircraft); echo $aircraft->fullname; echo " ( "; echo $aircraft->registration; echo " ) "; ?> </td> <td><?php echo $report->depicao;?> </td> <td><?php echo $report->arricao;?> </td> <td><?php echo $report->flighttime; ?></td> <td><?php echo $report->landingrate; ?>&nbsp;ft/min</td> <td><?php echo date(DATE_FORMAT, strtotime($report->submitdate)); ?></td> <td><?php if($report->accepted == PIREP_ACCEPTED) echo '<span class="label label-success"><font color="#fff">Accepted</font></span>'; elseif($report->accepted == PIREP_REJECTED) echo '<span class="label label-danger"><font color="#fff">Rejected</font></span>'; elseif($report->accepted == PIREP_PENDING) echo '<span class="label label-warning"><font color="#000">Approval Pending</font></span>'; elseif($report->accepted == PIREP_INPROGRESS) echo '<span class="label label-warning"><font color="#000">Flight in Progress</font></span>'; } ?> </td> </tr> </table>
×
×
  • Create New...