Jump to content

Recommended Posts

Posted

Here is a complete Pirep with the criteria in brackets I need.

smartCARS version 2.1.16.0, 2015/8/21 UTC

[06:18:31] Preflight started, flying offline

[06:18:32] Flying UNITED Airlines-POSKY Boeing 757-200WL (USING WRONG LIVERY or AIRCRAFT)

[06:18:32] Engine 1 is on

[06:18:32] Engine 2 is on

[06:19:15] Flaps set to position 2

[06:19:27] Pushing back with 36063 lb of fuel

[06:20:35] Taxiing to runway

[06:24:01] Taking off

[06:24:24] Climbing, pitch: 6, roll: level, 157 kts (REJECT IF CLIMB PITCH IS MORE THAT 12)

[06:24:27] Gear lever raised at 41 ft at 167 kts

[06:24:33] Flaps set to position 0 at 137 ft at 174 kts

[06:48:56] Cruising at 34000ft, pitch: 2, 487 kts

[11:59:51] Descending

[12:12:10] Approaching

[12:12:33] Exceeded 250 KIAS below 10,000 feet MSL (EXCEED OVER 250 KNOTS BELOW 10,000 FT)

[12:15:03] Speed corrected at 6968 ft after a max speed of 309 kts

[12:29:09] Flaps set to position 1 at 3232 ft at 196 kts

[12:29:24] Flaps set to position 2 at 3273 ft at 181 kts

[12:30:43] Flaps set to position 3 at 3406 ft at 186 kts

[12:31:21] Sim paused

[03:41:14] Simulator connection reestablished

[03:41:29] Sim unpaused

[03:49:46] Flaps set to position 5 at 5220 ft at 172 kts

[03:49:58] Gear lever lowered at 5291 ft at 169 kts

[03:51:03] Final approach, 165 kts

[03:52:31] Touched down at -237 fpm, gear lever: down, pitch: 5, roll: 1 degrees right, 110 kts (LANDING PITCH MORE THAN 10)

[03:52:45] Flaps set to position 6

[03:53:19] Flaps set to position 0

[03:53:28] Landed in 5232 ft, fuel: 0 lb, weight: 206850 lb (LANDED WITH 0 LBS FUEL OR OVER 12000 LBS OF FUEL)

[03:53:28] Taxiing to gate

[03:53:51] The flight may now be ended

[03:53:51] Arrived, flight duration: 06:18

[03:54:15] Engine 1 is off

[03:54:15] Engine 2 is off

  • Members
Posted

Unfortunatly pitch is not recorded as a seperate value in a pirep and that is why it cannot be done

For the speed you can do it like the picture attached

post-271-0-30632400-1440423246_thumb.png

  • 3 months later...
  • 2 weeks later...
Posted

Hello,

I have recently installed this module but once I submit the PIREP it says to me that:

post-47110-0-73018000-1449337980_thumb.png

Could you please help me?

Thanks a lot!

Was it working before you installed this module? Can you check to see if the PIREP actually filed and verify that your smartCARS web scripts have been installed in the appropriate location.

  • Members
Posted

I will have to see the pirepdata.class in order to see if there is any diference with mine as i never have used smart acars and as far as i know they do not use the incluted functions but their owns

  • 2 months later...
Posted

i'm having errors in the panel Image:

https://photos-1.dropbox.com/t/2/AACtbLnLDynVnI0kg1IjyAP0CoVE4CtQ_o9BpPz2yrtlvg/12/538208270/png/32x32/3/1456030800/0/2/Captura%20de%20tela%202016-02-20%2022.18.31.png/EPWylacEGAQgAigC/vEF9E-Zd8rs9Bz_W1EUSWKNav9drdroWNtG7TBeJPrQ?size_mode=3&size=1280x960

  • 3 weeks later...
Posted

I have this error

PirepAutoAccept/sidebar_PirepAutoAccept.tpl

Strict Standards: Non-static method PirepAcData :: get_criteria () Should not be called statically, $ this from incompatible Assuming context in / home / mundoairlines / www / admin / modules / PirepAuto Accept / PirepAuto Accept.php on line 52

