Error with StockAnswers add-on

Hi,

I’ve setup my RT (2.0.13) with StockAnswers. When I click “Stock Answers”,
it gives me the following error:

error in file:
/usr/local/rt2/WebRT/data/obj/LOCAL/Ticket/StockAnswers.html
line 15: Global symbol “$queue” requires explicit package name

context: …
11: my $_out = $m->current_sink;
12: $m->debug_hook($m->current_comp->path) if (%DB::);
13:
14:
15: my $formatted_queue = $queue ? “- $queue” : “”;
16:
17: # where your stock answers live. Note trailing /
18: #my $templateDir = “/home/bugs/rt2/local/templates/”;
19: my $templateDir = “$RT::MasonLocalComponentRoot/…/…/templates/”;

code stack:
/usr/local/rt2/WebRT/data/obj/LOCAL/Ticket/StockAnswers.html:15
/usr/local/lib/perl5/site_perl/5.005/HTML/Mason/Interp.pm:381
/usr/local/lib/perl5/site_perl/5.005/HTML/Mason/Request.pm:116

francis a. vidal [bitstop network services] | http://www.bitstop.ph
streaming media + web hosting | http://www.keystone.ph
v(02)330-2871,(02)330-2872; f(02)330-2873 | http://www.kuro.ph

Which version of StockAnswers are you using?On Friday 14 June 2002 20:49, francisv@dagupan.com wrote:

Hi,

I’ve setup my RT (2.0.13) with StockAnswers. When I click “Stock Answers”,
it gives me the following error:

error in file:
/usr/local/rt2/WebRT/data/obj/LOCAL/Ticket/StockAnswers.html
line 15: Global symbol “$queue” requires explicit package name

context: …
11: my $_out = $m->current_sink;
12: $m->debug_hook($m->current_comp->path) if (%DB::);
13:
14:
15: my $formatted_queue = $queue ? “- $queue” : “”;
16:
17: # where your stock answers live. Note trailing /
18: #my $templateDir = “/home/bugs/rt2/local/templates/”;
19: my $templateDir = “$RT::MasonLocalComponentRoot/…/…/templates/”;

code stack:
/usr/local/rt2/WebRT/data/obj/LOCAL/Ticket/StockAnswers.html:15
/usr/local/lib/perl5/site_perl/5.005/HTML/Mason/Interp.pm:381
/usr/local/lib/perl5/site_perl/5.005/HTML/Mason/Request.pm:116


francis a. vidal [bitstop network services] | http://www.bitstop.ph
streaming media + web hosting | http://www.keystone.ph
v(02)330-2871,(02)330-2872; f(02)330-2873 | http://www.kuro.ph


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

I’m using StockAnswers-1.0pre1From: Michael Grubb [mailto:mgrubb@fifthvision.net]
Sent: Monday, June 17, 2002 11:51 PM
To: rt-users@lists.fsck.com
Subject: Re: [rt-users] Error with StockAnswers add-on

Which version of StockAnswers are you using?