Hi Folks, I'm just revisiting an old C::A based app to add some new goodies, and as part of this set about upgrading the underlying C::A modules, since they've remained static since the site went live. I installed new versions of C::A with CAP::Apache, CAP::DBH and CAP::Session into my development tree, rather than the system perl libs, which are being used by the 'live' version of the app, and added an appropriate 'use lib' to my startup.pl (called from httpd.conf). A few debug statements have shown that the newly installed versions are being used in preference to the old modules.
All is not well though....hitting the apps launch page using the new modules gives me: [Sun Oct 22 09:20:57 2006] [error] Error executing class callback in init stage: Can't locate object method "cookie" via package "Apache::Request" at [trimmed]/CGI/Application/Plugin/Session.pm line 41.\n This seems to be a problem with the new version of CAP::Session (1.02), rather than Apache::Request, since removing the new CAP::Session results in the original version (0.06) being used instead, whereby the app works fine. Apache::Request has _not_ been upgraded - CPAN reports it is still current (v 1.33). I'm running under mod_perl 1.29, should that be of relevance.... I've had a dig round the list archives, to no avail - anyone have any ideas what is going wrong here? Not a huge problem, since I can just use the old version, but I'd rather not be stuck on 0.06 forever! Cheers, James --------------------------------------------------------------------- Web Archive: http://www.mail-archive.com/[email protected]/ http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
