The following warnings occurred:
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.17 (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.1.17 (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.1.17 (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.1.17 (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.1.17 (Linux)
File Line Function
/global.php 889 errorHandler->error
/showthread.php 28 require_once
Warning [2] Undefined variable $unreadreports - Line: 45 - File: global.php(956) : eval()'d code PHP 8.1.17 (Linux)
File Line Function
/global.php(956) : eval()'d code 45 errorHandler->error
/global.php 956 eval
/showthread.php 28 require_once
Warning [2] Undefined variable $awaitingusers - Line: 47 - File: global.php(956) : eval()'d code PHP 8.1.17 (Linux)
File Line Function
/global.php(956) : eval()'d code 47 errorHandler->error
/global.php 956 eval
/showthread.php 28 require_once
Warning [2] Undefined array key "style" - Line: 1021 - File: global.php PHP 8.1.17 (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.1.17 (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 1 - Line: 1449 - File: inc/functions.php PHP 8.1.17 (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.1.17 (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.1.17 (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.1.17 (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.1.17 (Linux)
File Line Function
/showthread.php(772) : eval()'d code 5 errorHandler->error
/showthread.php 772 eval
Warning [2] Undefined variable $postsdone - Line: 906 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error
Warning [2] Undefined array key 741 - Line: 912 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 743 - Line: 912 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 747 - Line: 912 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 750 - Line: 912 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 751 - Line: 912 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 756 - Line: 912 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 757 - Line: 912 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 2109 - Line: 912 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 2112 - Line: 912 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 2113 - Line: 912 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 2118 - Line: 912 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 2120 - Line: 912 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 2122 - Line: 912 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 2123 - Line: 912 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 2152 - Line: 912 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 2193 - Line: 912 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 2194 - Line: 912 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 2195 - Line: 912 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 2199 - Line: 912 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 2202 - Line: 912 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 2206 - Line: 912 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 2217 - Line: 912 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 2218 - Line: 912 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 2222 - Line: 912 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 2224 - Line: 912 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 2225 - Line: 912 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 2226 - Line: 912 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 2227 - Line: 912 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 2228 - Line: 912 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 2229 - Line: 912 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 2231 - Line: 912 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 2233 - Line: 912 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 2235 - Line: 912 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 2236 - Line: 912 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 2237 - Line: 912 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 2251 - Line: 912 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 2253 - Line: 912 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 2267 - Line: 912 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 2274 - Line: 912 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 2276 - Line: 912 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 2277 - Line: 912 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 2278 - Line: 912 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 2279 - Line: 912 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 2282 - Line: 912 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 2289 - Line: 912 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 2293 - Line: 912 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 2297 - Line: 912 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 2300 - Line: 912 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 2301 - Line: 912 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 2302 - Line: 912 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 2307 - Line: 912 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 2308 - Line: 912 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 743 - Line: 1643 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 1645 buildtree
/showthread.php 924 buildtree
Warning [2] Undefined array key 747 - Line: 1643 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 1645 buildtree
/showthread.php 924 buildtree
Warning [2] Undefined array key 750 - Line: 1643 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 1645 buildtree
/showthread.php 924 buildtree
Warning [2] Undefined array key 751 - Line: 1643 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 1645 buildtree
/showthread.php 924 buildtree
Warning [2] Undefined array key 756 - Line: 1643 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 1645 buildtree
/showthread.php 924 buildtree
Warning [2] Undefined array key 757 - Line: 1643 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 1645 buildtree
/showthread.php 924 buildtree
Warning [2] Undefined array key 2109 - Line: 1643 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 1645 buildtree
/showthread.php 924 buildtree
Warning [2] Undefined array key 2112 - Line: 1643 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 1645 buildtree
/showthread.php 924 buildtree
Warning [2] Undefined array key 2113 - Line: 1643 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 1645 buildtree
/showthread.php 924 buildtree
Warning [2] Undefined array key 2118 - Line: 1643 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 1645 buildtree
/showthread.php 924 buildtree
Warning [2] Undefined array key 2120 - Line: 1643 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 1645 buildtree
/showthread.php 924 buildtree
Warning [2] Undefined array key 2122 - Line: 1643 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 1645 buildtree
/showthread.php 924 buildtree
Warning [2] Undefined array key 2123 - Line: 1643 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 1645 buildtree
/showthread.php 924 buildtree
Warning [2] Undefined array key 2152 - Line: 1643 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 1645 buildtree
/showthread.php 924 buildtree
Warning [2] Undefined array key 2193 - Line: 1643 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 1645 buildtree
/showthread.php 924 buildtree
Warning [2] Undefined array key 2194 - Line: 1643 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 1645 buildtree
/showthread.php 924 buildtree
Warning [2] Undefined array key 2195 - Line: 1643 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 1645 buildtree
/showthread.php 924 buildtree
Warning [2] Undefined array key 2199 - Line: 1643 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 1645 buildtree
/showthread.php 924 buildtree
Warning [2] Undefined array key 2202 - Line: 1643 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 1645 buildtree
/showthread.php 924 buildtree
Warning [2] Undefined array key 2206 - Line: 1643 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 1645 buildtree
/showthread.php 924 buildtree
Warning [2] Undefined array key 2217 - Line: 1643 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 1645 buildtree
/showthread.php 924 buildtree
Warning [2] Undefined array key 2218 - Line: 1643 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 1645 buildtree
/showthread.php 924 buildtree
Warning [2] Undefined array key 2222 - Line: 1643 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 1645 buildtree
/showthread.php 924 buildtree
Warning [2] Undefined array key 2224 - Line: 1643 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 1645 buildtree
/showthread.php 924 buildtree
Warning [2] Undefined array key 2225 - Line: 1643 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 1645 buildtree
/showthread.php 924 buildtree
Warning [2] Undefined array key 2226 - Line: 1643 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 1645 buildtree
/showthread.php 924 buildtree
Warning [2] Undefined array key 2227 - Line: 1643 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 1645 buildtree
/showthread.php 924 buildtree
Warning [2] Undefined array key 2228 - Line: 1643 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 1645 buildtree
/showthread.php 924 buildtree
Warning [2] Undefined array key 2229 - Line: 1643 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 1645 buildtree
/showthread.php 924 buildtree
Warning [2] Undefined array key 2231 - Line: 1643 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 1645 buildtree
/showthread.php 924 buildtree
Warning [2] Undefined array key 2233 - Line: 1643 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 1645 buildtree
/showthread.php 924 buildtree
Warning [2] Undefined array key 2235 - Line: 1643 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 1645 buildtree
/showthread.php 924 buildtree
Warning [2] Undefined array key 2236 - Line: 1643 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 1645 buildtree
/showthread.php 924 buildtree
Warning [2] Undefined array key 2237 - Line: 1643 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 1645 buildtree
/showthread.php 924 buildtree
Warning [2] Undefined array key 2251 - Line: 1643 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 1645 buildtree
/showthread.php 924 buildtree
Warning [2] Undefined array key 2253 - Line: 1643 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 1645 buildtree
/showthread.php 924 buildtree
Warning [2] Undefined array key 2267 - Line: 1643 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 1645 buildtree
/showthread.php 924 buildtree
Warning [2] Undefined array key 2274 - Line: 1643 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 1645 buildtree
/showthread.php 924 buildtree
Warning [2] Undefined array key 2276 - Line: 1643 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 1645 buildtree
/showthread.php 924 buildtree
Warning [2] Undefined array key 2277 - Line: 1643 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 1645 buildtree
/showthread.php 924 buildtree
Warning [2] Undefined array key 2278 - Line: 1643 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 1645 buildtree
/showthread.php 924 buildtree
Warning [2] Undefined array key 2279 - Line: 1643 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 1645 buildtree
/showthread.php 924 buildtree
Warning [2] Undefined array key 2282 - Line: 1643 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 1645 buildtree
/showthread.php 924 buildtree
Warning [2] Undefined array key 2289 - Line: 1643 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 1645 buildtree
/showthread.php 924 buildtree
Warning [2] Undefined array key 2293 - Line: 1643 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 1645 buildtree
/showthread.php 924 buildtree
Warning [2] Undefined array key 2297 - Line: 1643 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 1645 buildtree
/showthread.php 924 buildtree
Warning [2] Undefined array key 2300 - Line: 1643 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 1645 buildtree
/showthread.php 924 buildtree
Warning [2] Undefined array key 2301 - Line: 1643 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 1645 buildtree
/showthread.php 924 buildtree
Warning [2] Undefined array key 2302 - Line: 1643 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 1645 buildtree
/showthread.php 924 buildtree
Warning [2] Undefined array key 2307 - Line: 1643 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 1645 buildtree
/showthread.php 924 buildtree
Warning [2] Undefined array key 2308 - Line: 1643 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 1645 buildtree
/showthread.php 924 buildtree
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(484) : eval()'d code PHP 8.1.17 (Linux)
File Line Function
/inc/functions_post.php(484) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 484 eval
/showthread.php 925 build_postbit
Warning [2] Undefined array key "showimages" - Line: 768 - File: inc/functions_post.php PHP 8.1.17 (Linux)
File Line Function
/inc/functions_post.php 768 errorHandler->error
/showthread.php 925 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 773 - File: inc/functions_post.php PHP 8.1.17 (Linux)
File Line Function
/inc/functions_post.php 773 errorHandler->error
/showthread.php 925 build_postbit
Warning [2] Undefined variable $nofollow - Line: 1 - File: inc/class_parser.php(1138) : eval()'d code PHP 8.1.17 (Linux)
File Line Function
/inc/class_parser.php(1138) : eval()'d code 1 errorHandler->error
/inc/class_parser.php 1138 eval
/inc/class_parser.php 1154 postParser->mycode_parse_url
[PHP]   postParser->mycode_parse_url_callback1
/inc/class_parser.php 491 preg_replace_callback
/inc/class_parser.php 201 postParser->parse_mycode
/inc/functions_post.php 785 postParser->parse_message
/showthread.php 925 build_postbit
Warning [2] Undefined array key "invisible" - Line: 1568 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 1568 errorHandler->error
Warning [2] Undefined variable $threadnotesbox - Line: 30 - File: showthread.php(1600) : eval()'d code PHP 8.1.17 (Linux)
File Line Function
/showthread.php(1600) : eval()'d code 30 errorHandler->error
/showthread.php 1600 eval
Warning [2] Undefined variable $multipage - Line: 32 - File: showthread.php(1600) : eval()'d code PHP 8.1.17 (Linux)
File Line Function
/showthread.php(1600) : eval()'d code 32 errorHandler->error
/showthread.php 1600 eval
Warning [2] Undefined variable $addremovesubscription - Line: 55 - File: showthread.php(1600) : eval()'d code PHP 8.1.17 (Linux)
File Line Function
/showthread.php(1600) : eval()'d code 55 errorHandler->error
/showthread.php 1600 eval
Warning [2] Undefined variable $multipage - Line: 76 - File: showthread.php(1600) : eval()'d code PHP 8.1.17 (Linux)
File Line Function
/showthread.php(1600) : eval()'d code 76 errorHandler->error
/showthread.php 1600 eval



Hello There, Guest! Login Register
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Telegram Push notifications

#1
Hi,

In another project I use Telegram to receive push notifications on my phone so I thought it would be nice to have the same in NEMS.
It is actually quite simple to set this up.

For those interested, here are the steps:

1) Get a Telegram account (it is free!): https://telegram.org/
After setting up your account you will have a bot and a chat id.

2) install lua-sec (this will also install lua-socket):


Code:
sudo apt-get install lua-sec


3) Install the following script in /usr/local/bin:
Name the script 'telegram_nems.lua'
This is a simple lua script I wrote just to get this working, so it is really minimal without error checking etc...


Code:
#!/usr/bin/lua
https = require('ssl.https')
local telegram_url = 'https://api.telegram.org/<your bot>/sendMessage?'
local chat_id = '<your chat id>'

     Notification = "Notification Type: " .. arg[1] ..'\n'    --$NOTIFICATIONTYPE$
     Host = "Host: " .. arg[2] ..'\n'                         --$HOSTNAME$
     State = "State: " .. arg[3] ..'\n'                       --$HOSTSTATE$/$SERVICESTATE$
     Address = "Address: " .. arg[4] ..'\n'                   --$HOSTADDRESS$
     Info = "Info: "  .. arg[5] ..'\n'                        --$HOSTOUTPUT$/"$SERVICEOUTPUT$"
     Date_Time = "Date/Time: " .. arg[6] ..'\n'               --$LONGDATETIME$
   if (#arg == 6) then
     message = '***** Nagios ***** ' ..'\n' ..'\n' .. Notification .. Host ..State .. Address .. Info .. Date_Time
   else
     Service = "Service: " .. arg[7] .. '\n'                  --$SERVICEDESC$
     message = '***** Nagios ***** ' ..'\n' ..'\n' .. Notification .. Host  .. Service ..State .. Address .. Info .. Date_Time
   end

local data_str = 'chat_id=' .. chat_id .. '&text=' .. message..''  
local res, code, headers, status = https.request(telegram_url, data_str)

4) In NConf, add the following to Misccommands:

Code:
command_name                          notify-host-by-telegram
command_line                          /usr/local/bin/telegram_nems.lua "$NOTIFICATIONTYPE$" "$HOSTNAME$" "$HOSTSTATE$" "$HOSTADDRESS$" "$HOSTOUTPUT$" "$LONGDATETIME$"


Code:
command_name                          notify-service-by-telegram
command_line                          /usr/local/bin/telegram_nems.lua "$NOTIFICATIONTYPE$" "$HOSTNAME$" "$SERVICESTATE$" "$HOSTADDRESS$" "$SERVICEOUTPUT$" "$LONGDATETIME$" "$SERVICEDESC$"

As usual: use at your own risk!
 
Messages In This Thread
Telegram Push notifications - by baggins - 10-20-2017, 12:37 PM
RE: Telegram Push notifications - by Robbie Ferguson - 10-20-2017, 02:00 PM
RE: Telegram Push notifications - by baggins - 10-20-2017, 04:24 PM
RE: Telegram Push notifications - by Robbie Ferguson - 10-23-2017, 06:48 AM
RE: Telegram Push notifications - by Robbie Ferguson - 10-23-2017, 10:43 AM
RE: Telegram Push notifications - by Robbie Ferguson - 10-25-2017, 09:39 AM
RE: Telegram Push notifications - by Robbie Ferguson - 10-25-2017, 10:31 AM
RE: Telegram Push notifications - by Kaganishu - 10-26-2018, 11:34 AM
RE: Telegram Push notifications - by Robbie Ferguson - 10-26-2018, 08:53 PM
RE: Telegram Push notifications - by Kaganishu - 10-27-2018, 03:42 AM
RE: Telegram Push notifications - by Robbie Ferguson - 10-29-2018, 09:08 AM
RE: Telegram Push notifications - by Kaganishu - 10-29-2018, 10:49 AM
RE: Telegram Push notifications - by Robbie Ferguson - 10-29-2018, 02:38 PM
RE: Telegram Push notifications - by Kaganishu - 10-30-2018, 04:09 AM
RE: Telegram Push notifications - by Robbie Ferguson - 11-08-2018, 11:33 AM
RE: Telegram Push notifications - by baggins - 11-25-2018, 05:47 AM
RE: Telegram Push notifications - by Kaganishu - 11-25-2018, 09:29 AM
RE: Telegram Push notifications - by baggins - 11-25-2018, 09:58 AM
RE: Telegram Push notifications - by Robbie Ferguson - 11-26-2018, 11:05 AM
RE: Telegram Push notifications - by baggins - 11-27-2018, 05:13 AM
RE: Telegram Push notifications - by Robbie Ferguson - 11-27-2018, 10:00 AM
RE: Telegram Push notifications - by baggins - 11-28-2018, 09:50 AM
RE: Telegram Push notifications - by baggins - 11-28-2018, 11:02 AM
RE: Telegram Push notifications - by Robbie Ferguson - 11-28-2018, 11:52 AM
RE: Telegram Push notifications - by Robbie Ferguson - 11-28-2018, 12:45 PM
RE: Telegram Push notifications - by baggins - 11-28-2018, 12:50 PM
RE: Telegram Push notifications - by Robbie Ferguson - 11-28-2018, 01:41 PM
RE: Telegram Push notifications - by Robbie Ferguson - 11-28-2018, 02:05 PM
RE: Telegram Push notifications - by baggins - 11-28-2018, 02:39 PM
RE: Telegram Push notifications - by Robbie Ferguson - 11-28-2018, 02:56 PM
RE: Telegram Push notifications - by baggins - 11-28-2018, 07:16 PM
RE: Telegram Push notifications - by Robbie Ferguson - 11-29-2018, 11:38 AM
RE: Telegram Push notifications - by Robbie Ferguson - 11-29-2018, 12:20 PM
RE: Telegram Push notifications - by baggins - 11-29-2018, 12:30 PM
RE: Telegram Push notifications - by Robbie Ferguson - 11-29-2018, 01:32 PM
RE: Telegram Push notifications - by baggins - 12-02-2018, 11:21 AM
RE: Telegram Push notifications - by Robbie Ferguson - 12-02-2018, 01:04 PM
RE: Telegram Push notifications - by baggins - 12-06-2018, 05:21 AM
RE: Telegram Push notifications - by Robbie Ferguson - 12-11-2018, 11:22 AM
RE: Telegram Push notifications - by baggins - 12-11-2018, 11:53 AM
RE: Telegram Push notifications - by Robbie Ferguson - 12-11-2018, 12:09 PM
RE: Telegram Push notifications - by baggins - 12-11-2018, 12:24 PM
RE: Telegram Push notifications - by Robbie Ferguson - 12-11-2018, 02:29 PM
RE: Telegram Push notifications - by baggins - 12-11-2018, 06:14 PM
RE: Telegram Push notifications - by Robbie Ferguson - 12-16-2018, 04:09 PM
RE: Telegram Push notifications - by baggins - 12-16-2018, 05:58 PM
RE: Telegram Push notifications - by Robbie Ferguson - 12-16-2018, 09:24 PM
RE: Telegram Push notifications - by baggins - 12-17-2018, 04:45 AM
RE: Telegram Push notifications - by Robbie Ferguson - 12-17-2018, 11:01 AM
RE: Telegram Push notifications - by Robbie Ferguson - 12-17-2018, 11:12 AM
RE: Telegram Push notifications - by baggins - 12-17-2018, 12:43 PM
RE: Telegram Push notifications - by Robbie Ferguson - 12-17-2018, 12:57 PM
 
Forum Jump:

Users browsing this thread: 3 Guest(s)