
cdmiller at adams
May 6, 2008, 7:41 AM
Post #6 of 9
(44 views)
Permalink
|
|
Re: RE : 1.11.0 Ubuntu Hardy login problem
[In reply to]
|
|
David E. Wheeler wrote: > On May 5, 2008, at 14:10, cdmiller wrote: > >> Still have this callback for key login|login_cb not found. >> >> Bric::App::Callback::Login is loaded and I get my print statement output >> at server startup. Cleared out /tmp/bricolage, ran the bric_clean_tmp, >> all browser data. Make uninstall, and clean code base reinstall. >> >> I can't seem to find where the 'login_cb' is being looked for or used by >> anything? It appears 'login|login_cb' is the name for the button in the >> login form. 'login_cb' gets assigned by button.mc, but what cares about >> finding 'login|login_cb' after the mouse click? Is there supposed to be >> a hash magically initialized somewhere? >> >> This is on Ubuntu Hardy, Apache 2.2.8, HTML::Mason 1.39, >> MasonX::Interp::WithCallbacks 1.18, mod_perl 2.0.3, and the bricolage >> 1.11.0 downloaded from sourceforge. >> >> Most of my perl is still based on the pink book, so go easy on me :) > > Heh, that's how I first learned Perl, too. In 1995! > > Params::CallbackRequest is what looks for the callbacks. When you submit > a form to Bricolage, Params::CallbackRequest looks at all of the field > names, and any with the format of "foo|bar_cb" are assumed to be > callbacks. It then looks for a callback class that has been loaded and > identified with the key "foo", and then it looks for the callback method > "bar" in that class. > > So, is what's happening that the login form comes up, you submit it, and > then you get that error? Correct. Click "Log in", and the error comes up in the resultant bricolage window. Menus are on the left hand side, choose anything and it's back to the login form. I have also tried this with SSL off, with everything going through port 80. Params::CallbackRequest is at version 1.17 We have a perl guy here who said something about trying to chase it down with data dumper, so we may be looking at that this afternoon. I am presuming this is something screwed up in my install. - cameron
|