Hi David,

Ah gotcha, thanks found what I believe to be the culprit.

Though I think the code was auto generated when using the helper script to 
create the base application?

        static  => {dirs => ['static', qr/^(images|css)/,]}

        Replaced with...

        'Plugin::Static::Simple'  => {dirs => ['static', qr/^(images|css)/,]}

The warning has now gone when firing up the devel server.

Much obliged

Craig.

-----Original Message-----
From: David Schmidt [mailto:davew...@gmx.at]
Sent: 18 October 2012 07:48
To: The elegant MVC web framework
Subject: Re: [Catalyst] Canot get application working on IIS7 via FastCGI

> Though while we are on the subject of  Catalyst plug-ins, I do get this 
> message in the devel server output when it's started.
>
> [warn] Deprecated 'static' config key used, please use the key 
> 'Plugin::Static::Simple' instead
>
> I've looked at the main application MyApp.pm in the lib folder and the 
> plug-ins loaded are :-
>
> use Catalyst qw/
>     -Debug
>     ConfigLoader
>     Static::Simple
>     StackTrace
>     Session
>     Session::Store::FastMmap
>     Session::State::Cookie
> /;
>
> I've tried putting Plugin::Static::Simple insted but that falls over because 
> it can't locate the plug-in module, I've checked PPM and I have 
> 'Plugin::Static::Simple' Catalyst CPAN module installed so am little stumped 
> especially with the limited beginners knowledge I have of your framework so 
> perhaps you could advise.



Doesnt really matter in this case. It just warns you to use

    MyApp->config(
        'Plugin::Static::Simple' => {
            ...
        }
    );

instead of

    MyApp->config(
        static => {
            ...
        }
    );

_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/
This Email and any attachments contain confidential information and is intended 
solely for the individual to whom it is addressed. If this Email has been 
misdirected, please notify the author as soon as possible. If you are not the 
intended recipient you must not disclose, distribute, copy, print or rely on 
any of the information contained, and all copies must be deleted immediately. 
Whilst we take reasonable steps to try to identify any software viruses, any 
attachments to this e-mail may nevertheless contain viruses, which our 
anti-virus software has failed to identify. You should therefore carry out your 
own anti-virus checks before opening any documents. HomeLoan Partnership will 
not accept any liability for damage caused by computer viruses emanating from 
any attachment or other document supplied with this e-mail. HomeLoan 
Partnership reserves the right to monitor and archive all e-mail communications 
through its network. No representative or employee of HomeLoan Partnership has 
the authority to enter into any contract on behalf of HomeLoan Partnership by 
email. HomeLoan Partnership is a trading name of H L Partnership Limited, 
registered in England and Wales with Registration Number 5011722. Registered 
office: 26-34 Old Street, London, EC1V 9QQ. H L Partnership Limited is 
authorised and regulated by the Financial Services Authority.
_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to