Problem with custom template

Hi,

I want to use RT on two web server in load balacing. On my first web
server, RT work fine with my custom template (the installation was made
by another person).

On the new web server, RT work fine with the default template.

When I try to use my custom template on the new web server, I can logon,
and then If I tried to create/modify users, queue… I have this error…

Any help should be appreciated…

Thanks,

Cyrille.

error: Invalid <%args> section line at
/iweb/rt2/WebRT/html/Elements/ListActions line 11 context:

7: % }
8: <& /Elements/TitleBoxEnd &>
9: % }
10: <%ARGS>
11: @actions = undef
12: </%ARGS>
13:
code stack: /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Lexer.pm:611
/usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Lexer.pm:340
/usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Lexer.pm:282
/usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Lexer.pm:188
/usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Lexer.pm:138
/usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Lexer.pm:99
/usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Compiler.pm:196
/usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Compiler/ToObject.pm:69
/usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Compiler/ToObject.pm:109
/usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Interp.pm:319
/usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm:849
/usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm:947
/iweb/rt2/WebRT/html/Admin/Users/Modify.html:4
/iweb/rt2/WebRT/html/autohandler:55

Invalid <%args> section line at
/iweb/rt2/WebRT/html/Elements/ListActions line 11 Trace begun at
/usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Lexer.pm line 611
HTML::Mason::Lexer::throw_syntax_error(‘HTML::Mason::Lexer=HASH(0x8c980f0)’,
‘Invalid <%args> section line’) called at
/usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Lexer.pm line 340
HTML::Mason::Lexer::match_block_end(‘HTML::Mason::Lexer=HASH(0x8c980f0)’,
‘HASH(0x8d3ae60)’) called at
/usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Lexer.pm line 282
HTML::Mason::Lexer::variable_list_block(‘HTML::Mason::Lexer=HASH(0x8c980f0)’,
‘HASH(0x8d3ae60)’) called at
/usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Lexer.pm line 188
HTML::Mason::Lexer::match_block(‘HTML::Mason::Lexer=HASH(0x8c980f0)’)
called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Lexer.pm line 138
HTML::Mason::Lexer::start(‘HTML::Mason::Lexer=HASH(0x8c980f0)’) called
at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Lexer.pm line 99 eval
{…}(‘HTML::Mason::Lexer=HASH(0x8c980f0)’) called at
/usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Lexer.pm line 97
HTML::Mason::Lexer::lex(undef, ‘comp_source’, ‘SCALAR(0x8d367d8)’,
‘name’, ‘/iweb/rt2/WebRT/html/Elements/ListActions’, ‘compiler’,
‘HTML::Mason::Compiler::ToObject=HASH(0x8c96a10)’) called at
/usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Compiler.pm line 196
HTML::Mason::Compiler::compile(undef, ‘fh’, ‘*HTML::Mason::tools::FH’,
‘comp_source’, ‘SCALAR(0x8d367d8)’, ‘name’,
’/iweb/rt2/WebRT/html/Elements/ListActions’) called at
/usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Compiler/ToObject.pm line 69
HTML::Mason::Compiler::ToObject::compile(‘HTML::Mason::Compiler::ToObject=HASH(0x8c96a10)’,
‘comp_source’, ‘SCALAR(0x8d367d8)’, ‘name’,
’/iweb/rt2/WebRT/html/Elements/ListActions’, ‘comp_class’,
‘HTML::Mason::Component::FileBased’, ‘fh’, ‘*HTML::Mason::tools::FH’)
called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Compiler/ToObject.pm
line 109 HTML::Mason::Compiler::ToObject::compile_to_file(undef, ‘file’,
’/iweb/rt2/WebRT/data/obj/standard/Elements/ListActions’, ‘source’,
‘HTML::Mason::ComponentSource=HASH(0x8da5d50)’) called at
/usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Interp.pm line 319
HTML::Mason::Interp::load(‘HTML::Mason::Interp=HASH(0x8c94bcc)’,
’/Elements/ListActions’) called at
/usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 849
HTML::Mason::Request::fetch_comp(‘HTML::Mason::Request::ApacheHandler=HASH(0x8da9d6c)’,
’/Elements/ListActions’) called at
/usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 947
HTML::Mason::Request::comp(‘HTML::Mason::Request::ApacheHandler=HASH(0x8da9d6c)’,
’/Elements/ListActions’, ‘actions’, ‘ARRAY(0x8de2dd0)’) called at
/iweb/rt2/WebRT/html/Admin/Users/Modify.html line 4
HTML::Mason::Commands::ANON(‘id’, 7) called at
/usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Component.pm line 122
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0x8da6c88)’,
‘id’, 7) called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm
line 1025 eval
{…}(‘HTML::Mason::Component::FileBased=HASH(0x8da6c88)’, ‘id’, 7)
called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 1019
HTML::Mason::Request::comp(‘HTML::Mason::Request::ApacheHandler=HASH(0x8da9d6c)’,
‘HTML::Mason::Component::FileBased=HASH(0x8da6c88)’, ‘id’, 7) called at
/usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 724
HTML::Mason::Request::call_next(‘HTML::Mason::Request::ApacheHandler=HASH(0x8da9d6c)’)
called at /iweb/rt2/WebRT/html/autohandler line 55
HTML::Mason::Commands::ANON(‘id’, 7) called at
/usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Component.pm line 122
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0x8cf55e0)’,
‘id’, 7) called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm
line 1020 eval
{…}(‘HTML::Mason::Component::FileBased=HASH(0x8cf55e0)’, ‘id’, 7)
called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 1019
HTML::Mason::Request::comp(‘HTML::Mason::Request::ApacheHandler=HASH(0x8da9d6c)’,
‘HASH(0x8d5e210)’, ‘HTML::Mason::Component::FileBased=HASH(0x8cf55e0)’,
‘id’, 7) called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm
line 338 eval
{…}(‘HTML::Mason::Request::ApacheHandler=HASH(0x8da9d6c)’,
‘HASH(0x8d5e210)’, ‘HTML::Mason::Component::FileBased=HASH(0x8cf55e0)’,
‘id’, 7) called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm
line 338 eval
{…}(‘HTML::Mason::Request::ApacheHandler=HASH(0x8da9d6c)’,
‘HASH(0x8d5e210)’, ‘HTML::Mason::Component::FileBased=HASH(0x8cf55e0)’,
‘id’, 7) called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm
line 298
HTML::Mason::Request::exec(‘HTML::Mason::Request::ApacheHandler=HASH(0x8da9d6c)’)
called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm
line 137 eval
{…}(‘HTML::Mason::Request::ApacheHandler=HASH(0x8da9d6c)’) called at
/usr/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line 137
HTML::Mason::Request::ApacheHandler::exec(‘HTML::Mason::Request::ApacheHandler=HASH(0x8da9d6c)’)
called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm
line 786
HTML::Mason::ApacheHandler::handle_request(‘HTML::Mason::ApacheHandler=HASH(0x8211404)’,
‘Apache=SCALAR(0x8ddd5c0)’) called at /virtual/rt2/bin/webmux.pl line
170 RT::Mason::handler(‘Apache=SCALAR(0x8ddd5c0)’) called at /dev/null
line 0 eval {…}(‘Apache=SCALAR(0x8ddd5c0)’) called at /dev/null line 0

