#2225 - Composr 10b2: Undefined index: IP_BANNED

  • By
  • Added
  • 7 views
Identifier #2225
Issue type Minor issue (breaks specific functionality)
Title Composr 10b2: Undefined index: IP_BANNED
Status Completed
Handling member Chris Graham
Addon actionlog
Description When clicking on a "log" link from within the list of comcode page revisions, I get the following action log error:

PHP NOTICE [8] Undefined index: IP_BANNED in adminzone/pages/modules/admin_actionlog.php on line 447 (version: 10 beta2, PHP version: 5.4.45, URL: /adminzone/pg/admin-actionlog/view/712/index.php?mode=cms)

Here is the stack trace:

Below is a stack trace revealing the state Composr was in when the error occurred. If this represents a bug in the unmodified software, you may want to check Composr website for a fix, and if there isn't one, report this as a bug. Please note that merely posting a stack trace is not sufficient for us to solve your problem; the stack trace is just an aid that presents us with additional information. We still need to know the error message, what you tried to do, how you tried to do it, version numbers, and any other appropriate information.
We apologise for this problem and if it's a bug we hope you will work with us so that we can fix it for you promptly.

File '/home/admin/web/lovinity.org/public_html/sources/failure.php'
Line 971
Function 'get_html_trace'
Args
File '/home/admin/web/lovinity.org/public_html/sources/global2.php'
Line 903
Function '_fatal_exit'
Args
'PHP NOTICE [8] Undefined index: IP_BANNED in adminzone/pages/modules/admin_actionlog.php on line 447'
File '/home/admin/web/lovinity.org/public_html/sources/failure.php'
Line 274
Function 'fatal_exit'
Args
'PHP NOTICE [8] Undefined index: IP_BANNED in adminzone/pages/modules/admin_actionlog.php on line 447'
File '/home/admin/web/lovinity.org/public_html/sources/global2.php'
Line 774
Function '_composr_error_handler'
Args
'notice'

8

'Undefined index: IP_BANNED'

'adminzone/pages/modules/admin_actionlog.php'

447

5
File '/home/admin/web/lovinity.org/public_html/adminzone/pages/modules/admin_actionlog.php'
Line 447
Function 'composr_error_handler'
Args
8

'Undefined index: IP_BANNED'

'/home/admin/web/lovinity.org/public_html/adminzone/pages/modules/admin_actionlog.php'

447

