View Issue Details

IDProjectCategoryView StatusLast Update
0005147Composr alpha bug reports[All Projects] General / Uncategorisedpublic2022-12-16 17:02
ReporterPatrick SchmalstigAssigned ToChris Graham 
SeverityMinor-bug 
Status resolvedResolutionfixed 
Summary0005147: Possible core site loading issue with hack attack handling
DescriptionComposr 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
TagsNo tags attached.
Sponsorship open

Activities

Patrick Schmalstig

2022-12-16 16:42

administrator   ~0007796

[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')
0000002 /home/patricks/git/composr/sources/global.php(255): init__site()
0000003 /home/patricks/git/composr/sources/failure.php(621): require_code('site')
0000004 /home/patricks/git/composr/sources/global2.php(1569): _log_hack_attack_and_exit('DODGY_GET_HACK', 'page', '<xsl:value-of s...')
0000005 /home/patricks/git/composr/sources/input_filter.php(56): log_hack_attack_and_exit('DODGY_GET_HACK', 'page', '<xsl:value-of s...')
0000006 /home/patricks/git/composr/sources/global2.php(2067): check_input_field_string('page', '<xsl:value-of s...', false, 4000)
0000007 /home/patricks/git/composr/sources/caches.php(88): get_param_string('page', '')
0000008 /home/patricks/git/composr/sources/global.php(255): init__caches()
0000009 /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...', '')
0000002 /home/patricks/git/composr/sources/input_filter.php(49): log_hack_attack_and_exit('SCRIPT_URL_HACK...', 'javascript:aler...')
0000003 /home/patricks/git/composr/sources/global2.php(2067): check_input_field_string('type', 'javascript:aler...', false, 3744)
0000004 /home/patricks/git/composr/sources/site.php(774): get_param_string('type', NULL, 3744)
0000005 /home/patricks/git/composr/sources/site.php(598): process_url_monikers()
0000006 /home/patricks/git/composr/sources/site.php(114): do_site_prep()
0000007 /home/patricks/git/composr/sources/global.php(255): init__site()
0000008 /home/patricks/git/composr/sources/failure.php(621): require_code('site')
0000009 /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)
0000002 /home/patricks/git/composr/sources/failure.php(653): DatabaseConnector->query_select_value('hackattack', 'SUM(percentage_...', Array)
0000003 /home/patricks/git/composr/sources/global2.php(1569): _log_hack_attack_and_exit('SCRIPT_URL_HACK...', 'javascript:aler...', '')
0000004 /home/patricks/git/composr/sources/input_filter.php(49): log_hack_attack_and_exit('SCRIPT_URL_HACK...', 'javascript:aler...')
0000005 /home/patricks/git/composr/sources/global2.php(2067): check_input_field_string('keep_su', 'javascript:aler...', false, 4000)
0000006 /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

Issue History

Date Modified Username Field Change
2022-12-15 04:44 Patrick Schmalstig New Issue
2022-12-15 21:27 Patrick Schmalstig Assigned To => Chris Graham
2022-12-15 21:27 Patrick Schmalstig Status non-assigned => assigned
2022-12-16 16:42 Patrick Schmalstig 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