View Issue Details

IDProjectCategoryView StatusLast Update
2582Composrcns_avatarspublic2016-05-11 14:00
Reportermythus Assigned ToChris Graham  
PrioritynormalSeverityminor 
Status resolvedResolutionfixed 
Summary2582: Composr: Try to upload avatar and get a crash
DescriptionGot an error trying to do the very simple thing of uploading an avatar to my member profile.
Steps To ReproduceEdit profile.
Edit Avatar.
Change/Upload Avatar.
Hit Save.
See Stack Trace Appear.
Additional InformationStack Trace attached.
TagsNo tags attached.
Attach Tags
Attached Files
stacktrace-memberavatarchange.txt (26,989 bytes)   
An error has occurred

Unfortunately a query has failed [UPDATE ocp_f_member_custom_fields SET field_3='', field_4='', field_5='', field_11=8, field_12=NULL, field_21='', field_22='', field_23='', field_24='', field_26='', field_27='', field_28=545, field_29=825, field_30=2650, field_31=1, field_32=NULL WHERE (mf_member_id=2) LIMIT 1] [Column 'field_12' cannot be null] (version: 10 RC8, PHP version: 5.6.8, URL: /composr/index.php?page=members&type=view&id=2)

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/mythus/public_html/composr/sources/failure.php'
Line	977
Function	'get_html_trace'
Args	
File	'/home/mythus/public_html/composr/sources/global2.php'
Line	910
Function	'_fatal_exit'
Args	
Tempcode -> Unfortunately a query has failed [UPDATE ocp_f_member_custom_fields SET field_3=&#039;&#039;, field_4=&#039;&#039;, field_5=&#039;&#039;, field_11=8, field_12=NULL, field_21=&#039;&#039;, field_22=&#039;&#039;, field_23=&#039;&#039;, field_24=&#039;&#039;, field_26=&#039;&#039;, field_27=&#039;&#039;, field_28=545, field_29=825, field_30=2650, field_31=1, field_32=NULL WHERE (mf_member_id=2) LIMIT 1] [<strong>Column 'field_12' cannot be null</strong>]
File	'/home/mythus/public_html/composr/sources/database/mysql.php'
Line	264
Function	'fatal_exit'
Args	
Tempcode -> Unfortunately a query has failed [UPDATE ocp_f_member_custom_fields SET field_3=&#039;&#039;, field_4=&#039;&#039;, field_5=&#039;&#039;, field_11=8, field_12=NULL, field_21=&#039;&#039;, field_22=&#039;&#039;, field_23=&#039;&#039;, field_24=&#039;&#039;, field_26=&#039;&#039;, field_27=&#039;&#039;, field_28=545, field_29=825, field_30=2650, field_31=1, field_32=NULL WHERE (mf_member_id=2) LIMIT 1] [<strong>Column 'field_12' cannot be null</strong>]
File	'/home/mythus/public_html/composr/sources/database.php'
Line	1,305
Function	'db_query'
Class	'Database_Static_mysql'
Object	O:21:"Database_Static_mysql":3:{s:8:"cache_db";a:0:{}s:14:"last_select_db";s:7:"composr";s:16:"reconnected_once";b:0;}
Type	'->'
Args	
'UPDATE ocp_f_member_custom_fields SET field_3='', field_4='', field_5='', field_11=8, field_12=NULL, field_21='', field_22='', field_23='', field_24='', field_26='', field_27='', field_28=545, field_29=825, field_30=2650, field_31=1, field_32=NULL WHERE (mf_member_id=2) '

a:2:{i:0;i:0;i:1;s:7:"composr";}

1

NULL

false

false

false

false
File	'/home/mythus/public_html/composr/sources/database.php'
Line	1,437
Function	'_query'
Class	'DatabaseConnector'
Object	O:17:"DatabaseConnector":8:{s:12:"table_prefix";s:4:"ocp_";s:15:"connection_read";a:2:{i:0;i:0;i:1;s:7:"composr";}s:16:"connection_write";a:2:{i:0;i:0;i:1;s:7:"composr";}s:26:"text_lookup_original_cache";a:89:{i:34;s:14:"Administrators";i:3433;s:8:"Dev Team";i:35;s:13:"Administrator";i:3434;s:0:"";i:7;s:7:"Welcome";i:8;s:10:"Admin Zone";i:11;s:18:"Content Management";i:10;s:18:"Collaboration Zone";i:13;s:6:"Forums";i:9;s:4:"Site";i:1;s:0:"";i:2;s:10:"Admin Zone";i:5;s:18:"Content Management";i:3;s:18:"Collaboration Zone";i:12;s:5:"Forum";i:4;s:0:"";i:14;s:8:"About me";i:18;s:16:"Facebook profile";i:20;s:15:"Google+ profile";i:22;s:15:"Twitter account";i:30;s:11:"Staff notes";i:83;s:23:"cms_mobile_phone_number";i:279;s:22:"cms_points_gained_wiki";i:290;s:22:"cms_points_gained_chat";i:316;s:12:"cms_currency";i:318;s:27:"cms_payment_cardholder_name";i:320;s:16:"cms_payment_type";i:322;s:23:"cms_payment_card_number";i:324;s:27:"cms_payment_card_start_date";i:326;s:28:"cms_payment_card_expiry_date";i:328;s:29:"cms_payment_card_issue_number";i:330;s:20:"cms_payment_card_cv2";i:344;s:13:"cms_firstname";i:346;s:12:"cms_lastname";i:348;s:18:"cms_street_address";i:350;s:8:"cms_city";i:352;s:9:"cms_state";i:354;s:13:"cms_post_code";i:356;s:11:"cms_country";i:380;s:15:"cms_points_used";i:382;s:20:"cms_gift_points_used";i:384;s:23:"cms_points_gained_given";i:386;s:24:"cms_points_gained_rating";i:388;s:24:"cms_points_gained_voting";i:390;s:9:"cms_sites";i:392;s:8:"cms_role";i:394;s:12:"cms_fullname";i:15;s:36:"Some personally written information.";i:19;s:32:"A link to your Facebook profile.";i:21;s:31:"A link to your Google+ profile.";i:23;s:48:"Your Twitter name (for example, 'charlie12345').";i:31;s:45:"Notes on this member, only viewable by staff.";i:84;s:289:"This should be the mobile phone number in international format, devoid of any national or international outgoing access codes. For instance, a typical UK (44) number might be nationally known as '01234 123456', but internationally and without outgoing access codes would be '441234123456'.";i:280;s:0:"";i:291;s:0:"";i:317;s:0:"";i:319;s:0:"";i:321;s:0:"";i:323;s:0:"";i:325;s:0:"";i:327;s:0:"";i:329;s:0:"";i:331;s:0:"";i:345;s:0:"";i:347;s:0:"";i:349;s:0:"";i:351;s:0:"";i:353;s:0:"";i:355;s:0:"";i:357;s:0:"";i:381;s:0:"";i:383;s:0:"";i:385;s:0:"";i:387;s:0:"";i:389;s:0:"";i:391;s:0:"";i:393;s:0:"";i:395;s:0:"";i:32;s:6:"Guests";i:36;s:17:"Global Moderators";i:38;s:13:"Super-members";i:40;s:6:"Avatar";i:42;s:9:"Harbinger";i:44;s:10:"Adventurer";i:46;s:8:"Vagabond";i:48;s:8:"Neophyte";i:50;s:9:"Probation";i:74;s:0:"";i:76;s:0:"";}s:17:"text_lookup_cache";a:89:{i:34;s:0:"";i:3433;s:0:"";i:35;s:0:"";i:3434;s:0:"";i:7;s:0:"";i:8;s:0:"";i:11;s:0:"";i:10;s:0:"";i:13;s:0:"";i:9;s:0:"";i:1;s:0:"";i:2;s:0:"";i:5;s:0:"";i:3;s:0:"";i:12;s:0:"";i:4;s:0:"";i:14;s:0:"";i:18;s:0:"";i:20;s:0:"";i:22;s:0:"";i:30;s:0:"";i:83;s:0:"";i:279;s:0:"";i:290;s:0:"";i:316;s:0:"";i:318;s:0:"";i:320;s:0:"";i:322;s:0:"";i:324;s:0:"";i:326;s:0:"";i:328;s:0:"";i:330;s:0:"";i:344;s:0:"";i:346;s:0:"";i:348;s:0:"";i:350;s:0:"";i:352;s:0:"";i:354;s:0:"";i:356;s:0:"";i:380;s:0:"";i:382;s:0:"";i:384;s:0:"";i:386;s:0:"";i:388;s:0:"";i:390;s:0:"";i:392;s:0:"";i:394;s:0:"";i:15;s:0:"";i:19;s:0:"";i:21;s:0:"";i:23;s:0:"";i:31;s:0:"";i:84;s:0:"";i:280;s:0:"";i:291;s:0:"";i:317;s:0:"";i:319;s:0:"";i:321;s:0:"";i:323;s:0:"";i:325;s:0:"";i:327;s:0:"";i:329;s:0:"";i:331;s:0:"";i:345;s:0:"";i:347;s:0:"";i:349;s:0:"";i:351;s:0:"";i:353;s:0:"";i:355;s:0:"";i:357;s:0:"";i:381;s:0:"";i:383;s:0:"";i:385;s:0:"";i:387;s:0:"";i:389;s:0:"";i:391;s:0:"";i:393;s:0:"";i:395;s:0:"";i:32;s:0:"";i:36;s:0:"";i:38;s:0:"";i:40;s:0:"";i:42;s:0:"";i:44;s:0:"";i:46;s:0:"";i:48;s:0:"";i:50;s:0:"";i:74;s:90:"return unserialize("a:5:{i:0;a:0:{}i:1;a:0:{}i:2;s:10:\":container\";i:3;N;i:4;a:0:{}}"); ";i:76;s:90:"return unserialize("a:5:{i:0;a:0:{}i:1;a:0:{}i:2;s:10:\":container\";i:3;N;i:4;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:7:"composr";s:16:"reconnected_once";b:0;}s:11:"dedupe_mode";b:0;}
Type	'->'
Args	
'UPDATE ocp_f_member_custom_fields SET field_3='', field_4='', field_5='', field_11=8, field_12=NULL, field_21='', field_22='', field_23='', field_24='', field_26='', field_27='', field_28=545, field_29=825, field_30=2650, field_31=1, field_32=NULL WHERE (mf_member_id=2) '

1

NULL

false

false
File	'/home/mythus/public_html/composr/sources/cns_members_action2.php'
Line	963
Function	'query_update'
Class	'DatabaseConnector'
Object	O:17:"DatabaseConnector":8:{s:12:"table_prefix";s:4:"ocp_";s:15:"connection_read";a:2:{i:0;i:0;i:1;s:7:"composr";}s:16:"connection_write";a:2:{i:0;i:0;i:1;s:7:"composr";}s:26:"text_lookup_original_cache";a:89:{i:34;s:14:"Administrators";i:3433;s:8:"Dev Team";i:35;s:13:"Administrator";i:3434;s:0:"";i:7;s:7:"Welcome";i:8;s:10:"Admin Zone";i:11;s:18:"Content Management";i:10;s:18:"Collaboration Zone";i:13;s:6:"Forums";i:9;s:4:"Site";i:1;s:0:"";i:2;s:10:"Admin Zone";i:5;s:18:"Content Management";i:3;s:18:"Collaboration Zone";i:12;s:5:"Forum";i:4;s:0:"";i:14;s:8:"About me";i:18;s:16:"Facebook profile";i:20;s:15:"Google+ profile";i:22;s:15:"Twitter account";i:30;s:11:"Staff notes";i:83;s:23:"cms_mobile_phone_number";i:279;s:22:"cms_points_gained_wiki";i:290;s:22:"cms_points_gained_chat";i:316;s:12:"cms_currency";i:318;s:27:"cms_payment_cardholder_name";i:320;s:16:"cms_payment_type";i:322;s:23:"cms_payment_card_number";i:324;s:27:"cms_payment_card_start_date";i:326;s:28:"cms_payment_card_expiry_date";i:328;s:29:"cms_payment_card_issue_number";i:330;s:20:"cms_payment_card_cv2";i:344;s:13:"cms_firstname";i:346;s:12:"cms_lastname";i:348;s:18:"cms_street_address";i:350;s:8:"cms_city";i:352;s:9:"cms_state";i:354;s:13:"cms_post_code";i:356;s:11:"cms_country";i:380;s:15:"cms_points_used";i:382;s:20:"cms_gift_points_used";i:384;s:23:"cms_points_gained_given";i:386;s:24:"cms_points_gained_rating";i:388;s:24:"cms_points_gained_voting";i:390;s:9:"cms_sites";i:392;s:8:"cms_role";i:394;s:12:"cms_fullname";i:15;s:36:"Some personally written information.";i:19;s:32:"A link to your Facebook profile.";i:21;s:31:"A link to your Google+ profile.";i:23;s:48:"Your Twitter name (for example, 'charlie12345').";i:31;s:45:"Notes on this member, only viewable by staff.";i:84;s:289:"This should be the mobile phone number in international format, devoid of any national or international outgoing access codes. For instance, a typical UK (44) number might be nationally known as '01234 123456', but internationally and without outgoing access codes would be '441234123456'.";i:280;s:0:"";i:291;s:0:"";i:317;s:0:"";i:319;s:0:"";i:321;s:0:"";i:323;s:0:"";i:325;s:0:"";i:327;s:0:"";i:329;s:0:"";i:331;s:0:"";i:345;s:0:"";i:347;s:0:"";i:349;s:0:"";i:351;s:0:"";i:353;s:0:"";i:355;s:0:"";i:357;s:0:"";i:381;s:0:"";i:383;s:0:"";i:385;s:0:"";i:387;s:0:"";i:389;s:0:"";i:391;s:0:"";i:393;s:0:"";i:395;s:0:"";i:32;s:6:"Guests";i:36;s:17:"Global Moderators";i:38;s:13:"Super-members";i:40;s:6:"Avatar";i:42;s:9:"Harbinger";i:44;s:10:"Adventurer";i:46;s:8:"Vagabond";i:48;s:8:"Neophyte";i:50;s:9:"Probation";i:74;s:0:"";i:76;s:0:"";}s:17:"text_lookup_cache";a:89:{i:34;s:0:"";i:3433;s:0:"";i:35;s:0:"";i:3434;s:0:"";i:7;s:0:"";i:8;s:0:"";i:11;s:0:"";i:10;s:0:"";i:13;s:0:"";i:9;s:0:"";i:1;s:0:"";i:2;s:0:"";i:5;s:0:"";i:3;s:0:"";i:12;s:0:"";i:4;s:0:"";i:14;s:0:"";i:18;s:0:"";i:20;s:0:"";i:22;s:0:"";i:30;s:0:"";i:83;s:0:"";i:279;s:0:"";i:290;s:0:"";i:316;s:0:"";i:318;s:0:"";i:320;s:0:"";i:322;s:0:"";i:324;s:0:"";i:326;s:0:"";i:328;s:0:"";i:330;s:0:"";i:344;s:0:"";i:346;s:0:"";i:348;s:0:"";i:350;s:0:"";i:352;s:0:"";i:354;s:0:"";i:356;s:0:"";i:380;s:0:"";i:382;s:0:"";i:384;s:0:"";i:386;s:0:"";i:388;s:0:"";i:390;s:0:"";i:392;s:0:"";i:394;s:0:"";i:15;s:0:"";i:19;s:0:"";i:21;s:0:"";i:23;s:0:"";i:31;s:0:"";i:84;s:0:"";i:280;s:0:"";i:291;s:0:"";i:317;s:0:"";i:319;s:0:"";i:321;s:0:"";i:323;s:0:"";i:325;s:0:"";i:327;s:0:"";i:329;s:0:"";i:331;s:0:"";i:345;s:0:"";i:347;s:0:"";i:349;s:0:"";i:351;s:0:"";i:353;s:0:"";i:355;s:0:"";i:357;s:0:"";i:381;s:0:"";i:383;s:0:"";i:385;s:0:"";i:387;s:0:"";i:389;s:0:"";i:391;s:0:"";i:393;s:0:"";i:395;s:0:"";i:32;s:0:"";i:36;s:0:"";i:38;s:0:"";i:40;s:0:"";i:42;s:0:"";i:44;s:0:"";i:46;s:0:"";i:48;s:0:"";i:50;s:0:"";i:74;s:90:"return unserialize("a:5:{i:0;a:0:{}i:1;a:0:{}i:2;s:10:\":container\";i:3;N;i:4;a:0:{}}"); ";i:76;s:90:"return unserialize("a:5:{i:0;a:0:{}i:1;a:0:{}i:2;s:10:\":container\";i:3;N;i:4;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:7:"composr";s:16:"reconnected_once";b:0;}s:11:"dedupe_mode";b:0;}
Type	'->'
Args	
'f_member_custom_fields'

array

a:1:{s:12:"mf_member_id";i:2;}

''

1
File	'/home/mythus/public_html/composr/sources/hooks/systems/profiles_tabs_edit/settings.php'
Line	175
Function	'cns_edit_member'
Args	
2

'[email protected]'

0

10

11

1,980

'America/Chicago'

2

a:18:{i:1;s:0:"";i:3;s:0:"";i:4;s:0:"";i:5;s:0:"";i:9;s:0:"";i:11;s:1:"8";i:12;s:0:"";i:21;s:0:"";i:22;s:0:"";i:23;s:0:"";i:24;s:0:"";i:26;s:0:"";i:27;s:0:"";i:28;s:3:"545";i:29;s:3:"825";i:30;s:4:"2650";i:31;s:1:"1";i:32;s:0:"";}

NULL

1

1

NULL

NULL

1

0

1

'mythus'

NULL

0

'*'

''

NULL

1
File	'/home/mythus/public_html/composr/sources/hooks/systems/profiles_tabs/edit.php'
Line	99
Function	'render_tab'
Class	'Hook_profiles_tabs_edit_settings'
Object	O:32:"Hook_profiles_tabs_edit_settings":0:{}
Type	'->'
Args	
2

2

true
File	'/home/mythus/public_html/composr/sources/cns_profiles.php'
Line	56
Function	'render_tab'
Class	'Hook_profiles_tabs_edit'
Object	O:23:"Hook_profiles_tabs_edit":0:{}
Type	'->'
Args	
2

2

true
File	'/home/mythus/public_html/composr/site/pages/modules/members.php'
Line	217
Function	'render_profile_tabset'
Args	
Tempcode -> ...

2

2

'mythus'
File	'/home/mythus/public_html/composr/site/pages/modules/members.php'
Line	185
Function	'profile'
Class	'Module_members'
Object	O:14:"Module_members":3:{s:5:"title";O:8:"Tempcode":5:{s:18:"code_to_preexecute";a:1:{s:33:"tcpfunc_57320ff13b34d0.24113755_1";s:2720:"$tpl_funcs['tcpfunc_57320ff13b34d0.24113755_1']=$KEEP_TPL_FUNCS['tcpfunc_57320ff13b34d0.24113755_1']=recall_named_function('57320ff13b3605.99925332','$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\"))).\"</p>\\n	<ul>\\n \".closure_loop(array(\"AWARDS\",'vars'=>\$parameters),array(\$parameters,\$cl),\nrecall_named_function('57320ff13aff60.96917423','\$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\",\"composrLofN\")).\"\\\" /></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_57320ff13b34d0.24113755_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_57321eca262465.42351182_2";s:128:"$tpl_funcs['do_runtime_57321eca262465.42351182_2']="echo ecv(\$cl,array(),2,\"MEMBER_ACCOUNT\",array(\"mythus\",\"mythus\"));"; ";}s:9:"seq_parts";a:1:{i:0;a:1:{i:0;a:5:{i:0;s:36:"do_runtime_57321eca262465.42351182_2";i:1;a:0:{}i:2;i:2;i:3;s:14:"MEMBER_ACCOUNT";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:8:"username";s:6:"mythus";s:12:"member_id_of";i:2;}
Type	'->'
Args	
File	'/home/mythus/public_html/composr/sources/zones.php'
Line	786
Function	'run'
Class	'Module_members'
Object	O:14:"Module_members":3:{s:5:"title";O:8:"Tempcode":5:{s:18:"code_to_preexecute";a:1:{s:33:"tcpfunc_57320ff13b34d0.24113755_1";s:2720:"$tpl_funcs['tcpfunc_57320ff13b34d0.24113755_1']=$KEEP_TPL_FUNCS['tcpfunc_57320ff13b34d0.24113755_1']=recall_named_function('57320ff13b3605.99925332','$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\"))).\"</p>\\n	<ul>\\n \".closure_loop(array(\"AWARDS\",'vars'=>\$parameters),array(\$parameters,\$cl),\nrecall_named_function('57320ff13aff60.96917423','\$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\",\"composrLofN\")).\"\\\" /></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_57320ff13b34d0.24113755_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_57321eca262465.42351182_2";s:128:"$tpl_funcs['do_runtime_57321eca262465.42351182_2']="echo ecv(\$cl,array(),2,\"MEMBER_ACCOUNT\",array(\"mythus\",\"mythus\"));"; ";}s:9:"seq_parts";a:1:{i:0;a:1:{i:0;a:5:{i:0;s:36:"do_runtime_57321eca262465.42351182_2";i:1;a:0:{}i:2;i:2;i:3;s:14:"MEMBER_ACCOUNT";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:8:"username";s:6:"mythus";s:12:"member_id_of";i:2;}
Type	'->'
Args	
File	'/home/mythus/public_html/composr/sources/site.php'
Line	1,168
Function	'load_module_page'
Args	
'site/pages/modules/members.php'

'members'

Tempcode -> ...
File	'/home/mythus/public_html/composr/sources/site.php'
Line	862
Function	'request_page'
Args	
'members'

true

NULL

NULL

false

false

Tempcode -> ...
File	'/home/mythus/public_html/composr/index.php'
Line	73
Function	'do_site'
Args	
Parameters

csrf_token	
e430e57d730fc
views_signatures	
1
auto_mark_read	
1
submitting_settings_tab	
1
submitting_profile_tab	
1
submitting_avatar_tab	
1
MAX_FILE_SIZE	
52428800
submitting_photo_tab	
1
cpf_fields	
1
label_for__edit_username	
Username
edit_username	
mythus
require__edit_username	
1
label_for__edit_password	
New password
edit_password	
require__edit_password	
0
label_for__password_confirm	
Confirm password
password_confirm	
require__password_confirm	
0
label_for__email_address	
E-mail address
email_address	
[email protected]
require__email_address	
0
label_for__allow_emails	
Receive e-mails from other members
allow_emails	
1
tick_on_form__allow_emails	
0
require__allow_emails	
0
label_for__dob	
Birthday
dob	
1980-11-10
require__dob	
0
label_for__reveal_age	
Reveal age
reveal_age	
1
tick_on_form__reveal_age	
0
require__reveal_age	
0
label_for__timezone	
Time zone
timezone	
America/Chicago
require__timezone	
1
label_for__pt_allow	
Allow Private Topics from
pt_allow	
(array)
require__pt_allow	
0
label_for__pt_rules_text	
Private Topic guidelines
comcode__pt_rules_text	
1
pt_rules_text	
label_for__primary_group	
Primary usergroup
primary_group	
2
require__primary_group	
1
label_for__secondary_groups	
Additional usergroup membership
secondary_groups	
(array)
require__secondary_groups	
0
label_for__validated	
Validated
validated	
1
tick_on_form__validated	
0
require__validated	
0
label_for__field_1	
About me
comcode__field_1	
1
field_1	
label_for__field_3	
Facebook profile
field_3	
require__field_3	
0
label_for__field_4	
Google+ profile
field_4	
require__field_4	
0
label_for__field_5	
Twitter account
field_5	
require__field_5	
0
label_for__field_9	
Staff notes
comcode__field_9	
1
field_9	
label_for__field_21	
First name
field_21	
require__field_21	
0
label_for__field_22	
Last name
field_22	
require__field_22	
0
label_for__field_11	
Gained via Wiki+
field_11	
8
require__field_11	
0
label_for__field_12	
Gained via chat
field_12	
require__field_12	
0
label_for__field_28	
Used
field_28	
545
require__field_28	
0
label_for__field_29	
Gift points used
field_29	
825
require__field_29	
0
label_for__field_30	
Gained via gifts
field_30	
2650
require__field_30	
0
label_for__field_31	
Gained by rating
field_31	
1
require__field_31	
0
label_for__field_32	
Gained by voting in website polls
field_32	
require__field_32	
0
label_for__field_23	
Street address
field_23	
pre_f_field_23	
1
require__field_23	
0
label_for__field_24	
Town/City
field_24	
require__field_24	
0
label_for__field_26	
Postcode/Zip
field_26	
require__field_26	
0
label_for__field_27	
Country
field_27	
require__field_27	
0
avatar	
on
hidFileID_avatar_file	
148
avatar_file	
1
require__avatar_file	
0
require__avatar_alt_url	
0
require__avatar_stock	
1
photo	
on
hidFileID_photo_file	
-1
photo_file	
require__photo_file	
0
require__photo_url	
0
comcode__signature	
1
f_face	
/
f_size	
f_colour	
signature	
txtFileName_file1	
hidFileID_file1	
-1
posting_ref_id	
1228455773
label_for__member_title	
Title
member_title	
require__member_title	
0
label_for__privacy_1	
About me
privacy_1	
guests
require__privacy_1	
1
label_for__photo_privacy_level	
Visible to
photo_privacy_level	
guests
require__photo_privacy_level	
1
label_for__photo_privacy_friends_list_	
Additional access
photo_privacy_friends_list_0	
label_for__photo_privacy_friends_list_0	
Additional access
require__photo_privacy_friends_list_	
0
notification_invited_content_WEB_NOTIFICATION	
1
notification_new_friend_WEB_NOTIFICATION	
1
notification_received_points_WEB_NOTIFICATION	
1
notification_like_WEB_NOTIFICATION	
1
notification_member_calendar_changes_WEB_NOTIFICATION	
1
notification_news_entry_INSTANT_EMAIL	
1
notification_news_entry_WEB_NOTIFICATION	
1
notification_download_INSTANT_EMAIL	
1
notification_download_WEB_NOTIFICATION	
1
notification_catalogue_entry__faqs_INSTANT_EMAIL	
1
notification_catalogue_entry__faqs_WEB_NOTIFICATION	
1
notification_gallery_entry_INSTANT_EMAIL	
1
notification_gallery_entry_WEB_NOTIFICATION	
1
notification_catalogue_entry__links_INSTANT_EMAIL	
1
notification_catalogue_entry__links_WEB_NOTIFICATION	
1
notification_catalogue_entry__products_INSTANT_EMAIL	
1
notification_catalogue_entry__products_WEB_NOTIFICATION	
1
notification_wiki_INSTANT_EMAIL	
1
notification_wiki_WEB_NOTIFICATION	
1
notification_content_validated_WEB_NOTIFICATION	
1
notification_quiz_results_INSTANT_EMAIL	
1
notification_quiz_results_WEB_NOTIFICATION	
1
notification_calendar_reminder_WEB_NOTIFICATION	
1
notification_member_mention_WEB_NOTIFICATION	
1
notification_cns_friend_birthday_WEB_NOTIFICATION	
1
notification_cns_password_changed_WEB_NOTIFICATION	
1
notification_cns_username_changed_WEB_NOTIFICATION	
1
notification_ticket_new_staff_INSTANT_EMAIL	
1
notification_ticket_new_staff_WEB_NOTIFICATION	
1
notification_cns_topic_invite_WEB_NOTIFICATION	
1
notification_im_invited_WEB_NOTIFICATION	
1
notification_comment_posted_INSTANT_EMAIL	
1
notification_comment_posted_WEB_NOTIFICATION	
1
notification_messaging_WEB_NOTIFICATION	
1
notification_ticket_reply_staff_INSTANT_EMAIL	
1
notification_ticket_reply_staff_WEB_NOTIFICATION	
1
notification_ticket_reply_WEB_NOTIFICATION	
1
notification_task_completed_WEB_NOTIFICATION	
1
notification_cns_group_join_request_WEB_NOTIFICATION	
1
notification_cns_promotion_WEB_NOTIFICATION	
1
notification_cns_group_declined_WEB_NOTIFICATION	
1
notification_needs_validation_INSTANT_EMAIL	
1
notification_needs_validation_WEB_NOTIFICATION	
1
notification_cns_member_needs_validation_WEB_NOTIFICATION	
1
notification_payment_received_WEB_NOTIFICATION	
1
notification_paid_subscription_messages_WEB_NOTIFICATION	
1
notification_invoice_WEB_NOTIFICATION	
1
notification_order_dispatched_WEB_NOTIFICATION	
1
auto_monitor_contrib_content	
1
label_for__delete	
Delete
tick_on_form__delete	
0
require__delete	
0
http_referer	
http://legendsofnorova.net/composr/index.php?page=members&type=view&id=mythus#tab__edit
pt_rules_text__is_wysiwyg	
1
field_1__is_wysiwyg	
1
field_9__is_wysiwyg	
1
signature__is_wysiwyg	
1
Time estimation (hours)
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

Chris Graham

2016-05-11 14:00

administrator   ~3911

In the past we've had unintended compatibility changes on how CPFs are stored in MySQL, due to bugs in their creation - and Composr is more strict. I have made it now that when you edit a CPF it refreshes the DB settings for it. I've tested this on your site and now your profiles do edit.

Issue History

Date Modified Username Field Change
2016-05-10 17:52 mythus New Issue
2016-05-10 17:52 mythus File Added: stacktrace-memberavatarchange.txt
2016-05-11 14:00 Chris Graham Note Added: 0003911
2016-05-11 14:00 Chris Graham Status Not Assigned => Resolved
2016-05-11 14:00 Chris Graham Resolution open => fixed
2016-05-11 14:00 Chris Graham Assigned To => Chris Graham