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
/showthread.php 28 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
/showthread.php 28 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
/showthread.php 28 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
/showthread.php 28 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
/showthread.php 28 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
/showthread.php 28 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
/showthread.php 28 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
/showthread.php 28 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
/showthread.php 28 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
/showthread.php 28 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
/showthread.php 28 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
/showthread.php 103 forum_permissions
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 1414 fetch_forum_permissions
/inc/functions.php 2953 forum_permissions
/showthread.php 661 build_forum_jump
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 1414 fetch_forum_permissions
/inc/functions.php 2953 forum_permissions
/showthread.php 661 build_forum_jump
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 1414 fetch_forum_permissions
/inc/functions.php 2953 forum_permissions
/showthread.php 661 build_forum_jump
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 1414 fetch_forum_permissions
/inc/functions.php 2953 forum_permissions
/showthread.php 661 build_forum_jump
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 1414 fetch_forum_permissions
/inc/functions.php 2953 forum_permissions
/showthread.php 661 build_forum_jump
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 1414 fetch_forum_permissions
/inc/functions.php 2953 forum_permissions
/showthread.php 661 build_forum_jump
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 1414 fetch_forum_permissions
/inc/functions.php 2953 forum_permissions
/showthread.php 661 build_forum_jump
Warning [2] Undefined array key "mybb" - Line: 1997 - File: inc/functions.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions.php 1997 errorHandler->error
/inc/functions_indicators.php 41 my_set_array_cookie
/showthread.php 669 mark_thread_read
Warning [2] Undefined property: MyLanguage::$ratings_update_error - Line: 5 - File: showthread.php(772) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/showthread.php(772) : eval()'d code 5 errorHandler->error
/showthread.php 772 eval
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_user.php 816 is_member
/inc/functions_post.php 416 purgespammer_show
/showthread.php 1124 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(484) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php(484) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 484 eval
/showthread.php 1124 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 672 - File: inc/functions_post.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php 672 errorHandler->error
/showthread.php 1124 build_postbit
Warning [2] Undefined array key "showimages" - Line: 758 - File: inc/functions_post.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php 758 errorHandler->error
/showthread.php 1124 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 763 - File: inc/functions_post.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php 763 errorHandler->error
/showthread.php 1124 build_postbit
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_user.php 816 is_member
/inc/functions_post.php 416 purgespammer_show
/showthread.php 1124 build_postbit
Warning [2] Undefined variable $customfield - Line: 462 - File: inc/functions_post.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php 462 errorHandler->error
/showthread.php 1124 build_postbit
Warning [2] Trying to access array offset on value of type null - Line: 462 - File: inc/functions_post.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php 462 errorHandler->error
/showthread.php 1124 build_postbit
Warning [2] Undefined array key "showimages" - Line: 471 - File: inc/functions_post.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php 471 errorHandler->error
/showthread.php 1124 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 1 - File: inc/functions_post.php(479) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php(479) : eval()'d code 1 errorHandler->error
/inc/functions_post.php 479 eval
/showthread.php 1124 build_postbit
Warning [2] Undefined variable $customfield - Line: 462 - File: inc/functions_post.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php 462 errorHandler->error
/showthread.php 1124 build_postbit
Warning [2] Trying to access array offset on value of type null - Line: 462 - File: inc/functions_post.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php 462 errorHandler->error
/showthread.php 1124 build_postbit
Warning [2] Undefined array key "showimages" - Line: 471 - File: inc/functions_post.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php 471 errorHandler->error
/showthread.php 1124 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 672 - File: inc/functions_post.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php 672 errorHandler->error
/showthread.php 1124 build_postbit
Warning [2] Undefined array key "showimages" - Line: 758 - File: inc/functions_post.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php 758 errorHandler->error
/showthread.php 1124 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 763 - File: inc/functions_post.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php 763 errorHandler->error
/showthread.php 1124 build_postbit
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_user.php 816 is_member
/inc/functions_post.php 416 purgespammer_show
/showthread.php 1124 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(484) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php(484) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 484 eval
/showthread.php 1124 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 672 - File: inc/functions_post.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php 672 errorHandler->error
/showthread.php 1124 build_postbit
Warning [2] Undefined array key "showimages" - Line: 758 - File: inc/functions_post.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php 758 errorHandler->error
/showthread.php 1124 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 763 - File: inc/functions_post.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php 763 errorHandler->error
/showthread.php 1124 build_postbit
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_user.php 816 is_member
/inc/functions_post.php 416 purgespammer_show
/showthread.php 1124 build_postbit
Warning [2] Undefined variable $customfield - Line: 462 - File: inc/functions_post.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php 462 errorHandler->error
/showthread.php 1124 build_postbit
Warning [2] Trying to access array offset on value of type null - Line: 462 - File: inc/functions_post.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php 462 errorHandler->error
/showthread.php 1124 build_postbit
Warning [2] Undefined array key "showimages" - Line: 471 - File: inc/functions_post.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php 471 errorHandler->error
/showthread.php 1124 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 1 - File: inc/functions_post.php(479) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php(479) : eval()'d code 1 errorHandler->error
/inc/functions_post.php 479 eval
/showthread.php 1124 build_postbit
Warning [2] Undefined variable $customfield - Line: 462 - File: inc/functions_post.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php 462 errorHandler->error
/showthread.php 1124 build_postbit
Warning [2] Trying to access array offset on value of type null - Line: 462 - File: inc/functions_post.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php 462 errorHandler->error
/showthread.php 1124 build_postbit
Warning [2] Undefined array key "showimages" - Line: 471 - File: inc/functions_post.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php 471 errorHandler->error
/showthread.php 1124 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 672 - File: inc/functions_post.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php 672 errorHandler->error
/showthread.php 1124 build_postbit
Warning [2] Undefined array key "showimages" - Line: 758 - File: inc/functions_post.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php 758 errorHandler->error
/showthread.php 1124 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 763 - File: inc/functions_post.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php 763 errorHandler->error
/showthread.php 1124 build_postbit
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_user.php 816 is_member
/inc/functions_post.php 416 purgespammer_show
/showthread.php 1124 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(484) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php(484) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 484 eval
/showthread.php 1124 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 672 - File: inc/functions_post.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php 672 errorHandler->error
/showthread.php 1124 build_postbit
Warning [2] Undefined array key "showimages" - Line: 758 - File: inc/functions_post.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php 758 errorHandler->error
/showthread.php 1124 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 763 - File: inc/functions_post.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php 763 errorHandler->error
/showthread.php 1124 build_postbit
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_user.php 816 is_member
/inc/functions_post.php 416 purgespammer_show
/showthread.php 1124 build_postbit
Warning [2] Undefined variable $customfield - Line: 462 - File: inc/functions_post.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php 462 errorHandler->error
/showthread.php 1124 build_postbit
Warning [2] Trying to access array offset on value of type null - Line: 462 - File: inc/functions_post.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php 462 errorHandler->error
/showthread.php 1124 build_postbit
Warning [2] Undefined array key "showimages" - Line: 471 - File: inc/functions_post.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php 471 errorHandler->error
/showthread.php 1124 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 1 - File: inc/functions_post.php(479) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php(479) : eval()'d code 1 errorHandler->error
/inc/functions_post.php 479 eval
/showthread.php 1124 build_postbit
Warning [2] Undefined variable $customfield - Line: 462 - File: inc/functions_post.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php 462 errorHandler->error
/showthread.php 1124 build_postbit
Warning [2] Trying to access array offset on value of type null - Line: 462 - File: inc/functions_post.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php 462 errorHandler->error
/showthread.php 1124 build_postbit
Warning [2] Undefined array key "showimages" - Line: 471 - File: inc/functions_post.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php 471 errorHandler->error
/showthread.php 1124 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 672 - File: inc/functions_post.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php 672 errorHandler->error
/showthread.php 1124 build_postbit
Warning [2] Undefined array key "showimages" - Line: 758 - File: inc/functions_post.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php 758 errorHandler->error
/showthread.php 1124 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 763 - File: inc/functions_post.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php 763 errorHandler->error
/showthread.php 1124 build_postbit
Warning [2] Undefined array key "invisible" - Line: 1565 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 1565 errorHandler->error
Warning [2] Undefined variable $threadnotesbox - Line: 33 - File: showthread.php(1597) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/showthread.php(1597) : eval()'d code 33 errorHandler->error
/showthread.php 1597 eval
Warning [2] Undefined variable $addremovesubscription - Line: 82 - File: showthread.php(1597) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/showthread.php(1597) : eval()'d code 82 errorHandler->error
/showthread.php 1597 eval
Warning [2] Undefined variable $thread_deleted - Line: 104 - File: showthread.php(1597) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/showthread.php(1597) : eval()'d code 104 errorHandler->error
/showthread.php 1597 eval




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I tried
#1
So this evening i tried making some airline files only for it to all mess up.

