View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
2181 | Composr | stats | public | 2016-02-10 03:43 | 2016-02-10 03:44 |
Reporter | PDStig | Assigned To | Chris Graham | ||
Priority | normal | Severity | minor | ||
Status | resolved | Resolution | fixed | ||
Summary | 2181: Composr 10b1: Banner statistics page results in undefined constant BANNER_PERMANENT error | ||||
Description | PHP NOTICE [8] Use of undefined constant BANNER_PERMANENT - assumed 'BANNER_PERMANENT' in adminzone/pages/modules/admin_banners.php on line 143 (version: 10 beta1, PHP version: 5.4.45, URL: /adminzone/index.php?page=admin-banners) 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 967 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] Use of undefined constant BANNER_PERMANENT - assumed 'BANNER_PERMANENT' in adminzone/pages/modules/admin_banners.php on line 143' File '/home/admin/web/lovinity.org/public_html/sources/failure.php' Line 271 Function 'fatal_exit' Args 'PHP NOTICE [8] Use of undefined constant BANNER_PERMANENT - assumed 'BANNER_PERMANENT' in adminzone/pages/modules/admin_banners.php on line 143' File '/home/admin/web/lovinity.org/public_html/sources/global2.php' Line 774 Function '_composr_error_handler' Args 'notice' 8 'Use of undefined constant BANNER_PERMANENT - assumed 'BANNER_PERMANENT'' 'adminzone/pages/modules/admin_banners.php' 143 5 File '/home/admin/web/lovinity.org/public_html/adminzone/pages/modules/admin_banners.php' Line 143 Function 'composr_error_handler' Args 8 'Use of undefined constant BANNER_PERMANENT - assumed 'BANNER_PERMANENT'' '/home/admin/web/lovinity.org/public_html/adminzone/pages/modules/admin_banners.php' 143 array File '/home/admin/web/lovinity.org/public_html/adminzone/pages/modules/admin_banners.php' Line 94 Function 'banner_statistics' Class 'Module_admin_banners' Object O:20:"Module_admin_banners":1:{s:5:"title";O:8:"Tempcode":5:{s:18:"code_to_preexecute";a:4:{s:33:"tcpfunc_56bab074d53876.86432562_1";s:666:"$tpl_funcs['tcpfunc_56bab074d53876.86432562_1']=$KEEP_TPL_FUNCS['tcpfunc_56bab074d53876.86432562_1']=recall_named_function('56bab074d53961.80909588','$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,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_56bab074d53a70.46755530_2";s:306:"$tpl_funcs['tcpfunc_56bab074d53a70.46755530_2']=$KEEP_TPL_FUNCS['tcpfunc_56bab074d53a70.46755530_2']=recall_named_function('56bab074d53c56.53642797','$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_56bab074d53d39.18881499_3";s:1981:"$tpl_funcs['tcpfunc_56bab074d53d39.18881499_3']=$KEEP_TPL_FUNCS['tcpfunc_56bab074d53d39.18881499_3']=recall_named_function('56bab074d53dc6.58365327','$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
Type '->' Args File '/home/admin/web/lovinity.org/public_html/sources/zones.php' Line 780 Function 'run' Class 'Module_admin_banners' Object O:20:"Module_admin_banners":1:{s:5:"title";O:8:"Tempcode":5:{s:18:"code_to_preexecute";a:4:{s:33:"tcpfunc_56bab074d53876.86432562_1";s:666:"$tpl_funcs['tcpfunc_56bab074d53876.86432562_1']=$KEEP_TPL_FUNCS['tcpfunc_56bab074d53876.86432562_1']=recall_named_function('56bab074d53961.80909588','$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,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_56bab074d53a70.46755530_2";s:306:"$tpl_funcs['tcpfunc_56bab074d53a70.46755530_2']=$KEEP_TPL_FUNCS['tcpfunc_56bab074d53a70.46755530_2']=recall_named_function('56bab074d53c56.53642797','$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_56bab074d53d39.18881499_3";s:1981:"$tpl_funcs['tcpfunc_56bab074d53d39.18881499_3']=$KEEP_TPL_FUNCS['tcpfunc_56bab074d53d39.18881499_3']=recall_named_function('56bab074d53dc6.58365327','$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
Type '->' Args File '/home/admin/web/lovinity.org/public_html/sources/site.php' Line 1,151 Function 'load_module_page' Args 'adminzone/pages/modules/admin_banners.php' 'admin_banners' Tempcode -> ... File '/home/admin/web/lovinity.org/public_html/sources/site.php' Line 855 Function 'request_page' Args 'admin_banners' 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. Access the banner statistics from the audit section of the admin zone 2. Error is thrown. | ||||
Tags | No tags attached. | ||||
Attach Tags | |||||
Time estimation (hours) | |||||
Sponsorship open | |||||