01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
System errorerror: Can't call method "prepare" on an undefined value at /www/del.icio.us/comp/update line 9.context: ... 5: </%args>6: <%init>7: 8: $dbh = $db->{update};9: 10: my $upd_get ||= $dbh->prepare(' select UNIX_TIMESTAMP(dt) as dt from resource_update where resource_md5 = md5(?) ');11: my $upd_set ||= $dbh->prepare(' replace resource_update values(md5(?), now()); ');12: 13: $resource = lc($resource);... code stack: /www/del.icio.us/comp/update:9/www/del.icio.us/comp/posts/delete:75/www/del.icio.us/comp/posts/add:130/www/del.icio.us/site/dhandler:247/www/del.icio.us/site/autohandler:94raw errorCan't call method "prepare" on an undefined value at /www/del.icio.us/comp/update line 9.Trace begun at /usr/share/perl5/HTML/Mason/Exceptions.pm line 131HTML::Mason::Exceptions::rethrow_exception('Can\'t call method "prepare" on an undefined value at /www/del.icio.us/comp/update line 9.^J') called at /www/del.icio.us/comp/update line 9HTML::Mason::Commands::__ANON__('dbh', 'DBI::db=HASH(0x1b06140)', 'resource', 'masao', 'set', 1) called at /usr/share/perl5/HTML/Mason/Component.pm line 134HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xfe07c0)', 'dbh', 'DBI::db=HASH(0x1b06140)', 'resource', 'masao', 'set', 1) called at /usr/share/perl5/HTML/Mason/Request.pm line 1074eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1068HTML::Mason::Request::comp(undef, undef, 'dbh', 'DBI::db=HASH(0x1b06140)', 'resource', 'masao', 'set', 1) called at /www/del.icio.us/comp/posts/delete line 75HTML::Mason::Commands::__ANON__('dbh', 'DBI::db=HASH(0x1b06140)', 'user', 'HASH(0xfe48f0)', 'url', 'http://www.barnraiser.org/index.php?page=SoftwareBeacon', 'remote_ip', '') called at /usr/share/perl5/HTML/Mason/Component.pm line 134HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x1fe5780)', 'dbh', 'DBI::db=HASH(0x1b06140)', 'user', 'HASH(0xfe48f0)', 'url', 'http://www.barnraiser.org/index.php?page=SoftwareBeacon', 'remote_ip', '') called at /usr/share/perl5/HTML/Mason/Request.pm line 1074eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1068HTML::Mason::Request::comp(undef, undef, 'dbh', 'DBI::db=HASH(0x1b06140)', 'user', 'HASH(0xfe48f0)', 'url', 'http://www.barnraiser.org/index.php?page=SoftwareBeacon', 'remote_ip', '') called at /www/del.icio.us/comp/posts/add line 130HTML::Mason::Commands::__ANON__('dbh', 'DBI::db=HASH(0x1b06140)', 'url', 'http://www.barnraiser.org/index.php?page=SoftwareBeacon', 'description', 'Barnraiser', 'user', 'HASH(0xfe48f0)', 'tags', '', 'date', '', 'extended', '', 'fp', 1) called at /usr/share/perl5/HTML/Mason/Component.pm line 134HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xff84e0)', 'dbh', 'DBI::db=HASH(0x1b06140)', 'url', 'http://www.barnraiser.org/index.php?page=SoftwareBeacon', 'description', 'Barnraiser', 'user', 'HASH(0xfe48f0)', 'tags', '', 'date', '', 'extended', '', 'fp', 1) called at /usr/share/perl5/HTML/Mason/Request.pm line 1074eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1068HTML::Mason::Request::comp(undef, undef, 'dbh', 'DBI::db=HASH(0x1b06140)', 'url', 'http://www.barnraiser.org/index.php?page=SoftwareBeacon', 'description', 'Barnraiser', 'user', 'HASH(0xfe48f0)', 'tags', '', 'date', '', 'extended', '', 'fp', 1) called at /www/del.icio.us/site/dhandler line 247HTML::Mason::Commands::__ANON__('oldurl', 'http://www.barnraiser.org/index.php?page=SoftwareBeacon', 'notes', '', 'url', 'http://www.barnraiser.org/index.php?page=SoftwareBeacon', 'description', 'Barnraiser', 'tags', '', 'dbh', 'DBI::db=HASH(0x1b06140)', 'auth_user', 'masao', 'items', 10, 'tagview', 'list', 'tagsort', 'alpha', 'bundleview', 'show', 'cookies', 'HASH(0x1fff600)', 'browser', 'ff') called at /usr/share/perl5/HTML/Mason/Component.pm line 134HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x1cf3b70)', 'oldurl', 'http://www.barnraiser.org/index.php?page=SoftwareBeacon', 'notes', '', 'url', 'http://www.barnraiser.org/index.php?page=SoftwareBeacon', 'description', 'Barnraiser', 'tags', '', 'dbh', 'DBI::db=HASH(0x1b06140)', 'auth_user', 'masao', 'items', 10, 'tagview', 'list', 'tagsort', 'alpha', 'bundleview', 'show', 'cookies', 'HASH(0x1fff600)', 'browser', 'ff') called at /usr/share/perl5/HTML/Mason/Request.pm line 1074eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1068HTML::Mason::Request::comp(undef, undef, 'oldurl', 'http://www.barnraiser.org/index.php?page=SoftwareBeacon', 'notes', '', 'url', 'http://www.barnraiser.org/index.php?page=SoftwareBeacon', 'description', 'Barnraiser', 'tags', '', 'dbh', 'DBI::db=HASH(0x1b06140)', 'auth_user', 'masao', 'items', 10, 'tagview', 'list', 'tagsort', 'alpha', 'bundleview', 'show', 'cookies', 'HASH(0x1fff600)', 'browser', 'ff') called at /usr/share/perl5/HTML/Mason/Request.pm line 760HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0xffcd50)', 'dbh', 'DBI::db=HASH(0x1b06140)', 'auth_user', 'masao', 'items', 10, 'tagview', 'list', 'tagsort', 'alpha', 'bundleview', 'show', 'cookies', 'HASH(0x1fff600)', 'browser', 'ff') called at /www/del.icio.us/site/autohandler line 94HTML::Mason::Commands::__ANON__('oldurl', 'http://www.barnraiser.org/index.php?page=SoftwareBeacon', 'notes', '', 'url', 'http://www.barnraiser.org/index.php?page=SoftwareBeacon', 'description', 'Barnraiser', 'tags', '') called at /usr/share/perl5/HTML/Mason/Component.pm line 134HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x1ad7610)', 'oldurl', 'http://www.barnraiser.org/index.php?page=SoftwareBeacon', 'notes', '', 'url', 'http://www.barnraiser.org/index.php?page=SoftwareBeacon', 'description', 'Barnraiser', 'tags', '') called at /usr/share/perl5/HTML/Mason/Request.pm line 1069eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1068HTML::Mason::Request::comp(undef, undef, undef, 'oldurl', 'http://www.barnraiser.org/index.php?page=SoftwareBeacon', 'notes', '', 'url', 'http://www.barnraiser.org/index.php?page=SoftwareBeacon', 'description', 'Barnraiser', 'tags', '') called at /usr/share/perl5/HTML/Mason/Request.pm line 338eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 338eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 297HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0xffcd50)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 134eval {...} at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 134HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0xffcd50)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 793HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x1a94a20)', 'Apache=SCALAR(0x1ff7070)') called at (eval 43) line 8HTML::Mason::ApacheHandler::handler('HTML::Mason::ApacheHandler', 'Apache=SCALAR(0x1ff7070)') called at /etc/delicious/config.pl line 0eval {...} at /etc/delicious/config.pl line 0