Jump to content

loplo

Members
  • Posts

    110
  • Joined

  • Last visited

Posts posted by loplo

  1. Myself and my VA testers have the following error.

    After completing the flight FSacars wont send the log.post-163-089911300 1277464316_thumb.jpg

    Going back to the log page, we get post-163-054798400 1277464325_thumb.jpg and everything is empty post-163-009645200 1277464331_thumb.jpg

    Pressing "send log" again post-163-003674900 1277464345_thumb.jpg, the log is being sent post-163-011433800 1277464353_thumb.jpg and is being submitted for validation.

    Anyone knows the cause and has solutions?

    The log.txt gives me:

    =====
    Time: 06.24.10 20:15:59
    =====
    Time: 06.24.10 20:15:59
    Backtrace: DB::write_debug > DB::query > PilotData::updateProfile > Auth::ProcessLogin > Login->ProcessLogin > Login->login > Login->index > call_user_func_array > MainController::RunAllActions
    Query: UPDATE phpvms_pilots SET `lastlogin`=NOW(), `lastip`='109.96.139.153' WHERE `pilotid`=
    Error: (1064) - 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 '' at line 1
    =====
    
    
    =====
    
    =====
    Time: 06.25.10 11:43:43
    =====
    Time: 06.25.10 11:43:43
    Backtrace: DB::write_debug > DB::query > PilotData::updateProfile > Auth::ProcessLogin > Login->ProcessLogin > Login->login > Login->index > call_user_func_array > MainController::RunAllActions
    Query: UPDATE phpvms_pilots SET `lastlogin`=NOW(), `lastip`='81.173.131.52' WHERE `pilotid`=
    Error: (1064) - 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 '' at line 1
    =====
    
    
    =====
    
    =====
    Time: 06.25.10 14:01:32
    =====
    Time: 06.25.10 14:01:32
    Backtrace: DB::write_debug > DB::query > PilotData::updateProfile > Auth::ProcessLogin > Login->ProcessLogin > Login->login > Login->index > call_user_func_array > MainController::RunAllActions
    Query: UPDATE phpvms_pilots SET `lastlogin`=NOW(), `lastip`='109.96.136.150' WHERE `pilotid`=
    Error: (1064) - 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 '' at line 1
    =====
    
    
    =====
    

  2. Maybe this is a future request.

    Is there a way to introduce a penalty on hard landings?

    At our VA, the maximum allowed landing rate is -500f/m. We would need something that will reduce the pilots income on hard landings.

    Let's say:

    - between -1f/m and -500f/m 0 penalty

    - between -501f/m and 550 f/m 50 penalty

    ...............

    - more than 800f/m pirep automatically refused.

  3. As of today my schedules page is empty.

    In the backend, everything looks OK, tried to reimport schedules - all the same, tried to delete the schedules and reimport same crap.

    The only thing that works, is to create a schedule manually.

    Does anyone have this problem?

    Any help appreciated.

    PS, version: 2.0.877

  4. Thanks for the template. Looks great.

    I have a problem: on the "Current Flights" I get the following message:"We are sorry, but we don't have maps at this zoom level for this region. Try zooming out for a broader look." No matter how out I zoom, I get the same message. This error is not shown on other templates.

  5. Hi guys, I have a problem importing the schedule.

    the error looks like this:

    ICAO LIMZ not added... retriving information:

    Fatal error: Call to undefined function json_decode() in /home/ivao/domains/blueair.ivao.ro/public_html/core/common/OperationsData.class.php on line 469

    Manual airport addition works.

    I'm running the latest version of phpvms

  6. I changed in the pilot_public_profile.tpl

    this:

    <img src="<?php echo SITE_URL.AVATAR_PATH.'/'.$pilotcode.'.png';?>" alt="No Avatar" /> 

    with this:

    <?php
             if(!file_exists(SITE_ROOT.AVATAR_PATH.'/'.$pilotcode.'.png'))
             {
                echo '<img src="'.SITE_URL.AVATAR_PATH.'/pilotavatar.png" alt="No Avatar" />';
             }
             else
             {
                echo '<img src="'.SITE_URL.AVATAR_PATH.'/'.$pilotcode.'.png'.'" alt="No Avatar" /> ';
             }
             ?>

    Donno where is the bug hidden.

  7. This one did not upload any avatar and that's why the default is showed.

    <td valign="top" align="center">
    <img alt="No Avatar" src="http://www.ivao.ro/blueair/lib/avatars/pilotavatar.png"/>
    <br/>
    <br/>
    <img alt="" src=""/>
    </td>

    I didn't see any error, but one of  my testers is using Iexplorer and he gets the red X below the avatars.

  8. Hi guys,

    My code looks like this:

    <?php
             if(!file_exists(SITE_ROOT.AVATAR_PATH.'/'.$pilotcode.'.png'))
             {
                echo '<img src="'.SITE_URL.AVATAR_PATH.'/pilotavatar.png" alt="No Avatar" />';
             }
             else
             {
                echo '<img src="'.SITE_URL.AVATAR_PATH.'/'.$pilotcode.'.png'.'" alt="No Avatar" /> ';
             }
             ?>

    It displays the pilotavatar.png for the pilots without avatar, but below the missing image (red X) is still there.

    What to do?

×
×
  • Create New...