#1992 - Results in Error while Editing new theme Images

  • By
  • Added
  • 1 view
Identifier #1992
Issue type Feature request or suggestion
Title Results in Error while Editing new theme Images
Status Closed (rejected)
Handling member Chris Graham
Addon General / Uncategorised
Description While trying to create and edit theme image results in following error

The loading of this screen has been terminated, as it used a high number of database queries (version: 10 alpha1, PHP version: 5.3.19, URL: /composr/adminzone/index.php?page=admin_themes&type=manage_images&theme=Base&keep_devtest=1)

Here is the stack trace:

File '/var/www/html/composr/sources/failure.php'
Line 962
Function 'get_html_trace'
Args
File '/var/www/html/composr/sources/global2.php'
Line 872
Function '_fatal_exit'
Args

Tempcode -> The loading of this screen has been terminated, as it used a high number of database queries
File '/var/www/html/composr/sources/database.php'
Line 1,114
Function 'fatal_exit'
Args

Tempcode -> The loading of this screen has been terminated, as it used a high number of database queries
File '/var/www/html/composr/sources/database.php'
Line 887
Function '_query'
Class 'DatabaseConnector'
Object O:17:"DatabaseConnector":8:{s:12:"table_prefix";s:6:"cms10_";s:15:"connection_read";a:2:{i:0;i:0;i:1;s:3:"cms";}s:16:"connection_write";a:2:{i:0;i:0;i:1;s:3:"cms";}s:26:"text_lookup_original_cache";a:0:{}s:17:"text_lookup_cache";a:0:{}s:18:"table_exists_cache";a:0:{}s:9:"static_ob";O:21:"Database_Static_mysql":3:{s:8:"cache_db";a:0:{}s:14:"last_select_db";s:3:"cms";s:16:"reconnected_once";b:0;}s:11:"dedupe_mode";b:0;}
Type '->'
Args

'SELECT path FROM cms10_theme_images WHERE (theme='Composr' AND lang='EN' AND id='cns_emoticons/goodbye') '

1

NULL

false

false

a:0:{}

''
File '/var/www/html/composr/sources/database.php'
Line 816
Function 'query_select'
Class 'DatabaseConnector'
Object O:17:"DatabaseConnector":8:{s:12:"table_prefix";s:6:"cms10_";s:15:"connection_read";a:2:{i:0;i:0;i:1;s:3:"cms";}s:16:"connection_write";a:2:{i:0;i:0;i:1;s:3:"cms";}s:26:"text_lookup_original_cache";a:0:{}s:17:"text_lookup_cache";a:0:{}s:18:"table_exists_cache";a:0:{}s:9:"static_ob";O:21:"Database_Static_mysql":3:{s:8:"cache_db";a:0:{}s:14:"last_select_db";s:3:"cms";s:16:"reconnected_once";b:0;}s:11:"dedupe_mode";b:0;}
Type '->'
Args

'theme_images'

a:1:{i:0;s:4:"path";}

a:3:{s:5:"theme";s:7:"Composr";s:4:"lang";s:2:"EN";s:2:"id";s:21:"cns_emoticons/goodbye";}

''

1

NULL

false

NULL
File '/var/www/html/composr/sources/themes.php'
Line 92
Function 'query_select_value_if_there'
Class 'DatabaseConnector'
Object O:17:"DatabaseConnector":8:{s:12:"table_prefix";s:6:"cms10_";s:15:"connection_read";a:2:{i:0;i:0;i:1;s:3:"cms";}s:16:"connection_write";a:2:{i:0;i:0;i:1;s:3:"cms";}s:26:"text_lookup_original_cache";a:0:{}s:17:"text_lookup_cache";a:0:{}s:18:"table_exists_cache";a:0:{}s:9:"static_ob";O:21:"Database_Static_mysql":3:{s:8:"cache_db";a:0:{}s:14:"last_select_db";s:3:"cms";s:16:"reconnected_once";b:0;}s:11:"dedupe_mode";b:0;}
Type '->'
Args

'theme_images'

'path'

a:3:{s:5:"theme";s:7:"Composr";s:4:"lang";s:2:"EN";s:2:"id";s:21:"cns_emoticons/goodbye";}
File '/var/www/html/composr/sources/global.php(166) : eval()'d code'
Line 1,852
Function 'find_theme_image'
Args

'cns_emoticons/goodbye'

true

false

'Composr'

'EN'

O:17:"DatabaseConnector":8:{s:12:"table_prefix";s:6:"cms10_";s:15:"connection_read";a:2:{i:0;i:0;i:1;s:3:"cms";}s:16:"connection_write";a:2:{i:0;i:0;i:1;s:3:"cms";}s:26:"text_lookup_original_cache";a:0:{}s:17:"text_lookup_cache";a:0:{}s:18:"table_exists_cache";a:0:{}s:9:"static_ob";O:21:"Database_Static_mysql":3:{s:8:"cache_db";a:0:{}s:14:"last_select_db";s:3:"cms";s:16:"reconnected_once";b:0;}s:11:"dedupe_mode";b:0;}
File '/var/www/html/composr/adminzone/pages/modules/admin_themes.php'
Line 2,144
Function 'form_input_theme_image'
Args