Cyrille Mertes wrote:

and then If I tried to create/modify users, queue… I have this error…
Any help should be appreciated…

error: Invalid <%args> section line at
/iweb/rt2/WebRT/html/Elements/ListActions line 11 context:

7: % }
8: <& /Elements/TitleBoxEnd &>
9: % }
10: <%ARGS>
11: @actions = undef
12: </%ARGS>
13:

I suspect this is unrelated to your template. (and possibly
related to different Mason versions). Try changing the
"@actions = undef" to “@actions => undef” and restarting your
web server.
Phil Homewood, Systems Janitor, www.SnapGear.com
pdh@snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630
SnapGear - Custom Embedded Solutions and Security Appliances

Thanks, everything is ok now.

Cyrille.From: “Phil Homewood” pdh@snapgear.com
To: rt-users@lists.fsck.com
Sent: Tuesday, January 07, 2003 6:22 PM
Subject: Re: [rt-users] problem with custom template

Cyrille Mertes wrote:

and then If I tried to create/modify users, queue… I have this
error…

Any help should be appreciated…

error: Invalid <%args> section line at
/iweb/rt2/WebRT/html/Elements/ListActions line 11 context:

7: % }
8: <& /Elements/TitleBoxEnd &>
9: % }
10: <%ARGS>
11: @actions = undef
12: </%ARGS>
13:

I suspect this is unrelated to your template. (and possibly
related to different Mason versions). Try changing the
"@actions = undef" to “@actions => undef” and restarting your
web server.

Phil Homewood, Systems Janitor, www.SnapGear.com
pdh@snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630
SnapGear - Custom Embedded Solutions and Security Appliances


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