Jump to content

Tummi

Members
  • Posts

    38
  • Joined

  • Last visited

Posts posted by Tummi

  1. On 1/19/2020 at 6:06 PM, ProAvia said:

    phpVMS 5.5.2.72 will not work correctly with PHP version greater than 7.2 at this time - as stated in the readme. If you choose to use it with PHP versions greater than 7.2, I can not provide support and you basically become a test pilot.

    as in a other topic mentioned i tried a second isntance with PHP Version 7.2 and that changed everything.. Don't know if you can use thgis information for further development. Anyways thank you for your Support and effort with this 😉

  2. Hey thanks for the Reply!

     

    here is a picture of "Server A" with loaded icrew skin (in default its basicly the same view) http://prntscr.com/qqxdgy

    1. PHPVMS both 5.5.2. 7.2

    2. PHP Version : Maybe here is the Reason. Server A using currently 7.4 and Server B is using

    3. I was using default skin crystal on both servers yesterday ( Image in this post is from today)

    4. They have both exacly the same package. the link thats called is: mydomain.de/index.php/schedules

     

    When the default code is loading all schedules, you now by any chance a schedule search module that doesn't do that?

    Thanks again for your help!

     

  3. hey Guy's following situation:

     

    On Server A, if i call the schedule search, only the schedule_searchform.php gets loaded (thats what i want)

    On Server B, the searchform and the resultpage with ALL schedules gets loaded...

    • i checked the  files i have the same code in
    • core/commen/SchedulesData.class.php
    • core//modules//schedules/schedules.php
    • core/templates/schedule_searchform.php

    here a screenshot: http://prntscr.com/qqge2m

    i have made no search yet, but its loading ver ylong until i can do a schedulesearch

    anyone have a clue whats happening here?

     

    Thnak you in advance!

  4. On 6/11/2018 at 6:19 PM, CarlosEduardo2409 said:

    Hi @stifler13371,

     

    So for fix this you need to go core/common and open StatsData.class.php

    After open, you need to paste this code:

    
    <?php
    public static function TotalPilotMiles($pilotid) {
            $key = 'total_miles';
            $key .= '_'.$pilotid;
    
            $total = CodonCache::read($key);
    
            if($total === false)
            {
                $total = 0;
                $sql = "SELECT * FROM ".TABLE_PREFIX."pireps WHERE pilotid='$pilotid' AND accepted=1";
                $results = DB::get_results($sql);
                if($results) { foreach($results as $result) { $total += $result->distance; } }
    
                CodonCache::write($key, $total, '15minute');
            }
            
            return $total;
        }

     

    Sorry for not coding, nothing I'm finding the function.

    tried that, but for me the page keeps the same 😞

  5. @Parkho Your welcome, but i have then still an issue.. i had landingrates below -53 in the Pirepdatabase, with the earlyer Toppilotmodule (i think from simpilot) they where shown, but they are not anymore in the Years landigrate statisitic. What can the reason be?

     

    Have checked.. The Top 10 are from -1 up to -53, they are all missing

     

    The LR of 0 is gone, Thank you very much for that!

  6. @Parkho Your welcome, but i have then still an issue.. i had landingrates below -53 in the Pirepdatabase, with the earlyer Toppilotmodule (i think from simpilot) they where shown, but they are not anymore in the Years landigrate statisitic. What can the reason be?

  7. 1 minute ago, Parkho said:

    The landing rate is calculated in average, so if a pilot submits only 1 PIREP and the landing rate is 0, the system shows it as best landing rate. It could, however, be changed to exclude landing rate of 0 in calculation.

    Is it possible to not show the average landigrates and instead the best landingrate?

  8. thank you very much fpr this addon!

     

    one Question, if a pilot submitted a pirep manualy and have than a Landingrate of 0, it shows up in the best landigrate as best landing, is there anyway to exclude manual pireps or landigrates with 0?

  9. Fatal error: Uncaught exception 'Exception' with message 'You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's message inbox on 03/13/2017', '2', '1489418110')' at line 2' in /home/oneengin/public_html/core/common/MailData.class.php:92 Stack trace: #0 /home/oneengin/public_html/core/modules/Mail/Mail.php(138): MailData::send_new_mail('2', '1', 'VA Discounts', 'You received a ...', 2, 1489418110) #1 /home/oneengin/public_html/core/modules/Mail/Mail.php(38): Mail->send() #2 [internal function]: Mail->index() #3 /home/oneengin/public_html/core/classes/MainController.class.php(218): call_user_func_array(Array, Array) #4 /home/oneengin/public_html/index.php(70): MainController::RunAllActions() #5 {main} thrown in /home/oneengin/public_html/core/common/MailData.class.php on line 92

     

    after sending an airmail to all Pilots...

×
×
  • Create New...