Skip Menu |

This queue is for tickets about the Template-Toolkit CPAN distribution.

Report information
The Basics
Id: 46304
Status: rejected
Worked: 5 min
Priority: 0/
Queue: Template-Toolkit

People
Owner: Nobody in particular
Requestors: spamsink051125 [...] yahoo.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: template toolkit bug
Date: Fri, 22 May 2009 08:08:05 -0700 (PDT)
To: bug-Template-Toolkit [...] rt.cpan.org
From: Gregg Weber <spamsink051125 [...] yahoo.com>
Hi, I ran into a problem with template toolkit when installing it on a shared fatcow.com server. Here is the error I am getting: Can't locate object method "new" via package "Template::Context" (perhaps you forgot to load "Template::Context"?) at /home/users/web/blahblah/cgi-bin/Template/Config.pm line 220. i am using Template-Toolkit-2.19 fatcow.com runs perl 5.8.8I don't know what os they are running on the web server. I am thinking I need to add some use statements in Config.pm, but is that the best solution?thanks.
This looks like an installation and/or configuration problem. You need to add something like this at the start of your CGI scripts: use lib '/full/path/to/the/lib/dir/in/which/TT/is/installed'; HTH A