array
File '/home/admin/web/lovinity.org/public_html/adminzone/pages/modules/admin_actionlog.php'
Line 117
Function 'view_action'
Class 'Module_admin_actionlog'
Object O:22:"Module_admin_actionlog":1:{s:5:"title";O:8:"Tempcode":5:{s:18:"code_to_preexecute";a:4:{s:33:"tcpfunc_56d08618dba1b3.72899746_1";s:683:"$tpl_funcs['tcpfunc_56d08618dba1b3.72899746_1']=$KEEP_TPL_FUNCS['tcpfunc_56d08618dba1b3.72899746_1']=recall_named_function('56d08618dba2c8.14459051','$parameters,$cl',"extract(\$parameters,EXTR_PREFIX_ALL,'bound'); echo (isset(\$bound_ID)?(\"\\n<a id=\\\"title__\".(empty(\$bound_ID->pure_lang)?htmlspecialchars(otp(isset(\$bound_ID)?\$bound_ID:null,\"ID/SCREEN_TITLE\"),ENT_QUOTES | ENT_SUBSTITUTE,get_charset()):otp(isset(\$bound_ID)?\$bound_ID:null,\"ID/SCREEN_TITLE\")).\"\\\"></a>\\n\"):''),\n \"\\n\\n<h1 class=\\\"screen_title\\\"\",\n ((ecv_NOT(\$cl,array(),array(ecv_GET(\$cl,array(),array(\"name_set_elsewhere\"))))==\"1\")?(\" itemprop=\\\"name\\\"\"):''),\n \">\\n \";");";s:33:"tcpfunc_56d08618dba3f4.17215879_2";s:306:"$tpl_funcs['tcpfunc_56d08618dba3f4.17215879_2']=$KEEP_TPL_FUNCS['tcpfunc_56d08618dba3f4.17215879_2']=recall_named_function('56d08618dba488.99380341','$parameters,$cl',"extract(\$parameters,EXTR_PREFIX_ALL,'bound'); echo otp(isset(\$bound_TITLE)?\$bound_TITLE:null,\"TITLE/SCREEN_TITLE\"),\n \"\\n\\n \";");";s:33:"tcpfunc_56d08618dba540.59262290_3";s:1998:"$tpl_funcs['tcpfunc_56d08618dba540.59262290_3']=$KEEP_TPL_FUNCS['tcpfunc_56d08618dba540.59262290_3']=recall_named_function('56d08618dba5d2.82066824','$parameters,$cl',"extract(\$parameters,EXTR_PREFIX_ALL,'bound'); echo (isset(\$bound_AWARDS)?(\"\\n \".((otp(isset(\$bound_AWARDS)?\$bound_AWARDS:null,\"AWARDS/SCREEN_TITLE\")!='')?(\"\\n \".ecv(\$cl,array(),4,\"SET\",array(\"AWARDS_TEXT\",\"\\n <h2>\".\"Award winner\".\"</h2>\\n <p class=\\\"lonely_label\\\">\".ecv(\$cl,array(),2,\"AWARDS_WON\",array(otp(isset(\$bound_AWARDS)?\$bound_AWARDS:null,\"AWARDS/SCREEN_TITLE\"))).\"

\\n <ul>\\n \".closure_loop(array(\"AWARDS\",'vars'=>\$parameters),array(\$parameters,\$cl),\nrecall_named_function('56d08618db5a33.51455593','\$parameters,\$cl',\"extract(\\\$parameters,EXTR_PREFIX_ALL,'bound'); return \\\"\\\\n <li>\\\\n <strong>\\\".(empty(\\\$bound_AWARD_TYPE->pure_lang)?htmlspecialchars(otp(isset(\\\$bound_AWARD_TYPE)?\\\$bound_AWARD_TYPE:null,\\\"AWARD_TYPE/SCREEN_TITLE\\\"),ENT_QUOTES | ENT_SUBSTITUTE,get_charset()):otp(isset(\\\$bound_AWARD_TYPE)?\\\$bound_AWARD_TYPE:null,\\\"AWARD_TYPE/SCREEN_TITLE\\\")).\\\"</strong>\\\\n <span>\\\".ecv(\\\$cl,array(),2,\\\"AWARD_ON\\\",array(ecv_DATE(\\\$cl,array(1),array(\\\"1\\\",\\\"1\\\",\\\"1\\\",otp(isset(\\\$bound_AWARD_TIMESTAMP)?\\\$bound_AWARD_TIMESTAMP:null,\\\"AWARD_TIMESTAMP/SCREEN_TITLE\\\"))))).\\\"</span>\\\\n </li>\\\\n \\\";\")).\"\\n </ul>\\n \")).\"\\n <a href=\\\"\".ecv_PAGE_LINK(\$cl,array(1),array(\"_SEARCH:awards\")).\"\\\"><img onmouseover=\\\"if (typeof window.activate_tooltip!='undefined') activate_tooltip(this\".\",\".\"event\".\",\".\"'\".ecv_GET(\$cl,array(2,8,1),array(\"AWARDS_TEXT\")).\"'\".\",\".\"'auto'\".\",\".\"null\".\",\".\"null\".\",\".\"false\".\",\".\"true);\\\" title=\\\"\\\" alt=\\\"\".\"Award winner\".\"\\\" src=\\\"\".ecv_IMG(\$cl,array(1),array(\"awarded\",\"0\",\"admin\")).\"\\\" /></a>\\n \"):'').\"\\n \"):''),\n \"\\n</h1>\\n\\n\";");";s:33:"tcpfunc_56d08618dba957.75009816_4";s:387:"$tpl_funcs['tcpfunc_56d08618dba957.75009816_4']=$KEEP_TPL_FUNCS['tcpfunc_56d08618dba957.75009816_4']=recall_named_function('56d08618dbaa15.41819147','$parameters,$cl',"extract(\$parameters,EXTR_PREFIX_ALL,'bound'); echo (isset(\$bound_SUB)?(\"\\n <div class=\\\"title_tagline\\\">\\n \".otp(isset(\$bound_SUB)?\$bound_SUB:null,\"SUB/SCREEN_TITLE\").\"\\n </div>\\n\"):''),\n \"\\n\";");";}s:9:"seq_parts";a:1:{i:0;a:4:{i:0;a:5:{i:0;s:33:"tcpfunc_56d08618dba1b3.72899746_1";i:1;a:3:{s:5:"_GUID";s:32:"847ffbe4823eca6d2d5eac42828ee552";s:6:"AWARDS";a:0:{}s:5:"TITLE";O:8:"Tempcode":5:{s:18:"code_to_preexecute";a:1:{s:39:"do_runtime_56d123ec4a68e3.03764726_1493";s:111:"$tpl_funcs['do_runtime_56d123ec4a68e3.03764726_1493']="echo ecv(\$cl,array(),2,\"VIEW_ACTIONLOGS\",array());"; ";}s:9:"seq_parts";a:1:{i:0;a:1:{i:0;a:5:{i:0;s:39:"do_runtime_56d123ec4a68e3.03764726_1493";i:1;a:0:{}i:2;i:2;i:3;s:15:"VIEW_ACTIONLOGS";i:4;s:0:"";}}}s:19:"preprocessable_bits";a:0:{}s:9:"pure_lang";b:1;s:8:"codename";s:10:":container";}}i:2;i:1;i:3;s:0:"";i:4;s:0:"";}i:1;a:5:{i:0;s:33:"tcpfunc_56d08618dba3f4.17215879_2";i:1;R:12;i:2;i:1;i:3;s:0:"";i:4;s:0:"";}i:2;a:5:{i:0;s:33:"tcpfunc_56d08618dba540.59262290_3";i:1;R:12;i:2;i:1;i:3;s:0:"";i:4;s:0:"";}i:3;a:5:{i:0;s:33:"tcpfunc_56d08618dba957.75009816_4";i:1;R:12;i:2;i:1;i:3;s:0:"";i:4;s:0:"";}}}s:19:"preprocessable_bits";a:0:{}s:9:"pure_lang";N;s:8:"codename";s:12:"SCREEN_TITLE";}}
Type '->'
Args
File '/home/admin/web/lovinity.org/public_html/sources/zones.php'
Line 782
Function 'run'
Class 'Module_admin_actionlog'
Object O:22:"Module_admin_actionlog":1:{s:5:"title";O:8:"Tempcode":5:{s:18:"code_to_preexecute";a:4:{s:33:"tcpfunc_56d08618dba1b3.72899746_1";s:683:"$tpl_funcs['tcpfunc_56d08618dba1b3.72899746_1']=$KEEP_TPL_FUNCS['tcpfunc_56d08618dba1b3.72899746_1']=recall_named_function('56d08618dba2c8.14459051','$parameters,$cl',"extract(\$parameters,EXTR_PREFIX_ALL,'bound'); echo (isset(\$bound_ID)?(\"\\n<a id=\\\"title__\".(empty(\$bound_ID->pure_lang)?htmlspecialchars(otp(isset(\$bound_ID)?\$bound_ID:null,\"ID/SCREEN_TITLE\"),ENT_QUOTES | ENT_SUBSTITUTE,get_charset()):otp(isset(\$bound_ID)?\$bound_ID:null,\"ID/SCREEN_TITLE\")).\"\\\"></a>\\n\"):''),\n \"\\n\\n<h1 class=\\\"screen_title\\\"\",\n ((ecv_NOT(\$cl,array(),array(ecv_GET(\$cl,array(),array(\"name_set_elsewhere\"))))==\"1\")?(\" itemprop=\\\"name\\\"\"):''),\n \">\\n \";");";s:33:"tcpfunc_56d08618dba3f4.17215879_2";s:306:"$tpl_funcs['tcpfunc_56d08618dba3f4.17215879_2']=$KEEP_TPL_FUNCS['tcpfunc_56d08618dba3f4.17215879_2']=recall_named_function('56d08618dba488.99380341','$parameters,$cl',"extract(\$parameters,EXTR_PREFIX_ALL,'bound'); echo otp(isset(\$bound_TITLE)?\$bound_TITLE:null,\"TITLE/SCREEN_TITLE\"),\n \"\\n\\n \";");";s:33:"tcpfunc_56d08618dba540.59262290_3";s:1998:"$tpl_funcs['tcpfunc_56d08618dba540.59262290_3']=$KEEP_TPL_FUNCS['tcpfunc_56d08618dba540.59262290_3']=recall_named_function('56d08618dba5d2.82066824','$parameters,$cl',"extract(\$parameters,EXTR_PREFIX_ALL,'bound'); echo (isset(\$bound_AWARDS)?(\"\\n \".((otp(isset(\$bound_AWARDS)?\$bound_AWARDS:null,\"AWARDS/SCREEN_TITLE\")!='')?(\"\\n \".ecv(\$cl,array(),4,\"SET\",array(\"AWARDS_TEXT\",\"\\n <h2>\".\"Award winner\".\"</h2>\\n <p class=\\\"lonely_label\\\">\".ecv(\$cl,array(),2,\"AWARDS_WON\",array(otp(isset(\$bound_AWARDS)?\$bound_AWARDS:null,\"AWARDS/SCREEN_TITLE\"))).\"

\\n <ul>\\n \".closure_loop(array(\"AWARDS\",'vars'=>\$parameters),array(\$parameters,\$cl),\nrecall_named_function('56d08618db5a33.51455593','\$parameters,\$cl',\"extract(\\\$parameters,EXTR_PREFIX_ALL,'bound'); return \\\"\\\\n <li>\\\\n <strong>\\\".(empty(\\\$bound_AWARD_TYPE->pure_lang)?htmlspecialchars(otp(isset(\\\$bound_AWARD_TYPE)?\\\$bound_AWARD_TYPE:null,\\\"AWARD_TYPE/SCREEN_TITLE\\\"),ENT_QUOTES | ENT_SUBSTITUTE,get_charset()):otp(isset(\\\$bound_AWARD_TYPE)?\\\$bound_AWARD_TYPE:null,\\\"AWARD_TYPE/SCREEN_TITLE\\\")).\\\"</strong>\\\\n <span>\\\".ecv(\\\$cl,array(),2,\\\"AWARD_ON\\\",array(ecv_DATE(\\\$cl,array(1),array(\\\"1\\\",\\\"1\\\",\\\"1\\\",otp(isset(\\\$bound_AWARD_TIMESTAMP)?\\\$bound_AWARD_TIMESTAMP:null,\\\"AWARD_TIMESTAMP/SCREEN_TITLE\\\"))))).\\\"</span>\\\\n </li>\\\\n \\\";\")).\"\\n </ul>\\n \")).\"\\n <a href=\\\"\".ecv_PAGE_LINK(\$cl,array(1),array(\"_SEARCH:awards\")).\"\\\"><img onmouseover=\\\"if (typeof window.activate_tooltip!='undefined') activate_tooltip(this\".\",\".\"event\".\",\".\"'\".ecv_GET(\$cl,array(2,8,1),array(\"AWARDS_TEXT\")).\"'\".\",\".\"'auto'\".\",\".\"null\".\",\".\"null\".\",\".\"false\".\",\".\"true);\\\" title=\\\"\\\" alt=\\\"\".\"Award winner\".\"\\\" src=\\\"\".ecv_IMG(\$cl,array(1),array(\"awarded\",\"0\",\"admin\")).\"\\\" /></a>\\n \"):'').\"\\n \"):''),\n \"\\n</h1>\\n\\n\";");";s:33:"tcpfunc_56d08618dba957.75009816_4";s:387:"$tpl_funcs['tcpfunc_56d08618dba957.75009816_4']=$KEEP_TPL_FUNCS['tcpfunc_56d08618dba957.75009816_4']=recall_named_function('56d08618dbaa15.41819147','$parameters,$cl',"extract(\$parameters,EXTR_PREFIX_ALL,'bound'); echo (isset(\$bound_SUB)?(\"\\n <div class=\\\"title_tagline\\\">\\n \".otp(isset(\$bound_SUB)?\$bound_SUB:null,\"SUB/SCREEN_TITLE\").\"\\n </div>\\n\"):''),\n \"\\n\";");";}s:9:"seq_parts";a:1:{i:0;a:4:{i:0;a:5:{i:0;s:33:"tcpfunc_56d08618dba1b3.72899746_1";i:1;a:3:{s:5:"_GUID";s:32:"847ffbe4823eca6d2d5eac42828ee552";s:6:"AWARDS";a:0:{}s:5:"TITLE";O:8:"Tempcode":5:{s:18:"code_to_preexecute";a:1:{s:39:"do_runtime_56d123ec4a68e3.03764726_1493";s:111:"$tpl_funcs['do_runtime_56d123ec4a68e3.03764726_1493']="echo ecv(\$cl,array(),2,\"VIEW_ACTIONLOGS\",array());"; ";}s:9:"seq_parts";a:1:{i:0;a:1:{i:0;a:5:{i:0;s:39:"do_runtime_56d123ec4a68e3.03764726_1493";i:1;a:0:{}i:2;i:2;i:3;s:15:"VIEW_ACTIONLOGS";i:4;s:0:"";}}}s:19:"preprocessable_bits";a:0:{}s:9:"pure_lang";b:1;s:8:"codename";s:10:":container";}}i:2;i:1;i:3;s:0:"";i:4;s:0:"";}i:1;a:5:{i:0;s:33:"tcpfunc_56d08618dba3f4.17215879_2";i:1;R:12;i:2;i:1;i:3;s:0:"";i:4;s:0:"";}i:2;a:5:{i:0;s:33:"tcpfunc_56d08618dba540.59262290_3";i:1;R:12;i:2;i:1;i:3;s:0:"";i:4;s:0:"";}i:3;a:5:{i:0;s:33:"tcpfunc_56d08618dba957.75009816_4";i:1;R:12;i:2;i:1;i:3;s:0:"";i:4;s:0:"";}}}s:19:"preprocessable_bits";a:0:{}s:9:"pure_lang";N;s:8:"codename";s:12:"SCREEN_TITLE";}}
Type '->'
Args
File '/home/admin/web/lovinity.org/public_html/sources/site.php'
Line 1,152
Function 'load_module_page'
Args
'adminzone/pages/modules/admin_actionlog.php'

'admin_actionlog'

Tempcode -> ...
File '/home/admin/web/lovinity.org/public_html/sources/site.php'
Line 855
Function 'request_page'
Args
'admin_actionlog'

true

NULL

NULL

false

false

Tempcode -> ...
File '/home/admin/web/lovinity.org/public_html/adminzone/index.php'
Line 54
Function 'do_site'
Args
Steps to reproduce

1. Edit a comcode page and save.

2. Go back to the edit screen for that same comcode page.

3. Click the "log" link for the revision item.

4. This error is thrown.

Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated