
waldo at vqronline
Feb 11, 2010, 1:13 PM
Post #1 of 2
(473 views)
Permalink
|
|
Error While Uploading Related Media
|
|
Folks, When uploading an image as a related media element in v1.11.3, I receive this error: Can't call method "activate" on an undefined value at /usr/local/bricolage/lib/Bric/App/Callback/Profile/Media.pm line 45, <GEN19> line 974. This was while editing a modifying an existing, already published story. I added a new page, added a related media element, and chose "Edit." That popped up the "Select Related Media" window, from which I selected a file from my desktop computer and clicked on "Create." I have several types of images (Illustration, Photograph, and Page Scan), though no matter which one is selected, I'm met with that error. The file never uploads. I’ve included the stack trace at the bottom of my e-mail. Although it’s possible that I’ve done something terribly wrong in defining my elements, presumably it shouldn’t result in a show-stopping error like this. Before I file a bug report, I just want to check: Does anybody know if I’m doing something wrong here? Best, Waldo Fault Class Bric::Util::Fault Description Bricolage Exception Timestamp 2010-02-11 15:53:27.000000 Package Bric::App::Handler Filename /usr/local/bricolage/lib/Bric/App/Handler.pm Line 382 Stack: Trace begun at /usr/local/bricolage/lib/Bric/App/Handler.pm line 382 Bric::App::Handler::cb_exception_handler('Can\'t call method "activate" on an undefined value at /usr/local/bricolage/lib/Bric/App/Callback/Profile/Media.pm line 45, line 974.^J') called at /usr/lib/perl5/site_perl/5.8.8/Params/CallbackRequest.pm line 310 Params::CallbackRequest::request('Params::CallbackRequest=HASH(0x2ac8f14cff40)', 'HASH(0x2ac8f3fb0cc0)', 'requester', 'MasonX::Interp::WithCallbacks=HASH(0x2ac8f3531e70)', 'apache_req', 'Apache2::Request=SCALAR(0x2ac8f5af8ae0)') called at /usr/lib/perl5/site_perl/5.8.8/MasonX/Interp/WithCallbacks.pm line 119 MasonX::Interp::WithCallbacks::make_request('MasonX::Interp::WithCallbacks=HASH(0x2ac8f3531e70)', 'comp', '/workflow/profile/story/container/edit_related_media.html', 'args', 'ARRAY(0x2ac8e123cf00)', 'ah', 'HTML::Mason::ApacheHandler=HASH(0x2ac8f3531d20)', 'apache_req', 'Apache2::Request=SCALAR(0x2ac8f5af8ae0)') called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm line 868 eval {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm line 867 HTML::Mason::ApacheHandler::prepare_request('HTML::Mason::ApacheHandler=HASH(0x2ac8f3531d20)', 'Apache2::RequestRec=SCALAR(0x2ac8f5b807a0)') called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm line 822 HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x2ac8f3531d20)', 'Apache2::RequestRec=SCALAR(0x2ac8f5b807a0)') called at /usr/local/bricolage/lib/Bric/App/Handler.pm line 307 eval {...} at /usr/local/bricolage/lib/Bric/App/Handler.pm line 296 Bric::App::Handler::handler('Apache2::RequestRec=SCALAR(0x2ac8f5b807a0)') called at -e line 0 eval {...} at -e line 0
|