PirepAcData.class.php was the core / common

the file

sidebar_PirepAutoAccept.tpl

I have not installed it

I do not button appears

ADD Criteria

1da061456dfa6fe61278404ccf527988o.jpg

1da061456dfa6fe61278404ccf527988o.jpg[/img]

Posted

I put this on line 27 and the error continues.

Most curious, the menu does not appear add criteria

public static function get_settings() {

$query = "SELECT *

FROM ".TABLE_PREFIX."autopirep_settings";

return DB::get_row($query);

}

  • Moderators
Posted

Can you give it a try?

static function get_settings() {
$query = "SELECT *
FROM ".TABLE_PREFIX."autopirep_settings";
return DB::get_row($query);
}

  • Moderators
Posted

Replace this:

public static function get_settings() {
$query = "SELECT *
FROM ".TABLE_PREFIX."autopirep_settings";
return DB::get_row($query);
}

with this one:

static function get_settings() {
$query = "SELECT *
FROM ".TABLE_PREFIX."autopirep_settings";
return DB::get_row($query);
}

Posted

the problem continues

1bb5806d60d5be677127eb4d7cd82d1bo.jpg

/**
   * Pirep Auto Accept & Decline for PHPvms
   * For more information, visit www.baggelis.com
   *
   * Pirep Auto Accept & Decline 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 Vangelis Boulasikis
   * @copyright Copyright (c) 2014, Vangelis Boulasikis
   * @link http://www.baggelis.com
   * @license http://creativecommons.org/licenses/by-nc-sa/3.0/
   * version released 7/5/2014
   */
   class PirepAcData extends Codondata {
    public function get_criteria() {
	    $query = "SELECT *
	    FROM ".TABLE_PREFIX."autopirep";
	    return DB::get_results($query);
    }
		    static function get_settings() {
    $query = "SELECT *
    FROM ".TABLE_PREFIX."autopirep_settings";
    return DB::get_row($query);
    }
    public static function getCriteriaById($id)
    {
	    $criteria = DB::get_row('SELECT * FROM '.TABLE_PREFIX.'autopirep
		    WHERE `id`=\''.$id.'\'');
	    return $criteria;
    }
    public function editSettings($setting_id,$moduleenabled,$landing_rate, $send_mail_to_admin, $send_mail_to_pilot, $admin_code)
    {
	    /*  $sql = "UPDATE ".TABLE_PREFIX."autopirep_settings
	    SET `landing_rate`='$landingrate', `sendmail_to_admin`='$sendmailtoadmin',`sendmail_to_pilot`='$sendmailtopilot', `admin_rejecting`=$admincode
	    WHERE setting_id=1";
	    $res = DB::query($sql);
	    if(DB::errno() != 0)
	    return false;

  • Members
Posted

emm the error says about the function PirepAcData:get_criteria and not PirepAcData ::get_settings change this

public function get_criteria() {
				    $query = "SELECT *
				    FROM ".TABLE_PREFIX."autopirep";
				    return DB::get_results($query);
		    }

to

public static function get_criteria() {
				    $query = "SELECT *
				    FROM ".TABLE_PREFIX."autopirep";
				    return DB::get_results($query);
		    }

Posted

Go to

admin/modules/PirepAutoAccept/PirepAutoAccept.php

and on line 20 change this

$this->set('sidebar', 'PirepAutoAccept/sidebar_PirepAutoAccept.tpl');

to this

$this->set('sidebar', 'PirepAutoAccept/sidebar_PirepAutoAccept.php');

then change the file

admin/templates/PirepAutoAccept/sidebar_PirepAutoAccept.tpl

to

admin/templates/PirepAutoAccept/sidebar_PirepAutoAccept.php

PirepAutoAccept - PHP.zip

  • 2 weeks later...
Posted

plugin manager, didn't give me any error. but i did try to download manually and it didn't work for me. i will try again and i'll let you know if it's worked or not. i am trying to install version 2... i think this is the right one.

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...