Jump to content

Steve Bartlett

Members
  • Posts

    188
  • Joined

  • Last visited

Everything posted by Steve Bartlett

  1. Didn't work, still getting 01/01/1970
  2. On the Recent Flights on the front Page of the website it keeps showing the date of 01/01/1970, it should show the date the Pirep was filed. Here is the code I am using: <?php # RECENT FLIGHTS ;?> <div class="col-md-6"> <div class="hr-title hr-long center"><abbr>Recent Flights</abbr></div> <div class="table-responsive"> <table class="table table-condensed table-hover"> <thead> <tr> <th>Flight</th> <th>Route</th> <th>Date</th> </tr> </thead> <tbody> <?php $pirep_list = PIREPData::getRecentReportsByCount(5); if($pirep_list){ foreach($pirep_list as $pirep) { ?> <tr> <td><a href="<?php echo url('/pireps/viewreport/'.$pirep->pirepid);?>"><?php echo $pirep->code.$pirep->flightnum?></a></td> <td><?php echo $pirep->depicao.' - '.$pirep->arricao;?></td> <td><?php echo date(DATE_FORMAT, strtotime($report->submitdate)); ?></td> </tr> <?php } } ?>
  3. The previous flight map on my website has decided to disappear. All that is showing is what looks like a piece of paper with the upper right corner dog eared. Any help would be greatly appreciated. I cleared my cookies, but that didn't help either
  4. Fixed! Apparently that is what happens when you load the wrong file, LOL. I loaded the excel file instead of the CSV file, DUH!
  5. Loading my second round of schedules using the import schedules. I did save it as csv. The first round is fine, this time I get this, and that is just part of it. Does anybody know what is going on? Airline with code �L1�bma]���u���t���(gZ��[Wvr���2���u{���`�M� does not exist! Skipping... Airline with code ��9fe�q�wW@�(^��wd�b�h �a��8g.J pC�*Xx8��r�bV�`|Xƻ�cǵ�YU3J��Ý8b�3+��(�������Q��u���K>Q�ELKM2�#'��vi~����vl�wu8+�z��HH�J����:�)���� ~��L��\�E\O*�t@G�1��l�m��~C�*u��G.R(:-�ys^D��i7�QR��8 does not exist! Skipping... Airline with code �H )�7 �5)���k�dB|UtvaD�����p|�Fl&0�_�*�3�n'LE�/p���m����&]����8fI��r�S4�d7y��`� does not exist! Skipping... Airline with code ��n����I�R���3U�~��c�nrF:_�*�P����}���-p�Tp�l�r��ۜ�4LZéO� does not exist! Skipping... Airline with code �� does not exist! Skipping...
  6. http://forum.phpvms....e +registration
  7. I just approved a bunch of Pireps and this is what the error is that I am getting: Fatal error: Call to undefined method SchedulesData::changeFlownCount() in /home/steve14958/public_html/core/common/PIREPData.class.php on line 1218 And here is what line 1216 through 1218 says: if($status == PIREP_ACCEPTED) { self::calculatePIREPPayment($pirepid); SchedulesData::changeFlownCount($pirep_details->code, $pirep_details->flightnum, '+1');
  8. Forgot to mention that the flights are showing up on all the maps, and in our "View My Pireps" but not in the areas mentioned above.
  9. For some reason, our flights are not being recorded in the admin center or on our public and pilot center profiles. For example I have done about 6 flights and everything still shows 0 flights and 0 hours.
  10. That can get expensive quick, when you are working not only that airline, but all of the code shares too.
  11. I read that, but 1 doesn't help now, LOL. And two, sounds like we would still have to enter manually. Too bad there isn't a way to upload a PDF airline schedule and a program extracts that puts it all on the right places, LOL.
  12. There has to be an easier way to do schedules rather than one line at a time in Excel isn't there? Please tell me there is.
  13. Fixed, I found this and it worked: http://forum.phpvms.net/topic/8192-solution-strict-standards-errornew-php/
  14. I was getting this on the Public profile page too, but that is now working, just the admin center now.
  15. The only thing I have been able to find is this, and that file is not even in there: "Delete the core/lib/ofc_image_upload.php file, or replace it with the one from the latest download. ofc_image_upload.php is something that's not even used. The rest of the library is just an interface to the charts, which are used internally, and no URL parameters are passed in."
  16. I am getting this error when somebody tries to download XACARS, FSACARS and FSPassenger config files. Any ideas? Notice: The template file "/home/xxxxxxx//core/templates/xacars_config.php.tpl" doesn't exist in /home/xxxx/public_html/core/classes/TemplateSet.class.php on line 248 Warning: Cannot modify header information - headers already sent by (output started at /home/xxxxx/public_html/core/classes/TemplateSet.class.php:248) in/home/xxxxx/public_html/core/classes/Util.class.php on line 58 Warning: Cannot modify header information - headers already sent by (output started at /home/xxxx/public_html/core/classes/TemplateSet.class.php:248) in/home/xxxx/public_html/core/classes/Util.class.php on line 59 Warning: Cannot modify header information - headers already sent by (output started at /homexxxxx8/public_html/core/classes/TemplateSet.class.php:248) in/home/xxxx/public_html/core/classes/Util.class.php on line 60
  17. At the top of the Admin Center there is so supposed to that graph that shows how many Pireps were submitted each day, all I have is a box with this in it, how do I fix it:Open Flash ChartJSON Parse Error [syntax Error]Error at character 0, line 1:0:
  18. Here are the errors I am getting on the Front Schedules, I imagine just like the events problem, this has to do with php version 5.5. Strict Standards: Non-static method FrontSchedulesData::findaircrafttypes() should not be called statically, assuming $this from incompatible context in /home/steve14958/public_html/core/modules/FrontSchedules/FrontSchedules.php on line 26 Strict Standards: Non-static method FrontSchedulesData::findcountries() should not be called statically, assuming $this from incompatible context in /home/steve14958/public_html/core/modules/FrontSchedules/FrontSchedules.php on line 27 And the one for the Hub Transfer request form, also a static issue: Strict Standards: Non-static method HubTransferData::GetAllHubs() should not be called statically, assuming $this from incompatible context in /home/steve14958/public_html/core/modules/HubTransfer/HubTransfer.php on line 30
  19. For some reason I am getting this error: Warning: Invalid argument supplied for foreach() in/home/xxxx/public_html/lib/skins/vairline/frontpage_main.tpl on line 12 Here are the lines 9 through 15 with foreach ($flights as $flight) being line 12 <?php $flights = PIREPData::getRecentReportsByCount(10); $string = ""; foreach ($flights as $flight) { $string = $string.$flight->depicao.'+-+'.$flight->arricao.',+'; }
  20. Okay I got it thank you. It was in the ACARS Module and the ACARS.php. I changed the acarsmap.php to .tpl. Now I just have to find the module that will let me change the size of the map so it is not hanging off the page, LOL
  21. The only thing I am seeing in the acarsmap.php is acarsmap.js, calling for the java script
  22. Which Module? I am not seeing anything with routemap in the acarsmap.php
×
×
  • Create New...