Area Code 102 (UK) for some reason in game was showing up as Latvia
Preferred Airport was STN (London Stansted) and in game was showing up as Harare (Zimbabwe).
Any idea what went wrong.

Pjank take a look at it for me please and tell me what i did wrong.

Cheers



<?xml version="1.0" encoding="UTF-8"?>
<airline>
<profile name="AB Airlines" iata="7L" logo="7L1.PNG" color="148,0,211" country="102" CEO="Brian Beal" mentality="Moderate" market="Regional" preferedairport="LHR">
<narrative narrative="AB Airlines was an airline with its head office in the Enterprise House on the property of London Stansted Airport in Uttlesford, Essex.[1] AB was one of the first 'low-cost airlines' in England, preceding others such as EasyJet, Ryanair, and Go Fly. It was created in 1993 by former Brymon Airways executives. AB Airlines was formerly known as Air Bristol. Initially the airline marketed itself as Air Belfast, reflecting its then principal route between Belfast International Airport and London Stansted. Aircraft and crew were based at Belfast International Airport, London Stansted Airport and Bristol Filton Airport. A base was then opened in 1994 at Shannon Airport to operate flights to London Gatwick Airport. This operation was marketed as AB Shannon."/>
</profile>
<info real="True" from="1993" to="1999"/>
<prefereds aircrafts="Boeing 737-300"></prefereds> 
<focusairports>
<focusairport airport="LGW,SNN"></focusairport>
</focusairports>
</airline>