Tempcode -> Codename

''

'id'

array

NULL

NULL

NULL

false

NULL

'Composr'

'EN'

true

true
File '/var/www/html/composr/adminzone/pages/modules/admin_themes.php'
Line 389
Function 'manage_images'
Class 'Module_admin_themes'
Object O:19:"Module_admin_themes":4:{s:5:"title";O:8:"Tempcode":5:{s:18:"code_to_preexecute";a:4:{s:33:"tcpfunc_55a342c3202267.40308144_1";s:559:"$tpl_funcs['tcpfunc_55a342c3202267.40308144_1']="eval(\$FULL_RESET_VAR_CODE); echo (isset(\$bound_ID)?(\"\\npure_lang)?str_replace(\$GLOBALS['HTML_ESCAPE_1_STRREP'],\$GLOBALS['HTML_ESCAPE_2'],otp(isset(\$bound_ID)?\$bound_ID:NULL,\"ID/SCREEN_TITLE\")):otp(isset(\$bound_ID)?\$bound_ID:NULL,\"ID/SCREEN_TITLE\")).\"\\\">\\n\"):''),\n \"\\n\\n
\\n \";";";s:33:"tcpfunc_55a342c32027d8.59344966_2";s:168:"$tpl_funcs['tcpfunc_55a342c32027d8.59344966_2']="eval(\$FULL_RESET_VAR_CODE); echo otp(isset(\$bound_TITLE)?\$bound_TITLE:NULL,\"TITLE/SCREEN_TITLE\"),\n \"\\n\\n \";";";s:33:"tcpfunc_55a342c3202b77.45124666_3";s:1878:"$tpl_funcs['tcpfunc_55a342c3202b77.45124666_3']="eval(\$FULL_RESET_VAR_CODE); 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
\".\"Award winner\".\"
\\n

\".ecv(\$cl,array(),2,\"AWARDS_WON\",array(otp(isset(\$bound_AWARDS)?\$bound_AWARDS:NULL,\"AWARDS/SCREEN_TITLE\"))).\"
\\n

\\n \".closure_loop(array(\"AWARDS\",'vars'=>\$parameters),array(\$parameters,\$cl),\nrecall_named_function('55a342c31f8c06.41097201','\$parameters,\$cl',\"extract(\\\$parameters,EXTR_PREFIX_ALL,'bound'); return \\\"\\\\n
\\\\n \\\".(empty(\\\$bound_AWARD_TYPE->pure_lang)?str_replace(\\\$GLOBALS['HTML_ESCAPE_1_STRREP'],\\\$GLOBALS['HTML_ESCAPE_2'],otp(isset(\\\$bound_AWARD_TYPE)?\\\$bound_AWARD_TYPE:NULL,\\\"AWARD_TYPE/SCREEN_TITLE\\\")):otp(isset(\\\$bound_AWARD_TYPE)?\\\$bound_AWARD_TYPE:NULL,\\\"AWARD_TYPE/SCREEN_TITLE\\\")).\\\"\\\\n \\\".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\\\"))))).\\\"\\\\n
\\\\n \\\";\")).\"\\n

\\n \")).\"\\n \\\"\".\"Award\\n \"):'').\"\\n \"):''),\n \"\\n\\n\\n\";";";s:33:"tcpfunc_55a342c3203256.16433389_4";s:249:"$tpl_funcs['tcpfunc_55a342c3203256.16433389_4']="eval(\$FULL_RESET_VAR_CODE); echo (isset(\$bound_SUB)?(\"\\n
\\n \".otp(isset(\$bound_SUB)?\$bound_SUB:NULL,\"SUB/SCREEN_TITLE\").\"\\n
\\n\"):''),\n \"\\n\";";";}s:9:"seq_parts";a:1:{i:0;a:4:{i:0;a:5:{i:0;s:33:"tcpfunc_55a342c3202267.40308144_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_55a37285abf5a7.83756702_2041";s:113:"$tpl_funcs['do_runtime_55a37285abf5a7.83756702_2041']="echo ecv(\$cl,array(),2,\"EDIT_THEME_IMAGES\",array());"; ";}s:9:"seq_parts";a:1:{i:0;a:1:{i:0;a:5:{i:0;s:39:"do_runtime_55a37285abf5a7.83756702_2041";i:1;a:0:{}i:2;i:2;i:3;s:17:"EDIT_THEME_IMAGES";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_55a342c32027d8.59344966_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_55a342c3202b77.45124666_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_55a342c3203256.16433389_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";}s:2:"id";N;s:5:"theme";N;s:4:"file";N;}
Type '->'
Args
File '/var/www/html/composr/sources/zones.php'
Line 744
Function 'run'
Class 'Module_admin_themes'
Object O:19:"Module_admin_themes":4:{s:5:"title";O:8:"Tempcode":5:{s:18:"code_to_preexecute";a:4:{s:33:"tcpfunc_55a342c3202267.40308144_1";s:559:"$tpl_funcs['tcpfunc_55a342c3202267.40308144_1']="eval(\$FULL_RESET_VAR_CODE); echo (isset(\$bound_ID)?(\"\\npure_lang)?str_replace(\$GLOBALS['HTML_ESCAPE_1_STRREP'],\$GLOBALS['HTML_ESCAPE_2'],otp(isset(\$bound_ID)?\$bound_ID:NULL,\"ID/SCREEN_TITLE\")):otp(isset(\$bound_ID)?\$bound_ID:NULL,\"ID/SCREEN_TITLE\")).\"\\\">\\n\"):''),\n \"\\n\\n
\\n \";";";s:33:"tcpfunc_55a342c32027d8.59344966_2";s:168:"$tpl_funcs['tcpfunc_55a342c32027d8.59344966_2']="eval(\$FULL_RESET_VAR_CODE); echo otp(isset(\$bound_TITLE)?\$bound_TITLE:NULL,\"TITLE/SCREEN_TITLE\"),\n \"\\n\\n \";";";s:33:"tcpfunc_55a342c3202b77.45124666_3";s:1878:"$tpl_funcs['tcpfunc_55a342c3202b77.45124666_3']="eval(\$FULL_RESET_VAR_CODE); 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
\".\"Award winner\".\"
\\n

\".ecv(\$cl,array(),2,\"AWARDS_WON\",array(otp(isset(\$bound_AWARDS)?\$bound_AWARDS:NULL,\"AWARDS/SCREEN_TITLE\"))).\"
\\n

\\n \".closure_loop(array(\"AWARDS\",'vars'=>\$parameters),array(\$parameters,\$cl),\nrecall_named_function('55a342c31f8c06.41097201','\$parameters,\$cl',\"extract(\\\$parameters,EXTR_PREFIX_ALL,'bound'); return \\\"\\\\n
\\\\n \\\".(empty(\\\$bound_AWARD_TYPE->pure_lang)?str_replace(\\\$GLOBALS['HTML_ESCAPE_1_STRREP'],\\\$GLOBALS['HTML_ESCAPE_2'],otp(isset(\\\$bound_AWARD_TYPE)?\\\$bound_AWARD_TYPE:NULL,\\\"AWARD_TYPE/SCREEN_TITLE\\\")):otp(isset(\\\$bound_AWARD_TYPE)?\\\$bound_AWARD_TYPE:NULL,\\\"AWARD_TYPE/SCREEN_TITLE\\\")).\\\"\\\\n \\\".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\\\"))))).\\\"\\\\n
\\\\n \\\";\")).\"\\n

\\n \")).\"\\n \\\"\".\"Award\\n \"):'').\"\\n \"):''),\n \"\\n\\n\\n\";";";s:33:"tcpfunc_55a342c3203256.16433389_4";s:249:"$tpl_funcs['tcpfunc_55a342c3203256.16433389_4']="eval(\$FULL_RESET_VAR_CODE); echo (isset(\$bound_SUB)?(\"\\n
\\n \".otp(isset(\$bound_SUB)?\$bound_SUB:NULL,\"SUB/SCREEN_TITLE\").\"\\n
\\n\"):''),\n \"\\n\";";";}s:9:"seq_parts";a:1:{i:0;a:4:{i:0;a:5:{i:0;s:33:"tcpfunc_55a342c3202267.40308144_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_55a37285abf5a7.83756702_2041";s:113:"$tpl_funcs['do_runtime_55a37285abf5a7.83756702_2041']="echo ecv(\$cl,array(),2,\"EDIT_THEME_IMAGES\",array());"; ";}s:9:"seq_parts";a:1:{i:0;a:1:{i:0;a:5:{i:0;s:39:"do_runtime_55a37285abf5a7.83756702_2041";i:1;a:0:{}i:2;i:2;i:3;s:17:"EDIT_THEME_IMAGES";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_55a342c32027d8.59344966_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_55a342c3202b77.45124666_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_55a342c3203256.16433389_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";}s:2:"id";N;s:5:"theme";N;s:4:"file";N;}
Type '->'
Args
File '/var/www/html/composr/sources/site.php'
Line 1,091
Function 'load_module_page'
Args

'adminzone/pages/modules/admin_themes.php'

'admin_themes'

Tempcode -> ...
File '/var/www/html/composr/sources/site.php'
Line 820
Function 'request_page'
Args

'admin_themes'

true

NULL

NULL

false

false

Tempcode -> ...
File '/var/www/html/composr/adminzone/index.php'
Line 50
Function 'do_site'
Args
Steps to reproduce

Trying to create a theme and edit the image for the new theme.

Admin Zone->Style->Manage Themes->Edit theme image

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