[Catalyst] Authentication

Denis denis at uzvik.kiev.ua
Tue Dec 6 10:38:21 CET 2005


Full error message:

[Tue Dec  6 11:33:52 2005] [catalyst] [info] F powered by Catalyst 5.57
Insufficient Arguments : You must specify a path at C:/Perl/site/lib//Tree/Simple/Visitor/FindByPath.pm line 31.
Compilation failed in require at f_server.pl line 13.
BEGIN failed--compilation aborted at f_server.pl line 13.




YK> On Tue, Dec 06, 2005 at 01:42:12 +0200, Denis wrote:
>> Hi ppl,
>> I try use Authentication ,as described at
>> http://dev.catalyst.perl.org/wiki/BestPractices

YK> Looking back at that it's kinda vague - I'm guessing I wrote it.

YK> Does anybody want to take a crack at fixing this?

>> When I add this line:
>> __PACKAGE__->deny_access_unless( "/", sub { $_[1]->user } );
>> I get error:
>> Insufficient Arguments : You must specify a path at (...)

YK> Can you copy paste more?

YK> I don't think i ever used that wording, so i suspect the error is
YK> not mine.

YK> Also, try to run it wither

YK>         perl -MCarp=verbose

YK> to provide a full error stack.

>> So question is: how to add to deny_access_unless to all components,
>> because "/" is incorrect ?

YK> It actually is correct. The error is due to some other reason.






More information about the Catalyst mailing list