Template compilation error

I’m slightly stumped here.
I’m trying to setup a user response survey with a token following the
instructions at
http://requesttracker.wikia.com/wiki/RemoteControlLimeSurvey2
Now, I know the instructions are written for 3.8. I’m running 4.2.6, but
looking at the documentation for the two, it looks like the 3.8 template
should still be valid in 4.2.6.

I’ve had no trouble setting up LimeSurvey; I’ve used it many times in the
past with good result. Using the sample code provided, substituting in the
correct values for my environment, I’m getting a “Couldn’t compile template
codeblock” error when creating the template, followed by the code I’ve put
in, followod by “Modification of a read-only value attempted at
/usr/local/share/perl5/Log/Dispatch/Output.pm line 39. Stack:
[/usr/local/share/perl5/Log/Dispatch/Output.pm:39]
[/usr/local/share/perl5/Log/Dispatch.pm:214]
[/usr/local/share/perl5/Log/Dispatch.pm:167]
[/usr/local/share/perl5/Log/Dispatch.pm:145] [(eval 13358):17]
[/opt/rt4/share/html/Admin/Global/Template.html:101]
[/opt/rt4/share/html/Admin/autohandler:49]
[/opt/rt4/sbin/…/lib/RT/Interface/Web.pm:682]
[/opt/rt4/sbin/…/lib/RT/Interface/Web.pm:370]
[/opt/rt4/share/html/autohandler:53]”

The debug logs for RT and Apache show nothing for this, so I’m stumped.

looking at the documentation for the two, it looks like the 3.8 template should
still be valid in 4.2.6.

If I copy and paste that template into a new template in 4.2.8, after
resolving the missing module error (presented to me in the UI) I’m
given this error:

syntax error at template line 64

which is

my $url = ;

Which looks like a syntax error to me.

-kevin

I swear I thought I had fixed the two nulls that were eaten by the wiki
formatting.
Thanks for the help, I often just need another set of eyes to look at
things.On Tue, Oct 7, 2014 at 10:32 AM, Kevin Falcone falcone@bestpractical.com wrote:

On Tue, Oct 07, 2014 at 10:09:32AM -0400, doug downham wrote:

looking at the documentation for the two, it looks like the 3.8 template
should
still be valid in 4.2.6.

If I copy and paste that template into a new template in 4.2.8, after
resolving the missing module error (presented to me in the UI) I’m
given this error:

syntax error at template line 64

which is

my $url = ;

Which looks like a syntax error to me.

-kevin


RT Training November 4 & 5 Los Angeles
http://bestpractical.com/training

Forget Turing, USENET wouldn’t pass a roadside DWI test