FAQ
I am using the Cache::FileCache module and I can't get it to install correctly although my peers have, and they dont know why i'm having problems.

The error message is referring to this line of code:

unless($info = $c->cache->get($searchcache)){


Here's a snippet of my log:

[Thu Apr 13 22:44:56 2006] [catalyst] [debug] Loaded plugins:
.------------------------------------------------------------------------------.
Catalyst::Plugin::Static::Simple |
Catalyst::Plugin::FormValidator |
Catalyst::Plugin::Static |
Catalyst::Plugin::SubRequest |
Catalyst::Plugin::Cache::FileCache |
'------------------------------------------------------------------------------'

[Thu Apr 13 22:44:56 2006] [catalyst] [debug] Loaded dispatcher "Catalyst::Dispatcher"
[Thu Apr 13 22:44:56 2006] [catalyst] [debug] Loaded engine "Catalyst::Engine::Apache2::MP20"

also my peers are using apache1, whereas i'm using apache2.

I THINK i installed filecache correctly...

/usr/lib/perl5/site_perl/5.8.6/Catalyst/Plugin/Cache$ ls
FileCache.pm

my peer also has it installed the same way.

Any input is greatly appreciated. TIA.

---------------------------------
Blab-away for as little as 1?/min. Make PC-to-Phone Calls using Yahoo! Messenger with Voice.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rawmode.org/pipermail/catalyst/attachments/20060414/e8bfe8bf/attachment.htm

Search Discussions

  • Adam Jacob at Apr 14, 2006 at 6:32 pm

    On Apr 14, 2006, at 10:57 AM, Edric wrote:

    I am using the Cache::FileCache module and I can't get it to
    install correctly although my peers have, and they dont know why
    i'm having problems.

    The error message is referring to this line of code:

    unless($info = $c->cache->get($searchcache)){
    What's the error message, Edric?

    Adam
  • Edric at Apr 14, 2006 at 6:44 pm
    Caught exception "Can't locate object method "cache" via package "WWW::MyApp" at /usr/local/test/lib/perl5/WWW/MyApp/C/Stats.pm line 83."

    Adam Jacob wrote: On Apr 14, 2006, at 10:57 AM, Edric wrote:
    I am using the Cache::FileCache module and I can't get it to
    install correctly although my peers have, and they dont know why
    i'm having problems.

    The error message is referring to this line of code:

    unless($info = $c->cache->get($searchcache)){
    What's the error message, Edric?

    Adam


    _______________________________________________
    Catalyst mailing list
    Catalyst at lists.rawmode.org
    http://lists.rawmode.org/mailman/listinfo/catalyst



    ---------------------------------
    Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2?/min or less.
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: http://lists.rawmode.org/pipermail/catalyst/attachments/20060414/7b123401/attachment.htm
  • Alexander Solla at Apr 14, 2006 at 8:33 pm

    On Apr 14, 2006, at 11:44 AM, Edric wrote:

    Caught exception "Can't locate object method "cache" via package
    "WWW::MyApp" at /usr/local/test/lib/perl5/WWW/MyApp/C/Stats.pm line
    83."
    Did you remember to Load Catalyst::Plugin::Cache::FileCache?

    -Alex
  • Edric at Apr 14, 2006 at 8:52 pm
    yeah, the original post has a cut and paste of my log, showing that it got loaded by my main app. at least i think it's loaded... i could be wrong. thanks.

    Alexander Solla wrote:
    On Apr 14, 2006, at 11:44 AM, Edric wrote:

    Caught exception "Can't locate object method "cache" via package
    "WWW::MyApp" at /usr/local/test/lib/perl5/WWW/MyApp/C/Stats.pm line
    83."
    Did you remember to Load Catalyst::Plugin::Cache::FileCache?

    -Alex

    _______________________________________________
    Catalyst mailing list
    Catalyst at lists.rawmode.org
    http://lists.rawmode.org/mailman/listinfo/catalyst



    ---------------------------------
    Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2?/min or less.
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: http://lists.rawmode.org/pipermail/catalyst/attachments/20060414/c13ef3a7/attachment.htm
  • Matt S Trout at Apr 15, 2006 at 4:22 pm

    Edric wrote:
    yeah, the original post has a cut and paste of my log, showing that it
    got loaded by my main app. at least i think it's loaded... i could be
    wrong. thanks.
    Make sure you have the latest Catalyst and dump WWW::MyApp's @ISA list to
    double-check C::P::Cache::FileCache is in there - I can't see why it wouldn't
    be but I can't see any other way you'd get that error either :)

    --
    Matt S Trout Offering custom development, consultancy and support
    Technical Director contracts for Catalyst, DBIx::Class and BAST. Contact
    Shadowcat Systems Ltd. mst (at) shadowcatsystems.co.uk for more information

    + Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +
  • Chisel Wright at Apr 16, 2006 at 10:08 am

    On Sat, Apr 15, 2006 at 05:22:58PM +0100, Matt S Trout wrote:
    Edric wrote:
    yeah, the original post has a cut and paste of my log, showing that it
    got loaded by my main app. at least i think it's loaded... i could be
    wrong. thanks.
    Make sure you have the latest Catalyst and dump WWW::MyApp's @ISA list to
    double-check C::P::Cache::FileCache is in there - I can't see why it wouldn't
    be but I can't see any other way you'd get that error either :)
    I've started adding a screen to my apps to show the app's ISA:

    http://svn.berlios.de/wsvn/parley/trunk/lib/Parley/Controller/About.pm?op=file&rev=0&sc=0
    and
    http://svn.berlios.de/wsvn/parley/trunk/root/base/about/modules?op=file&rev=0&sc=0

    then I just hit about/modules in my app ...

    Chisel
    --
    Chisel Wright
    e: chisel at herlpacker.co.uk
    w: http://www.herlpacker.co.uk/

    This is not an automated signature. I type this in to the bottom of every
    message.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcatalyst @
categoriescatalyst, perl
postedApr 14, '06 at 5:57p
activeApr 16, '06 at 10:08a
posts7
users5
websitecatalystframework.org
irc#catalyst

People

Translate

site design / logo © 2022 Grokbase