System error

error:  DBD::mysql::st execute failed: Column 'thread_id' cannot be null at /var/www/firstsite/comps/request/stat/model/update_stat_thread.mas line 36.
context: 
... 
32:  "page_id = ?, " .
33:  "thread_id = ?, " .
34:  "hits = 1, " .
35:  "date = ? ");
36:  $sth1->execute($site->{site_id}, $page_id, $thread_id, $date);
37:  $sth1->finish;
38:  }
39:  else
40:  {
... 
code stack:  /var/www/firstsite/comps/request/stat/model/update_stat_thread.mas:36
/var/www/firstsite/comps/request/post/disp/one_thread.mas:30
/var/www/firstsite/comps/request/page/disp/page_layout_thread.mas:59
/var/www/firstsite/comps/request/page/disp/page_layout.mas:102
/var/www/firstsite/extlib/lib/perl5/HTML/Mason/Request.pm:948
/var/www/firstsite/run/mason/obj/2011159162/request/page/disp/page_layout.mas.obj:52
/var/www/firstsite/comps/request/layout/layout.mas:147
/var/www/firstsite/comps/request/layout/templates/solid/solid_layout.mas:94
/var/www/firstsite/comps/request/layout/layout.mas:148
/var/www/firstsite/extlib/lib/perl5/HTML/Mason/Request.pm:948
/var/www/firstsite/run/mason/obj/2011159162/request/layout/layout.mas.obj:62
/var/www/firstsite/comps/request/layout/autohandler:69
/var/www/firstsite/comps/request/autohandler:70
raw error






























DBD::mysql::st execute failed: Column 'thread_id' cannot be null at /var/www/firstsite/comps/request/stat/model/update_stat_thread.mas line 36.


Trace begun at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Exceptions.pm line 125
HTML::Mason::Exceptions::rethrow_exception('DBD::mysql::st execute failed: Column \'thread_id\' cannot be null at /var/www/firstsite/comps/request/stat/model/update_stat_thread.mas line 36.^J') called at /var/www/firstsite/comps/request/stat/model/update_stat_thread.mas line 36
eval {...} at /var/www/firstsite/comps/request/stat/model/update_stat_thread.mas line 12
HTML::Mason::Commands::__ANON__('site', 'HASH(0x7fe4c40307f0)', 'page_id', 15, 'thread_id', undef) called at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7fe4e029d3b0)', 'site', 'HASH(0x7fe4c40307f0)', 'page_id', 15, 'thread_id', undef) called at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Request.pm line 1302
eval {...} at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, 'site', 'HASH(0x7fe4c40307f0)', 'page_id', 15, 'thread_id', undef) called at /var/www/firstsite/comps/request/post/disp/one_thread.mas line 30
HTML::Mason::Commands::__ANON__('site', 'HASH(0x7fe4c40307f0)', 'page', 'HASH(0x7fe4b8106d60)', 'thread_id', undef, 'edit_on', '', 'editable', 0, 'width', 'HASH(0x7fe4d04f7128)', 'container', 1) called at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7fe4bc0f3c10)', 'site', 'HASH(0x7fe4c40307f0)', 'page', 'HASH(0x7fe4b8106d60)', 'thread_id', undef, 'edit_on', '', 'editable', 0, 'width', 'HASH(0x7fe4d04f7128)', 'container', 1) called at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Request.pm line 1302
eval {...} at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, 'site', 'HASH(0x7fe4c40307f0)', 'page', 'HASH(0x7fe4b8106d60)', 'thread_id', undef, 'edit_on', '', 'editable', 0, 'width', 'HASH(0x7fe4d04f7128)', 'container', 1) called at /var/www/firstsite/comps/request/page/disp/page_layout_thread.mas line 59
HTML::Mason::Commands::__ANON__('site', 'HASH(0x7fe4c40307f0)', 'page', 'HASH(0x7fe4b8106d60)', 'thread_id', undef, 'editable', 0) called at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7fe4e029cf48)', 'site', 'HASH(0x7fe4c40307f0)', 'page', 'HASH(0x7fe4b8106d60)', 'thread_id', undef, 'editable', 0) called at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Request.pm line 1302
eval {...} at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef, 'site', 'HASH(0x7fe4c40307f0)', 'page', 'HASH(0x7fe4b8106d60)', 'thread_id', undef, 'editable', 0) called at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Request.pm line 955
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x55a2fb66a258)') called at /var/www/firstsite/comps/request/page/disp/page_layout.mas line 102
HTML::Mason::Commands::__ANON__('site', 'HASH(0x7fe4c40307f0)', 'page', 'HASH(0x7fe4b8106d60)', 'thread_id', undef, 'editable', 0) called at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Component.pm line 157
HTML::Mason::Component::run_dynamic_sub('HTML::Mason::Component::FileBased=HASH(0x7fe4e00694b0)', 'main', 'site', 'HASH(0x7fe4c40307f0)', 'page', 'HASH(0x7fe4b8106d60)', 'thread_id', undef, 'editable', 0) called at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Request.pm line 948
HTML::Mason::Request::call_dynamic('HTML::Mason::Request::ApacheHandler=HASH(0x55a2fb66a258)', 'main', 'site', 'HASH(0x7fe4c40307f0)', 'page', 'HASH(0x7fe4b8106d60)', 'thread_id', undef, 'editable', 0) called at /var/www/firstsite/run/mason/obj/2011159162/request/page/disp/page_layout.mas.obj line 52
HTML::Mason::Commands::__ANON__('site', 'HASH(0x7fe4c40307f0)', 'page', 'HASH(0x7fe4b8106d60)', 'thread_id', undef, 'editable', 0) called at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7fe4e00694b0)', 'site', 'HASH(0x7fe4c40307f0)', 'page', 'HASH(0x7fe4b8106d60)', 'thread_id', undef, 'editable', 0) called at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Request.pm line 1298
eval {...} at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef, 'site', 'HASH(0x7fe4c40307f0)', 'page', 'HASH(0x7fe4b8106d60)', 'thread_id', undef, 'editable', 0) called at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Request.pm line 955
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x55a2fb66a258)') called at /var/www/firstsite/comps/request/layout/layout.mas line 147
HTML::Mason::Commands::__ANON__ at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Request.pm line 1380
eval {...} at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Request.pm line 1380
HTML::Mason::Request::content('HTML::Mason::Request::ApacheHandler=HASH(0x55a2fb66a258)') called at /var/www/firstsite/comps/request/layout/templates/solid/solid_layout.mas line 94
HTML::Mason::Commands::__ANON__('site', 'HASH(0x7fe4c40307f0)', 'category', 'HASH(0x7fe4c4521f08)', 'page', 'HASH(0x7fe4b8106d60)', 'editable', 0, 'edit_on', '', 'ccs_class', undef, 'type', undef, 'feature_list', undef) called at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7fe4e0174fd0)', 'site', 'HASH(0x7fe4c40307f0)', 'category', 'HASH(0x7fe4c4521f08)', 'page', 'HASH(0x7fe4b8106d60)', 'editable', 0, 'edit_on', '', 'ccs_class', undef, 'type', undef, 'feature_list', undef) called at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Request.pm line 1302
eval {...} at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef, 'site', 'HASH(0x7fe4c40307f0)', 'category', 'HASH(0x7fe4c4521f08)', 'page', 'HASH(0x7fe4b8106d60)', 'editable', 0, 'edit_on', '', 'ccs_class', undef, 'type', undef, 'feature_list', undef) called at /var/www/firstsite/comps/request/layout/layout.mas line 148
HTML::Mason::Commands::__ANON__('site', 'HASH(0x7fe4c40307f0)', 'page', 'HASH(0x7fe4b8106d60)', 'thread_id', undef, 'editable', 0) called at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Component.pm line 157
HTML::Mason::Component::run_dynamic_sub('HTML::Mason::Component::FileBased=HASH(0x7fe4e0078f70)', 'main', 'site', 'HASH(0x7fe4c40307f0)', 'page', 'HASH(0x7fe4b8106d60)', 'thread_id', undef, 'editable', 0) called at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Request.pm line 948
HTML::Mason::Request::call_dynamic('HTML::Mason::Request::ApacheHandler=HASH(0x55a2fb66a258)', 'main', 'site', 'HASH(0x7fe4c40307f0)', 'page', 'HASH(0x7fe4b8106d60)', 'thread_id', undef, 'editable', 0) called at /var/www/firstsite/run/mason/obj/2011159162/request/layout/layout.mas.obj line 62
HTML::Mason::Commands::__ANON__('site', 'HASH(0x7fe4c40307f0)', 'page', 'HASH(0x7fe4b8106d60)', 'thread_id', undef, 'editable', 0) called at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7fe4e0078f70)', 'site', 'HASH(0x7fe4c40307f0)', 'page', 'HASH(0x7fe4b8106d60)', 'thread_id', undef, 'editable', 0) called at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Request.pm line 1302
eval {...} at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef, 'site', 'HASH(0x7fe4c40307f0)', 'page', 'HASH(0x7fe4b8106d60)', 'thread_id', undef, 'editable', 0) called at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Request.pm line 955
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x55a2fb66a258)') called at /var/www/firstsite/comps/request/layout/autohandler line 69
HTML::Mason::Commands::__ANON__('site', 'HASH(0x7fe4c40307f0)', 'page', 'HASH(0x7fe4b8106d60)', 'thread_id', undef, 'editable', 0) called at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7fe4e00ea8e8)', 'site', 'HASH(0x7fe4c40307f0)', 'page', 'HASH(0x7fe4b8106d60)', 'thread_id', undef, 'editable', 0) called at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Request.pm line 1302
eval {...} at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef, 'site', 'HASH(0x7fe4c40307f0)', 'page', 'HASH(0x7fe4b8106d60)', 'thread_id', undef, 'editable', 0) called at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Request.pm line 955
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x55a2fb66a258)') called at /var/www/firstsite/comps/request/autohandler line 70
HTML::Mason::Commands::__ANON__('site', 'HASH(0x7fe4c40307f0)', 'page', 'HASH(0x7fe4b8106d60)', 'thread_id', undef, 'editable', 0) called at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7fe4e00b1178)', 'site', 'HASH(0x7fe4c40307f0)', 'page', 'HASH(0x7fe4b8106d60)', 'thread_id', undef, 'editable', 0) called at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Request.pm line 1300
eval {...} at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef, 'site', 'HASH(0x7fe4c40307f0)', 'page', 'HASH(0x7fe4b8106d60)', 'thread_id', undef, 'editable', 0) called at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Request.pm line 481
eval {...} at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Request.pm line 481
eval {...} at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Request.pm line 433
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x55a2fb66a258)') called at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/ApacheHandler.pm line 146
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x55a2fb66a258)') called at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Request.pm line 579
HTML::Mason::Request::subexec(undef, undef, 'site', 'HASH(0x7fe4c40307f0)', 'page', 'HASH(0x7fe4b8106d60)', 'thread_id', undef, 'editable', 0) called at /var/www/firstsite/comps/request/page/disp/page.mas line 89
HTML::Mason::Commands::__ANON__('site', 'HASH(0x7fe4c40307f0)', 'content', 'thread/15/WWW.SYSUAA.ORG', 'site', 'HASH(0x7fe4c40307f0)') called at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Component.pm line 157
HTML::Mason::Component::run_dynamic_sub('HTML::Mason::Component::FileBased=HASH(0x7fe4d04fb0e0)', 'main', 'site', 'HASH(0x7fe4c40307f0)', 'content', 'thread/15/WWW.SYSUAA.ORG', 'site', 'HASH(0x7fe4c40307f0)') called at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Request.pm line 948
HTML::Mason::Request::call_dynamic('HTML::Mason::Request::ApacheHandler=HASH(0x7fe4c42c7408)', 'main', 'site', 'HASH(0x7fe4c40307f0)', 'content', 'thread/15/WWW.SYSUAA.ORG', 'site', 'HASH(0x7fe4c40307f0)') called at /var/www/firstsite/run/mason/obj/2011159162/request/page/disp/page.mas.obj line 6
HTML::Mason::Commands::__ANON__('site', 'HASH(0x7fe4c40307f0)', 'content', 'thread/15/WWW.SYSUAA.ORG', 'site', 'HASH(0x7fe4c40307f0)') called at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7fe4d04fb0e0)', 'site', 'HASH(0x7fe4c40307f0)', 'content', 'thread/15/WWW.SYSUAA.ORG', 'site', 'HASH(0x7fe4c40307f0)') called at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Request.pm line 1302
eval {...} at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, 'site', 'HASH(0x7fe4c40307f0)', 'content', 'thread/15/WWW.SYSUAA.ORG', 'site', 'HASH(0x7fe4c40307f0)') called at /var/www/firstsite/comps/request/disp.mas line 22
HTML::Mason::Commands::__ANON__('site', 'HASH(0x7fe4c40307f0)', 'content', 'page/thread/15/WWW.SYSUAA.ORG') called at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Component.pm line 157
HTML::Mason::Component::run_dynamic_sub('HTML::Mason::Component::FileBased=HASH(0x7fe4d04f4db0)', 'main', 'site', 'HASH(0x7fe4c40307f0)', 'content', 'page/thread/15/WWW.SYSUAA.ORG') called at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Request.pm line 948
HTML::Mason::Request::call_dynamic('HTML::Mason::Request::ApacheHandler=HASH(0x7fe4c42c7408)', 'main', 'site', 'HASH(0x7fe4c40307f0)', 'content', 'page/thread/15/WWW.SYSUAA.ORG') called at /var/www/firstsite/run/mason/obj/2011159162/request/disp.mas.obj line 6
HTML::Mason::Commands::__ANON__('site', 'HASH(0x7fe4c40307f0)', 'content', 'page/thread/15/WWW.SYSUAA.ORG') called at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7fe4d04f4db0)', 'site', 'HASH(0x7fe4c40307f0)', 'content', 'page/thread/15/WWW.SYSUAA.ORG') called at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Request.pm line 1302
eval {...} at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, 'site', 'HASH(0x7fe4c40307f0)', 'content', 'page/thread/15/WWW.SYSUAA.ORG') called at /var/www/firstsite/lib/handler.pl line 106
HTML::Mason::Commands::comp('/request/disp.mas', 'site', 'HASH(0x7fe4c40307f0)', 'content', 'page/thread/15/WWW.SYSUAA.ORG') called at /var/www/firstsite/comps/site/dhandler line 190
HTML::Mason::Commands::__ANON__ at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Component.pm line 157
HTML::Mason::Component::run_dynamic_sub('HTML::Mason::Component::FileBased=HASH(0x7fe4d03e4780)', 'main') called at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Request.pm line 948
HTML::Mason::Request::call_dynamic('HTML::Mason::Request::ApacheHandler=HASH(0x7fe4c42c7408)', 'main') called at /var/www/firstsite/run/mason/obj/2011159162/site/dhandler.obj line 31
HTML::Mason::Commands::__ANON__ at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7fe4d03e4780)') called at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Request.pm line 1302
eval {...} at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef) called at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Request.pm line 955
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x7fe4c42c7408)') called at /var/www/firstsite/comps/autohandler line 49
HTML::Mason::Commands::__ANON__ at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Component.pm line 157
HTML::Mason::Component::run_dynamic_sub('HTML::Mason::Component::FileBased=HASH(0x7fe4d03d5d18)', 'main') called at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Request.pm line 948
HTML::Mason::Request::call_dynamic('HTML::Mason::Request::ApacheHandler=HASH(0x7fe4c42c7408)', 'main') called at /var/www/firstsite/comps/autohandler line 23
HTML::Mason::Commands::__ANON__ at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7fe4d03d5d18)') called at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Request.pm line 1300
eval {...} at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef) called at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Request.pm line 481
eval {...} at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Request.pm line 481
eval {...} at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/Request.pm line 433
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x7fe4c42c7408)') called at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/ApacheHandler.pm line 168
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x7fe4c42c7408)') called at /var/www/firstsite/extlib/lib/perl5/HTML/Mason/ApacheHandler.pm line 825
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x55a2fc999ad8)', 'Apache2::RequestRec=SCALAR(0x7fe4c4303ae0)') called at /var/www/firstsite/lib/handler.pl line 40
WBB::ApacheHandler::handler('Apache2::RequestRec=SCALAR(0x7fe4c4303ae0)') called at -e line 0
eval {...} at -e line 0