[Catalyst] Catalyst::Manual::Tutorial::CatalystBasics [error]Couldn't render template "undef error - status_msg is undefined

David Christensen dpchrist at holgerdanske.com
Thu Mar 15 05:22:09 GMT 2007


Jason Kohles wrote:
> It looks like you've turned on debugging in Template, either
> DEBUG_UNDEF or DEBUG_ALL

Yup:

    2007-03-14 22:09:33 dpchrist at p3800 ~/MyApp
    $ grep -i debug lib/MyApp/View/TT.pm
        DEBUG       => 'undef',


I put in there per the tutorial
(http://search.cpan.org/~jrockway/Catalyst-Manual-5.700501/lib/Catalyst/Manual/Tu
torial/CatalystBasics.pod):

    TIP: When troubleshooting TT it can be helpful to enable variable
    DEBUG options. You can do this in a Catalyst environment by adding
    a DEBUG line to the __PACKAGE__-config> declaration in
    lib/MyApp/View/TT.pm:

    __PACKAGE__->config({
        CATALYST_VAR => 'Catalyst',
        ...
        DEBUG        => 'undef',
        ...
    });


Taking it out fixes the problem.  :-)


Kieren Diment wrote:
> svn co
http://dev.catalyst.perl.org/repos/Catalyst/tags/examples/Tutorial/MyApp/5.7/Cata
lystTutorial 


Thanks for the suggestion.  I learn the most if I type things in myself, but am
not above cut/paste, download, and/or diff.  :-)


David




More information about the Catalyst mailing list