View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
5147 | Composr alpha bug reports | General / Uncategorised | public | 2022-12-15 04:44 | 2022-12-16 17:02 |
Reporter | PDStig | Assigned To | Chris Graham | ||
Priority | normal | Severity | minor | ||
Status | resolved | Resolution | fixed | ||
Summary | 5147: Possible core site loading issue with hack attack handling | ||||
Description | Composr may be bailing out too soon when a hack attack is detected. This results in several different potential errors. Here are the ones I've seen so far: * PHP Fatal error: Uncaught Error: Call to undefined function multi_lang_content() in /home/patricks/git/composr/sources/config.php:34 * PHP Fatal error: Uncaught Error: Class 'Tempcode' not found in /home/patricks/git/composr/sources/site.php:144 * PHP Fatal error: Uncaught Error: Call to undefined function get_self_url_easy() in /home/patricks/git/composr/sources/database.php:2141 | ||||
Tags | No tags attached. | ||||
Attach Tags | |||||
Sponsorship open | |||||
|
[15-Dec-2022 22:47:48 UTC] PHP Fatal error: Uncaught Error: Call to undefined function multi_lang_content() in /home/patricks/git/composr/sources/config.php:34 Stack trace: #0 /home/patricks/git/composr/sources/global.php(255): init__config() #1 /home/patricks/git/composr/sources/site.php(42): require_code('config') 2 /home/patricks/git/composr/sources/global.php(255): init__site() 3 /home/patricks/git/composr/sources/failure.php(621): require_code('site') 4 /home/patricks/git/composr/sources/global2.php(1569): _log_hack_attack_and_exit('DODGY_GET_HACK', 'page', '<xsl:value-of s...') 5 /home/patricks/git/composr/sources/input_filter.php(56): log_hack_attack_and_exit('DODGY_GET_HACK', 'page', '<xsl:value-of s...') 6 /home/patricks/git/composr/sources/global2.php(2067): check_input_field_string('page', '<xsl:value-of s...', false, 4000) 7 /home/patricks/git/composr/sources/caches.php(88): get_param_string('page', '') 8 /home/patricks/git/composr/sources/global.php(255): init__caches() 9 /home/patricks/git/composr/sources/global2.php(356): require in /home/patricks/git/composr/sources/config.php on line 34 --- [15-Dec-2022 00:12:31 UTC] PHP Fatal error: Uncaught Error: Class 'Tempcode' not found in /home/patricks/git/composr/sources/site.php:144 Stack trace: #0 /home/patricks/git/composr/sources/failure.php(622): attach_to_screen_header('<meta name="rob...') #1 /home/patricks/git/composr/sources/global2.php(1569): _log_hack_attack_and_exit('SCRIPT_URL_HACK...', 'javascript:aler...', '') 2 /home/patricks/git/composr/sources/input_filter.php(49): log_hack_attack_and_exit('SCRIPT_URL_HACK...', 'javascript:aler...') 3 /home/patricks/git/composr/sources/global2.php(2067): check_input_field_string('type', 'javascript:aler...', false, 3744) 4 /home/patricks/git/composr/sources/site.php(774): get_param_string('type', NULL, 3744) 5 /home/patricks/git/composr/sources/site.php(598): process_url_monikers() 6 /home/patricks/git/composr/sources/site.php(114): do_site_prep() 7 /home/patricks/git/composr/sources/global.php(255): init__site() 8 /home/patricks/git/composr/sources/failure.php(621): require_code('site') 9 /home/patricks/git/composr/sources/global2.php(1 in /home/patricks/git/composr/sources/site.php on line 144 --- 14-Dec-2022 23:54:57 UTC] PHP Fatal error: Uncaught Error: Call to undefined function get_self_url_easy() in /home/patricks/git/composr/sources/database.php:2141 Stack trace: #0 /home/patricks/git/composr/sources/database.php(1804): DatabaseConnector->_query('SELECT SUM(perc...', 1, 0, false, false, Array, '') #1 /home/patricks/git/composr/sources/database.php(1698): DatabaseConnector->query_select('hackattack', Array, Array, '', 1, 0, false, Array) 2 /home/patricks/git/composr/sources/failure.php(653): DatabaseConnector->query_select_value('hackattack', 'SUM(percentage_...', Array) 3 /home/patricks/git/composr/sources/global2.php(1569): _log_hack_attack_and_exit('SCRIPT_URL_HACK...', 'javascript:aler...', '') 4 /home/patricks/git/composr/sources/input_filter.php(49): log_hack_attack_and_exit('SCRIPT_URL_HACK...', 'javascript:aler...') 5 /home/patricks/git/composr/sources/global2.php(2067): check_input_field_string('keep_su', 'javascript:aler...', false, 4000) 6 /home/patricks/git/composr/sources/global.php(336) : eval()'d code(124): get_param_st in /home/patricks/git/composr/sources/database.php on line 2141 |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-12-15 04:44 | PDStig | New Issue | |
2022-12-15 21:27 | PDStig | Assigned To | => Chris Graham |
2022-12-15 21:27 | PDStig | Status | Not Assigned => Assigned |
2022-12-16 16:42 | PDStig | Note Added: 0007796 | |
2022-12-16 17:01 | Chris Graham | Status | Assigned => Resolved |
2022-12-16 17:01 | Chris Graham | Resolution | open => fixed |
2023-02-26 18:29 | Chris Graham | Category | General => General / Uncategorised |