Timwi (timwi) wrote in lj_dev,
Timwi
timwi
lj_dev

MemCache

I just ran into a problem that I think might affect other people with an own LJ installation, so I think it's worth mentioning here.

The new MemCache stuff needs a perl module "MemCachedClient.pm", located in $LJHOME/src/memcached/api/perl. Since this path isn't mentioned anywhere, obviously the thing couldn't find it.

I solved the problem by adding the line
   use lib "$ENV{'LJHOME'}/src/memcached/api/perl";
just above
   use MemCachedClient;
near the top of $LJHOME/cgi-bin/LJ/MemCache.pm.

Brad: Might it be worth actually adding that in CVS? Or how else is it supposed to work?
Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 2 comments