If i can master this i will create XML files for loads of global defunct airlines, and current airlines that you guys haven't added
Reply
#2
Oh I'm sorry.

Area codes are for the next version, I put it in the tutorial for people sending it over to us. Blush
For the current version you still need country codes. (UK is 130 I believe).
For the next version, replace country="" by area="" and use the area IDs.

You have to create the focus airports like this:

<focusairports>
<focusairport airport="LGW">
<focusairport airport="SNN">
</focusairports>


I hope this helps.
Reply
#3
Ok will have ago
Also the airline logo isnt showing up even though its the right file name in the right folder.

Also its still showing Zimbabwean Airports instead of Stansted when i put STN as my prefered airport
Reply
#4
You don't have multilogo's set right?

(just to make sure):
Then the logo should be in this folder: data/graphics/airlinelogos.
The name of the logo should be exactly the same as the filename (Including capitals)
Have you tried leaving out the .png extension from the logo? < if this is the issue, I guess I'll update the tutorial. Smile
Is the logo actually a .png and not a Eg.: .jpg where you changed the extension to .png without using a photoshop of some kind? (if so, just safe as .png)



I'm not sure what might be causing the Zimbabwean airport to show up.
Did you set the country ID to 130?

However, in the code you shared with us, I don't see Stansted mentioned anywhere. (except for the narrative)
I only see London Heathrow, London Gatwick and Shannon.


Also, I'm wondering if the color works?
I don't know if you can just put RGB values there instead of the name of the color?



If you still have issues, can you send the latest version of your code? I'll see if I can spot any mistakes while testing it. Smile
Reply
#5
<?xml version="1.0" encoding="UTF-8"?>
<airline>
<profile name="AB Airlines" iata="7L" logo="7L1" color="148,0,211" country="130" CEO="Brian Beal" mentality="Moderate" market="Regional" preferedairport="STN">
<narrative narrative="AB Airlines was an airline with its head office in the Enterprise House on the property of London Stansted Airport in Uttlesford, Essex.[1] AB was one of the first 'low-cost airlines' in England, preceding others such as EasyJet, Ryanair, and Go Fly. It was created in 1993 by former Brymon Airways executives. AB Airlines was formerly known as Air Bristol. Initially the airline marketed itself as Air Belfast, reflecting its then principal route between Belfast International Airport and London Stansted. Aircraft and crew were based at Belfast International Airport, London Stansted Airport and Bristol Filton Airport. A base was then opened in 1994 at Shannon Airport to operate flights to London Gatwick Airport. This operation was marketed as AB Shannon."/>
</profile>
<info real="True" from="1993" to="1999"/>
<prefereds aircrafts="Boeing 737-300"></prefereds>
<focusairports>
<focusairport airport="LGW"></focusairport>
<focusairport airport="SNN"></focusairport>
<focusairport airport="BRS"></focusairport>
</focusairports>
</airline>


Here is the latest code.
The country and airports are now fine.
Logo still not showing and neither is the narrative.
Need to change the colour
Reply
#6
The logo works fine here. Are you sure you didn't put it in the multilogo folder? or not in the airlineR images folder?
The logo is named '7L1.png'? (lower case extension name?)


After changing the color to the name instead of RGB values the narrative also shows up just fine.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)