#3629 - Error when adding new CPF

  • By
  • Added
  • 2 views
Identifier #3629
Issue type Feature request or suggestion
Title Error when adding new CPF
Status Closed (no changes needed)
Handling member Chris Graham
Addon cns_cpfs
Description Unfortunately a query has failed [INSERT INTO cms_f_custom_fields (cf_locked, cf_default, cf_public_view, cf_owner_view, cf_owner_set, cf_type, cf_required, cf_show_in_posts, cf_show_in_post_previews, cf_order, cf_only_group, cf_show_on_join_form, cf_options, cf_name, cf_description, cf_encrypted) VALUES (0, '', 1, 1, 1, 'long_text', 0, 0, 0, 23, '', 0, '', 'test', '', 0)] [Field 'id' doesn't have a default value] (version: 10.0.15, PHP version: 5.6.30, URL: /adminzone/index.php?page=admin-cns-customprofilefields&type=_add)

--------------------------------------------------------------------
Stack:

File '/home1/joe2209/bosslife.org/sources/failure.php'
Line 968
Function 'get_html_trace'
Args
File '/home1/joe2209/bosslife.org/sources/global2.php'
Line 1,028
Function '_fatal_exit'
Args

Tempcode -> Unfortunately a query has failed [INSERT INTO cms_f_custom_fields (cf_locked, cf_default, cf_public_view, cf_owner_view, cf_owner_set, cf_type, cf_required, cf_show_in_posts, cf_show_in_post_previews, cf_order, cf_only_group, cf_show_on_join_form, cf_options, cf_name, cf_description, cf_encrypted) VALUES (0, &#039;&#039;, 1, 1, 1, &#039;long_text&#039;, 0, 0, 0, 23, &#039;&#039;, 0, &#039;&#039;, &#039;test&#039;, &#039;&#039;, 0)] [<strong>Field 'id' doesn't have a default value</strong>]
File '/home1/joe2209/bosslife.org/sources/database/mysqli.php'
Line 258
Function 'fatal_exit'
Args

Tempcode -> Unfortunately a query has failed [INSERT INTO cms_f_custom_fields (cf_locked, cf_default, cf_public_view, cf_owner_view, cf_owner_set, cf_type, cf_required, cf_show_in_posts, cf_show_in_post_previews, cf_order, cf_only_group, cf_show_on_join_form, cf_options, cf_name, cf_description, cf_encrypted) VALUES (0, &#039;&#039;, 1, 1, 1, &#039;long_text&#039;, 0, 0, 0, 23, &#039;&#039;, 0, &#039;&#039;, &#039;test&#039;, &#039;&#039;, 0)] [<strong>Field 'id' doesn't have a default value</strong>]
File '/home1/joe2209/bosslife.org/sources/database.php'
Line 1,742
Function 'db_query'
Class 'Database_Static_mysqli'
Object O:22:"Database_Static_mysqli":3:{s:8:"cache_db";a:1:{s:54:"a:2:{i:0;s:16:"joe2209_bosslife";i:1;s:9:"localhost";}";O:6:"mysqli":19:{s:13:"affected_rows";N;s:11:"client_info";N;s:14:"client_version";N;s:13:"connect_errno";N;s:13:"connect_error";N;s:5:"errno";N;s:5:"error";N;s:10:"error_list";N;s:11:"field_count";N;s:9:"host_info";N;s:4:"info";N;s:9:"insert_id";N;s:11:"server_info";N;s:14:"server_version";N;s:4:"stat";N;s:8:"sqlstate";N;s:16:"protocol_version";N;s:9:"thread_id";N;s:13:"warning_count";N;}}s:14:"last_select_db";a:2:{i:0;r:3;i:1;s:16:"joe2209_bosslife";}s:16:"reconnected_once";b:0;}
Type '->'
Args

'INSERT INTO cms_f_custom_fields (cf_locked, cf_default, cf_public_view, cf_owner_view, cf_owner_set, cf_type, cf_required, cf_show_in_posts, cf_show_in_post_previews, cf_order, cf_only_group, cf_show_on_join_form, cf_options, cf_name, cf_description, cf_encrypted) VALUES (0, '', 1, 1, 1, 'long_text', 0, 0, 0, 23, '', 0, '', 'test', '', 0)'

array

NULL

NULL

false

true

false

false
File '/home1/joe2209/bosslife.org/sources/database.php'
Line 1,160
Function '_query'
Class 'DatabaseConnector'
Object O:17:"DatabaseConnector":8:{s:12:"table_prefix";s:4:"cms_";s:15:"connection_read";a:2:{i:0;O:6:"mysqli":19:{s:13:"affected_rows";N;s:11:"client_info";N;s:14:"client_version";N;s:13:"connect_errno";N;s:13:"connect_error";N;s:5:"errno";N;s:5:"error";N;s:10:"error_list";N;s:11:"field_count";N;s:9:"host_info";N;s:4:"info";N;s:9:"insert_id";N;s:11:"server_info";N;s:14:"server_version";N;s:4:"stat";N;s:8:"sqlstate";N;s:16:"protocol_version";N;s:9:"thread_id";N;s:13:"warning_count";N;}i:1;s:16:"joe2209_bosslife";}s:16:"connection_write";a:2:{i:0;r:4;i:1;s:16:"joe2209_bosslife";}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:22:"Database_Static_mysqli":3:{s:8:"cache_db";a:1:{s:54:"a:2:{i:0;s:16:"joe2209_bosslife";i:1;s:9:"localhost";}";r:4;}s:14:"last_select_db";a:2:{i:0;r:4;i:1;s:16:"joe2209_bosslife";}s:16:"reconnected_once";b:0;}s:11:"dedupe_mode";b:0;}
Type '->'
Args

'INSERT INTO cms_f_custom_fields (cf_locked, cf_default, cf_public_view, cf_owner_view, cf_owner_set, cf_type, cf_required, cf_show_in_posts, cf_show_in_post_previews, cf_order, cf_only_group, cf_show_on_join_form, cf_options, cf_name, cf_description, cf_encrypted) VALUES (0, '', 1, 1, 1, 'long_text', 0, 0, 0, 23, '', 0, '', 'test', '', 0)'

NULL

NULL

false

true

NULL

''

false
File '/home1/joe2209/bosslife.org/sources/cns_members_action.php'
Line 634
Function 'query_insert'
Class 'DatabaseConnector'
Object O:17:"DatabaseConnector":8:{s:12:"table_prefix";s:4:"cms_";s:15:"connection_read";a:2:{i:0;O:6:"mysqli":19:{s:13:"affected_rows";N;s:11:"client_info";N;s:14:"client_version";N;s:13:"connect_errno";N;s:13:"connect_error";N;s:5:"errno";N;s:5:"error";N;s:10:"error_list";N;s:11:"field_count";N;s:9:"host_info";N;s:4:"info";N;s:9:"insert_id";N;s:11:"server_info";N;s:14:"server_version";N;s:4:"stat";N;s:8:"sqlstate";N;s:16:"protocol_version";N;s:9:"thread_id";N;s:13:"warning_count";N;}i:1;s:16:"joe2209_bosslife";}s:16:"connection_write";a:2:{i:0;r:4;i:1;s:16:"joe2209_bosslife";}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:22:"Database_Static_mysqli":3:{s:8:"cache_db";a:1:{s:54:"a:2:{i:0;s:16:"joe2209_bosslife";i:1;s:9:"localhost";}";r:4;}s:14:"last_select_db";a:2:{i:0;r:4;i:1;s:16:"joe2209_bosslife";}s:16:"reconnected_once";b:0;}s:11:"dedupe_mode";b:0;}
Type '->'
Args

'f_custom_fields'

array

true
File '/home1/joe2209/bosslife.org/adminzone/pages/modules/admin_cns_customprofilefields.php'
Line 517
Function 'cns_make_custom_field'
Args

'test'

0

''

''

1

1

1

0

'long_text'

0

0

0

23

''

0

''

false
File '/home1/joe2209/bosslife.org/sources/crud_module.php'
Line 1,036
Function 'add_actualisation'
Class 'Module_admin_cns_customprofilefields'
Object O:36:"Module_admin_cns_customprofilefields":88:{s:9:"lang_type";s:20:"CUSTOM_PROFILE_FIELD";s:11:"select_name";s:4:"NAME";s:10:"menu_label";s:21:"CUSTOM_PROFILE_FIELDS";s:7:"orderer";s:7:"cf_name";s:5:"table";s:15:"f_custom_fields";s:19:"title_is_multi_lang";b:1;s:25:"donext_entry_content_type";s:3:"cpf";s:28:"donext_category_content_type";N;s:5:"title";O:8:"Tempcode":5:{s:18:"code_to_preexecute";a:1:{s:33:"tcpfunc_5b299d47eb1438.65658836_1";s:2626:"$tpl_funcs['tcpfunc_5b299d47eb1438.65658836_1']=$KEEP_TPL_FUNCS['tcpfunc_5b299d47eb1438.65658836_1']=recall_named_function('5b299d47eb1507.41084041','$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 \",\n otp(isset(\$bound_TITLE)?\$bound_TITLE:null,\"TITLE/SCREEN_TITLE\"),\n \"\\n\\n \",\n (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('5b299d47eadac2.11102504','\$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\",\n (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:1:{i:0;a:5:{i:0;s:33:"tcpfunc_5b299d47eb1438.65658836_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:36:"do_runtime_5b299e82f0f386.80343912_4";s:117:"$tpl_funcs['do_runtime_5b299e82f0f386.80343912_4']="echo ecv(\$cl,array(),2,\"ADD_CUSTOM_PROFILE_FIELD\",array());"; ";}s:9:"seq_parts";a:1:{i:0;a:1:{i:0;a:5:{i:0;s:36:"do_runtime_5b299e82f0f386.80343912_4";i:1;a:0:{}i:2;i:2;i:3;s:24:"ADD_CUSTOM_PROFILE_FIELD";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:"";}}}s:19:"preprocessable_bits";a:0:{}s:9:"pure_lang";N;s:8:"codename";s:12:"SCREEN_TITLE";}s:11:"module_type";s:21:"f_customprofilefields";s:13:"redirect_type";N;s:12:"code_require";N;s:18:"javascript_require";N;s:17:"skip_webstandards";b:0;s:12:"default_type";s:6:"browse";s:6:"author";s:12:"Chris Graham";s:12:"organisation";s:10:"ocProducts";s:11:"user_facing";b:0;s:23:"send_validation_request";b:1;s:16:"check_validation";b:1;s:19:"archive_entry_point";N;s:13:"archive_label";N;s:16:"view_entry_point";N;s:10:"view_label";N;s:13:"protect_first";i:0;s:14:"privilege_page";N;s:17:"permission_module";N;s:19:"permissions_require";N;s:23:"permissions_cat_require";N;s:20:"permissions_cat_name";N;s:25:"permissions_cat_require_b";N;s:22:"permissions_cat_name_b";N;s:8:"add_text";s:0:"";s:9:"edit_text";s:0:"";s:20:"extra_donext_entries";N;s:23:"extra_donext_categories";N;s:21:"extra_donext_whatever";N;s:27:"extra_donext_whatever_title";N;s:26:"do_next_editing_categories";b:0;s:21:"special_edit_frontend";b:0;s:6:"upload";N;s:28:"possibly_some_kind_of_upload";b:0;s:15:"cat_crud_module";N;s:15:"alt_crud_module";N;s:12:"content_type";N;s:18:"posting_form_title";N;s:17:"posting_form_text";s:0:"";s:24:"posting_form_description";s:0:"";s:24:"posting_form_text_parsed";N;s:21:"posting_form_tabindex";N;s:10:"javascript";N;s:21:"javascript_for_choose";N;s:7:"form_id";s:15:"selection_table";s:9:"type_code";s:0:"";s:9:"catalogue";b:0;s:14:"non_integer_id";b:0;s:32:"output_of_action_is_confirmation";b:0;s:20:"second_stage_preview";b:0;s:15:"add_submit_name";N;s:16:"edit_submit_name";N;s:10:"do_preview";b:1;s:13:"add_one_label";O:8:"Tempcode":5:{s:18:"code_to_preexecute";a:1:{s:36:"do_runtime_5b299e82f0f386.80343912_6";s:117:"$tpl_funcs['do_runtime_5b299e82f0f386.80343912_6']="echo ecv(\$cl,array(),2,\"ADD_CUSTOM_PROFILE_FIELD\",array());"; ";}s:9:"seq_parts";a:1:{i:0;a:1:{i:0;a:5:{i:0;s:36:"do_runtime_5b299e82f0f386.80343912_6";i:1;a:0:{}i:2;i:2;i:3;s:24:"ADD_CUSTOM_PROFILE_FIELD";i:4;s:0:"";}}}s:19:"preprocessable_bits";a:0:{}s:9:"pure_lang";b:1;s:8:"codename";s:10:":container";}s:17:"add_one_cat_label";N;s:15:"edit_this_label";O:8:"Tempcode":5:{s:18:"code_to_preexecute";a:1:{s:36:"do_runtime_5b299e82f0f386.80343912_7";s:123:"$tpl_funcs['do_runtime_5b299e82f0f386.80343912_7']="echo ecv(\$cl,array(),2,\"EDIT_THIS_CUSTOM_PROFILE_FIELD\",array());"; ";}s:9:"seq_parts";a:1:{i:0;a:1:{i:0;a:5:{i:0;s:36:"do_runtime_5b299e82f0f386.80343912_7";i:1;a:0:{}i:2;i:2;i:3;s:30:"EDIT_THIS_CUSTOM_PROFILE_FIELD";i:4;s:0:"";}}}s:19:"preprocessable_bits";a:0:{}s:9:"pure_lang";b:1;s:8:"codename";s:10:":container";}s:14:"edit_one_label";O:8:"Tempcode":5:{s:18:"code_to_preexecute";a:1:{s:36:"do_runtime_5b299e82f0f386.80343912_8";s:118:"$tpl_funcs['do_runtime_5b299e82f0f386.80343912_8']="echo ecv(\$cl,array(),2,\"EDIT_CUSTOM_PROFILE_FIELD\",array());"; ";}s:9:"seq_parts";a:1:{i:0;a:1:{i:0;a:5:{i:0;s:36:"do_runtime_5b299e82f0f386.80343912_8";i:1;a:0:{}i:2;i:2;i:3;s:25:"EDIT_CUSTOM_PROFILE_FIELD";i:4;s:0:"";}}}s:19:"preprocessable_bits";a:0:{}s:9:"pure_lang";b:1;s:8:"codename";s:10:":container";}s:19:"edit_this_cat_label";N;s:18:"edit_one_cat_label";N;s:13:"entries_title";N;s:16:"categories_title";N;s:19:"do_next_description";N;s:24:"appended_actions_already";b:0;s:23:"select_name_description";N;s:11:"care_please";b:1;s:6:"new_id";N;s:12:"no_blank_ids";b:1;s:22:"posting_field_required";b:1;s:11:"donext_type";N;s:18:"donext_category_id";N;s:17:"cached_entry_rows";N;s:15:"cached_max_rows";N;s:19:"privilege_page_name";N;s:20:"edit_keep_validation";b:0;s:20:"supports_mass_delete";b:0;s:12:"table_prefix";s:0:"";s:9:"array_key";s:2:"id";s:21:"orderer_is_multi_lang";N;s:5:"doing";s:24:"ADD_CUSTOM_PROFILE_FIELD";s:19:"success_message_str";s:7:"SUCCESS";}
Type '->'
Args
File '/home1/joe2209/bosslife.org/sources/crud_module.php'
Line 484
Function '_add'
Class 'Standard_crud_module'
Object O:36:"Module_admin_cns_customprofilefields":88:{s:9:"lang_type";s:20:"CUSTOM_PROFILE_FIELD";s:11:"select_name";s:4:"NAME";s:10:"menu_label";s:21:"CUSTOM_PROFILE_FIELDS";s:7:"orderer";s:7:"cf_name";s:5:"table";s:15:"f_custom_fields";s:19:"title_is_multi_lang";b:1;s:25:"donext_entry_content_type";s:3:"cpf";s:28:"donext_category_content_type";N;s:5:"title";O:8:"Tempcode":5:{s:18:"code_to_preexecute";a:1:{s:33:"tcpfunc_5b299d47eb1438.65658836_1";s:2626:"$tpl_funcs['tcpfunc_5b299d47eb1438.65658836_1']=$KEEP_TPL_FUNCS['tcpfunc_5b299d47eb1438.65658836_1']=recall_named_function('5b299d47eb1507.41084041','$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 \",\n otp(isset(\$bound_TITLE)?\$bound_TITLE:null,\"TITLE/SCREEN_TITLE\"),\n \"\\n\\n \",\n (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('5b299d47eadac2.11102504','\$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\",\n (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:1:{i:0;a:5:{i:0;s:33:"tcpfunc_5b299d47eb1438.65658836_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:36:"do_runtime_5b299e82f0f386.80343912_4";s:117:"$tpl_funcs['do_runtime_5b299e82f0f386.80343912_4']="echo ecv(\$cl,array(),2,\"ADD_CUSTOM_PROFILE_FIELD\",array());"; ";}s:9:"seq_parts";a:1:{i:0;a:1:{i:0;a:5:{i:0;s:36:"do_runtime_5b299e82f0f386.80343912_4";i:1;a:0:{}i:2;i:2;i:3;s:24:"ADD_CUSTOM_PROFILE_FIELD";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:"";}}}s:19:"preprocessable_bits";a:0:{}s:9:"pure_lang";N;s:8:"codename";s:12:"SCREEN_TITLE";}s:11:"module_type";s:21:"f_customprofilefields";s:13:"redirect_type";N;s:12:"code_require";N;s:18:"javascript_require";N;s:17:"skip_webstandards";b:0;s:12:"default_type";s:6:"browse";s:6:"author";s:12:"Chris Graham";s:12:"organisation";s:10:"ocProducts";s:11:"user_facing";b:0;s:23:"send_validation_request";b:1;s:16:"check_validation";b:1;s:19:"archive_entry_point";N;s:13:"archive_label";N;s:16:"view_entry_point";N;s:10:"view_label";N;s:13:"protect_first";i:0;s:14:"privilege_page";N;s:17:"permission_module";N;s:19:"permissions_require";N;s:23:"permissions_cat_require";N;s:20:"permissions_cat_name";N;s:25:"permissions_cat_require_b";N;s:22:"permissions_cat_name_b";N;s:8:"add_text";s:0:"";s:9:"edit_text";s:0:"";s:20:"extra_donext_entries";N;s:23:"extra_donext_categories";N;s:21:"extra_donext_whatever";N;s:27:"extra_donext_whatever_title";N;s:26:"do_next_editing_categories";b:0;s:21:"special_edit_frontend";b:0;s:6:"upload";N;s:28:"possibly_some_kind_of_upload";b:0;s:15:"cat_crud_module";N;s:15:"alt_crud_module";N;s:12:"content_type";N;s:18:"posting_form_title";N;s:17:"posting_form_text";s:0:"";s:24:"posting_form_description";s:0:"";s:24:"posting_form_text_parsed";N;s:21:"posting_form_tabindex";N;s:10:"javascript";N;s:21:"javascript_for_choose";N;s:7:"form_id";s:15:"selection_table";s:9:"type_code";s:0:"";s:9:"catalogue";b:0;s:14:"non_integer_id";b:0;s:32:"output_of_action_is_confirmation";b:0;s:20:"second_stage_preview";b:0;s:15:"add_submit_name";N;s:16:"edit_submit_name";N;s:10:"do_preview";b:1;s:13:"add_one_label";O:8:"Tempcode":5:{s:18:"code_to_preexecute";a:1:{s:36:"do_runtime_5b299e82f0f386.80343912_6";s:117:"$tpl_funcs['do_runtime_5b299e82f0f386.80343912_6']="echo ecv(\$cl,array(),2,\"ADD_CUSTOM_PROFILE_FIELD\",array());"; ";}s:9:"seq_parts";a:1:{i:0;a:1:{i:0;a:5:{i:0;s:36:"do_runtime_5b299e82f0f386.80343912_6";i:1;a:0:{}i:2;i:2;i:3;s:24:"ADD_CUSTOM_PROFILE_FIELD";i:4;s:0:"";}}}s:19:"preprocessable_bits";a:0:{}s:9:"pure_lang";b:1;s:8:"codename";s:10:":container";}s:17:"add_one_cat_label";N;s:15:"edit_this_label";O:8:"Tempcode":5:{s:18:"code_to_preexecute";a:1:{s:36:"do_runtime_5b299e82f0f386.80343912_7";s:123:"$tpl_funcs['do_runtime_5b299e82f0f386.80343912_7']="echo ecv(\$cl,array(),2,\"EDIT_THIS_CUSTOM_PROFILE_FIELD\",array());"; ";}s:9:"seq_parts";a:1:{i:0;a:1:{i:0;a:5:{i:0;s:36:"do_runtime_5b299e82f0f386.80343912_7";i:1;a:0:{}i:2;i:2;i:3;s:30:"EDIT_THIS_CUSTOM_PROFILE_FIELD";i:4;s:0:"";}}}s:19:"preprocessable_bits";a:0:{}s:9:"pure_lang";b:1;s:8:"codename";s:10:":container";}s:14:"edit_one_label";O:8:"Tempcode":5:{s:18:"code_to_preexecute";a:1:{s:36:"do_runtime_5b299e82f0f386.80343912_8";s:118:"$tpl_funcs['do_runtime_5b299e82f0f386.80343912_8']="echo ecv(\$cl,array(),2,\"EDIT_CUSTOM_PROFILE_FIELD\",array());"; ";}s:9:"seq_parts";a:1:{i:0;a:1:{i:0;a:5:{i:0;s:36:"do_runtime_5b299e82f0f386.80343912_8";i:1;a:0:{}i:2;i:2;i:3;s:25:"EDIT_CUSTOM_PROFILE_FIELD";i:4;s:0:"";}}}s:19:"preprocessable_bits";a:0:{}s:9:"pure_lang";b:1;s:8:"codename";s:10:":container";}s:19:"edit_this_cat_label";N;s:18:"edit_one_cat_label";N;s:13:"entries_title";N;s:16:"categories_title";N;s:19:"do_next_description";N;s:24:"appended_actions_already";b:0;s:23:"select_name_description";N;s:11:"care_please";b:1;s:6:"new_id";N;s:12:"no_blank_ids";b:1;s:22:"posting_field_required";b:1;s:11:"donext_type";N;s:18:"donext_category_id";N;s:17:"cached_entry_rows";N;s:15:"cached_max_rows";N;s:19:"privilege_page_name";N;s:20:"edit_keep_validation";b:0;s:20:"supports_mass_delete";b:0;s:12:"table_prefix";s:0:"";s:9:"array_key";s:2:"id";s:21:"orderer_is_multi_lang";N;s:5:"doing";s:24:"ADD_CUSTOM_PROFILE_FIELD";s:19:"success_message_str";s:7:"SUCCESS";}
Type '->'
Args
File '/home1/joe2209/bosslife.org/sources/zones.php'
Line 800
Function 'run'
Class 'Standard_crud_module'
Object O:36:"Module_admin_cns_customprofilefields":88:{s:9:"lang_type";s:20:"CUSTOM_PROFILE_FIELD";s:11:"select_name";s:4:"NAME";s:10:"menu_label";s:21:"CUSTOM_PROFILE_FIELDS";s:7:"orderer";s:7:"cf_name";s:5:"table";s:15:"f_custom_fields";s:19:"title_is_multi_lang";b:1;s:25:"donext_entry_content_type";s:3:"cpf";s:28:"donext_category_content_type";N;s:5:"title";O:8:"Tempcode":5:{s:18:"code_to_preexecute";a:1:{s:33:"tcpfunc_5b299d47eb1438.65658836_1";s:2626:"$tpl_funcs['tcpfunc_5b299d47eb1438.65658836_1']=$KEEP_TPL_FUNCS['tcpfunc_5b299d47eb1438.65658836_1']=recall_named_function('5b299d47eb1507.41084041','$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 \",\n otp(isset(\$bound_TITLE)?\$bound_TITLE:null,\"TITLE/SCREEN_TITLE\"),\n \"\\n\\n \",\n (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('5b299d47eadac2.11102504','\$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\",\n (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:1:{i:0;a:5:{i:0;s:33:"tcpfunc_5b299d47eb1438.65658836_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:36:"do_runtime_5b299e82f0f386.80343912_4";s:117:"$tpl_funcs['do_runtime_5b299e82f0f386.80343912_4']="echo ecv(\$cl,array(),2,\"ADD_CUSTOM_PROFILE_FIELD\",array());"; ";}s:9:"seq_parts";a:1:{i:0;a:1:{i:0;a:5:{i:0;s:36:"do_runtime_5b299e82f0f386.80343912_4";i:1;a:0:{}i:2;i:2;i:3;s:24:"ADD_CUSTOM_PROFILE_FIELD";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:"";}}}s:19:"preprocessable_bits";a:0:{}s:9:"pure_lang";N;s:8:"codename";s:12:"SCREEN_TITLE";}s:11:"module_type";s:21:"f_customprofilefields";s:13:"redirect_type";N;s:12:"code_require";N;s:18:"javascript_require";N;s:17:"skip_webstandards";b:0;s:12:"default_type";s:6:"browse";s:6:"author";s:12:"Chris Graham";s:12:"organisation";s:10:"ocProducts";s:11:"user_facing";b:0;s:23:"send_validation_request";b:1;s:16:"check_validation";b:1;s:19:"archive_entry_point";N;s:13:"archive_label";N;s:16:"view_entry_point";N;s:10:"view_label";N;s:13:"protect_first";i:0;s:14:"privilege_page";N;s:17:"permission_module";N;s:19:"permissions_require";N;s:23:"permissions_cat_require";N;s:20:"permissions_cat_name";N;s:25:"permissions_cat_require_b";N;s:22:"permissions_cat_name_b";N;s:8:"add_text";s:0:"";s:9:"edit_text";s:0:"";s:20:"extra_donext_entries";N;s:23:"extra_donext_categories";N;s:21:"extra_donext_whatever";N;s:27:"extra_donext_whatever_title";N;s:26:"do_next_editing_categories";b:0;s:21:"special_edit_frontend";b:0;s:6:"upload";N;s:28:"possibly_some_kind_of_upload";b:0;s:15:"cat_crud_module";N;s:15:"alt_crud_module";N;s:12:"content_type";N;s:18:"posting_form_title";N;s:17:"posting_form_text";s:0:"";s:24:"posting_form_description";s:0:"";s:24:"posting_form_text_parsed";N;s:21:"posting_form_tabindex";N;s:10:"javascript";N;s:21:"javascript_for_choose";N;s:7:"form_id";s:15:"selection_table";s:9:"type_code";s:0:"";s:9:"catalogue";b:0;s:14:"non_integer_id";b:0;s:32:"output_of_action_is_confirmation";b:0;s:20:"second_stage_preview";b:0;s:15:"add_submit_name";N;s:16:"edit_submit_name";N;s:10:"do_preview";b:1;s:13:"add_one_label";O:8:"Tempcode":5:{s:18:"code_to_preexecute";a:1:{s:36:"do_runtime_5b299e82f0f386.80343912_6";s:117:"$tpl_funcs['do_runtime_5b299e82f0f386.80343912_6']="echo ecv(\$cl,array(),2,\"ADD_CUSTOM_PROFILE_FIELD\",array());"; ";}s:9:"seq_parts";a:1:{i:0;a:1:{i:0;a:5:{i:0;s:36:"do_runtime_5b299e82f0f386.80343912_6";i:1;a:0:{}i:2;i:2;i:3;s:24:"ADD_CUSTOM_PROFILE_FIELD";i:4;s:0:"";}}}s:19:"preprocessable_bits";a:0:{}s:9:"pure_lang";b:1;s:8:"codename";s:10:":container";}s:17:"add_one_cat_label";N;s:15:"edit_this_label";O:8:"Tempcode":5:{s:18:"code_to_preexecute";a:1:{s:36:"do_runtime_5b299e82f0f386.80343912_7";s:123:"$tpl_funcs['do_runtime_5b299e82f0f386.80343912_7']="echo ecv(\$cl,array(),2,\"EDIT_THIS_CUSTOM_PROFILE_FIELD\",array());"; ";}s:9:"seq_parts";a:1:{i:0;a:1:{i:0;a:5:{i:0;s:36:"do_runtime_5b299e82f0f386.80343912_7";i:1;a:0:{}i:2;i:2;i:3;s:30:"EDIT_THIS_CUSTOM_PROFILE_FIELD";i:4;s:0:"";}}}s:19:"preprocessable_bits";a:0:{}s:9:"pure_lang";b:1;s:8:"codename";s:10:":container";}s:14:"edit_one_label";O:8:"Tempcode":5:{s:18:"code_to_preexecute";a:1:{s:36:"do_runtime_5b299e82f0f386.80343912_8";s:118:"$tpl_funcs['do_runtime_5b299e82f0f386.80343912_8']="echo ecv(\$cl,array(),2,\"EDIT_CUSTOM_PROFILE_FIELD\",array());"; ";}s:9:"seq_parts";a:1:{i:0;a:1:{i:0;a:5:{i:0;s:36:"do_runtime_5b299e82f0f386.80343912_8";i:1;a:0:{}i:2;i:2;i:3;s:25:"EDIT_CUSTOM_PROFILE_FIELD";i:4;s:0:"";}}}s:19:"preprocessable_bits";a:0:{}s:9:"pure_lang";b:1;s:8:"codename";s:10:":container";}s:19:"edit_this_cat_label";N;s:18:"edit_one_cat_label";N;s:13:"entries_title";N;s:16:"categories_title";N;s:19:"do_next_description";N;s:24:"appended_actions_already";b:0;s:23:"select_name_description";N;s:11:"care_please";b:1;s:6:"new_id";N;s:12:"no_blank_ids";b:1;s:22:"posting_field_required";b:1;s:11:"donext_type";N;s:18:"donext_category_id";N;s:17:"cached_entry_rows";N;s:15:"cached_max_rows";N;s:19:"privilege_page_name";N;s:20:"edit_keep_validation";b:0;s:20:"supports_mass_delete";b:0;s:12:"table_prefix";s:0:"";s:9:"array_key";s:2:"id";s:21:"orderer_is_multi_lang";N;s:5:"doing";s:24:"ADD_CUSTOM_PROFILE_FIELD";s:19:"success_message_str";s:7:"SUCCESS";}
Type '->'
Args
File '/home1/joe2209/bosslife.org/sources/site.php'
Line 1,211
Function 'load_module_page'
Args

'adminzone/pages/modules/admin_cns_customprofilefields.php'

'admin_cns_customprofilefields'

Tempcode -> ...
File '/home1/joe2209/bosslife.org/sources/site.php'
Line 921
Function 'request_page'
Args

'admin_cns_customprofilefields'

true

NULL

NULL

false

false

Tempcode -> ...
File '/home1/joe2209/bosslife.org/adminzone/index.php'
Line 59
Function 'do_site'
Args
Parameters
csrf_token
c317ad50e8c12
label_for__name
Name
name
test
require__name
1
label_for__description
Description
description
require__description
0
label_for__default
Default value
default
require__default
0
label_for__owner_view
Owner viewable
owner_view
1
tick_on_form__owner_view
0
require__owner_view
0
label_for__owner_set
Owner settable
owner_set
1
tick_on_form__owner_set
0
require__owner_set
0
label_for__public_view
Publicly viewable
public_view
1
tick_on_form__public_view
0
require__public_view
0
label_for__type
Type
type
long_text
require__type
1
label_for__options
Field options
options
require__options
0
label_for__required
Required field
tick_on_form__required
0
require__required
0
label_for__show_on_join_form
Show on the join form
tick_on_form__show_on_join_form
0
require__show_on_join_form
0
label_for__order
Order
order
23
require__order
0
label_for__show_in_posts
Show with content
tick_on_form__show_in_posts
0
require__show_in_posts
0
label_for__show_in_post_previews
Show with summaries of content
tick_on_form__show_in_post_previews
0
require__show_in_post_previews
0
label_for__only_group
Usergroup
require__only_group
0
http_referer
https://bosslife.org/adminzone/index.php?page=admin-cns-customprofilefields&type=add
Steps to reproduce

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