The following warnings occurred:
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.0.30 (Linux)
File Line Function
/global.php 94 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "lockoutexpiry" - Line: 573 - File: global.php PHP 8.0.30 (Linux)
File Line Function
/global.php 573 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $can_access_moderationqueue - Line: 749 - File: global.php PHP 8.0.30 (Linux)
File Line Function
/global.php 749 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 889 - File: global.php PHP 8.0.30 (Linux)
File Line Function
/global.php 889 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 889 - File: global.php PHP 8.0.30 (Linux)
File Line Function
/global.php 889 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $awaitingusers - Line: 34 - File: global.php(956) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/global.php(956) : eval()'d code 34 errorHandler->error
/global.php 956 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 1021 - File: global.php PHP 8.0.30 (Linux)
File Line Function
/global.php 1021 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5196 - File: inc/functions.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions.php 5196 errorHandler->error
/global.php 1021 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7360 - File: inc/functions.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions.php 7360 errorHandler->error
/inc/functions.php 5216 is_member
/global.php 1021 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7360 - File: inc/functions.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions.php 7360 errorHandler->error
/inc/functions.php 5216 is_member
/inc/functions.php 5233 build_theme_select
/global.php 1021 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7360 - File: inc/functions.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions.php 7360 errorHandler->error
/inc/functions.php 5216 is_member
/global.php 1021 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1449 - File: inc/functions.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions.php 1449 errorHandler->error
/inc/functions.php 1404 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Forum
Double IATA Code - Printable Version

+- Forum (https://theairlineproject.net/forum)
+-- Forum: Downloads (https://theairlineproject.net/forum/forumdisplay.php?fid=5)
+--- Forum: Bug Reporting (https://theairlineproject.net/forum/forumdisplay.php?fid=9)
+---- Forum: Bug Archive (https://theairlineproject.net/forum/forumdisplay.php?fid=24)
+---- Thread: Double IATA Code (/showthread.php?tid=1602)



Double IATA Code - delia299 - 12-24-2018

AOM French Airlines and Wings Air have the same IATA Code ( IATA Code : IW ). This case caused a conflict when Lion Air (AI) made the Wings Air as subsidiary. Email says that Lion Air has made a "Wings Air" as Subsidiary but is registered as "AOM French Airlines"

This image from my game :
[Image: 2fa0e1d4dd.png]

[Image: ad9b61d81a.png]

Actually I can solve this problem myself, but I report that in the next version a small error like this has been fixed.

Wings_Air.xml
Code:
<airline>
 <profile name="Wings Air" iata="IW" color="Red" country="162" CEO="Rusdi Kirana" mentality="Safe" market="Local"
          preferedairport="CGK">
   <narrative
     narrative="Wings Air is a subsidiary airline of Lion Air. They currently operated large amount of ATR 72." />
 </profile>
 <info real="True" from="2003" to="2199"></info>
</airline>

AOM French Airlines.xml
Code:
<airline>
 <profile name="AOM French Airlines" iata="IW" logo="IW2" color="Blue" country="140" CEO="Jean-Marc Janaillac" mentality="Moderate" market="Domestic" preferedairport="ORY">
 <narrative narrative="Air Outre Mer (AOM) was founded in 1988 in the French overseas département of the island of Réunion and began scheduled passenger service in 1990 with a McDonnell Douglas DC-10-30 and a Dornier Do 228. Its head office was located in Building 363 at Orly Airport, Paray-Vieille-Poste." />
</profile>
   <info real="True" from="1990" to="2001" />
      <prefereds aircrafts="MD DC-10-30,MD-83 (DC-9-83)"></prefereds>
      <focusairports>
           <focusairport airport="RUN"></focusairport>
                <focusairport airport="MRS"></focusairport>
                  <focusairport airport="PGF"></focusairport>
         </focusairports>
              <!--the airliners the airline would start with which isn't on a route earyl (2015) late (2020)-->
                      <airliners>
        <airliner type="Dornier 228-212" early="1" late="0"></airliner>
        <airliner type="MD DC-10-30" early="1" late="15"></airliner>
          <airliner type="MD-83 (DC-9-83)" early="0" late="12"></airliner>
         </airliners>
    
</airline>

Thank you  Wink


RE: Double IATA Code - Tjoeker - 12-24-2018

I'm sorry, but what code did you change? I spot no differences.


I think this needs a change on the script, so that a airline cannot create a subsidiary with a defunct airline file.


RE: Double IATA Code - delia299 - 12-24-2018

The above code is the contents of the current xml (v2.13 Final), and it shows the similarity of the two IATA Code of the airlines.

I have changed it in my local files. The code above is not the code that I have changed


RE: Double IATA Code - Tjoeker - 12-24-2018

Ah ok, I see. Big Grin

The IATA codes are correct. We'll have to change our code. Smile