I am getting the error below, I would be grateful if somebody could explain the problem. I have also attached a file containing the stack debug. As background, I have a template which contains a "clubList" tmpl_var . This has been param'd with an array of hashes, where each hash contains "clubId" and "name". The thing was working until I set the case_sensitive option to true. I have checked evrything to make sure there are no case mismatches - I think! cheers phil HTML::Template->output() : fatal error in loop output : HTML::Template : Attempt to set nonexistent parameter 'clubid' - phthis parameter name doesn't match any declarations in the template file : (die_on_bad_params => 1) at /usr/lib/perl5/site_perl/5.6.0/HTML/Template.pm line 2787 at ViewHandlers/Generic.pm line 64 [Fri Jun 21 17:27:19 2002] [error] [client 192.168.10.1] Premature end of script headers: /var/www/cgi-bin/control.cgi
### HTML::Template _param Stack Dump ###
$VAR1 = [
\'<HTML><!-- #BeginTemplate "/Templates/resultszone public pages.dwt" -->
<HEAD>
<!-- #BeginEditable "doctitle" -->
<TITLE>Untitled Document</TITLE>
<!-- #EndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=">
<link rel="stylesheet" href="../main.css" type="text/css">
</HEAD>
<BODY BGCOLOR="white">
<table width=\'100%\'>
<tr>
<td colspan=\'3\' class="pageTitle">resultszone
<hr />
</td>
</tr>
<tr>
<td colspan=\'3\' align=\'right\' >you are currently logged in as
taylorp <a href="cgi-bin/logout.cgi">Log
Out</a></td>
</tr>
<tr>
<td width=\'180\' valign=\'top\'>
<table>
<tr>
<td height=\'14\' class="LHNavSubheading">MENU</td>
</tr>
<tr>
<td class="LHNavSubheading">Latest Results</td>
</tr>
<td ><a href=\'ViewClub_search.html\' class="LHNavLink">Fixtures &
Results</a></td>
</tr>
<tr>
<td><a href=\'ViewClub_search.html\' class="LHNavLink">League Tables</a></td>
</tr>
<tr>
<td><a href=\'ViewClub_search.html\' class="LHNavLink">League Status</a></td>
</tr>
<tr>
<td class="LHNavSubheading">HandBook</td>
</tr>
<tr>
<td><a href=\'ViewClub_search.html\' class="LHNavLink">League
Officials</a></td>
</tr>
<tr>
<td><a href=\'ViewClub_search.html\' class="LHNavLink">Division Reps</a></td>
</tr>
<tr>
<td ><a href=\'ViewClub_search.html\' class="LHNavLink">League
Constitution</a></td>
</tr>
<tr>
<td><a href=\'ViewClub_search.html\' class="LHNavLink">League Rules</a></td>
</tr>
<tr>
<tr>
<td><a href=\'ViewClub_search.html\' class="LHNavLink">Links</a></td>
</tr>
<tr>
<td class="LHNavSubheading">Communications</td>
</tr>
<tr>
<td><a href=\'ViewClub_search.html\' class="LHNavLink">Latest Info</a></td>
</tr>
<tr>
<td><a href=\'ViewClub_search.html\' class="LHNavLink">Feedback</a></td>
</tr>
<tr>
<td class="LHNavSubheading">Administrators</td>
</tr>
<tr>
</table>
</td>
<td width=\'30\'> </td>
<td class="pageTitle" valign=\'top\'>
<table>
<tr>
<td align=\'left\'class="CopyMainBold"><!-- #BeginEditable "contentHdg"
-->View
Club Details<!-- #EndEditable --></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td align=\'left\'><!-- #BeginEditable "contentBody" -->
<form method="post" action="',
bless( do{\(my $o = undef)}, 'HTML::Template::VAR' ),
\'?ucid=ViewClub&aid=search">
<table>
<tr>
<td>Select an ACTIVE club</td>
</tr>
<tr>
<td>
<select name=\'clubList\' size=\'1\'>
<option value=\'\'>select active club ...</option>
',
bless( [
{
3 => bless( {
'parse_stack' => [
\'
<option value=\'',
bless( do{\(my $o = undef)},
'HTML::Template::VAR' ),
\'\' >
',
bless( do{\(my $o = undef)},
'HTML::Template::VAR' ),
\'
</option>
'
],
'options' => {
'associate' => [],
'die_on_bad_params' => 1,
'stack_debug' => '0',
'loop_context_vars' => '0',
'debug' => '0'
},
'param_map' => {
'clubId' =>
$VAR1->[3][0]{3}{'parse_stack'}[1],
'name' =>
$VAR1->[3][0]{3}{'parse_stack'}[3]
}
}, 'HTML::Template' )
}
], 'HTML::Template::LOOP' ),
\'
</select>
</td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td>OR</td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td>Search ALL clubs by partial name (including historic)</td>
</tr>
<tr>
<td>
<input type="text" name="partialClubName" maxlength="40"
size="40" >
<td>
</tr>
<tr>
<td> </td>
</tr><tr>
<td>
<input type="submit" value="Submit" name="submit" />
</td>
</tr>
</table>
</form>
<!-- #EndEditable --></td>
</tr>
</table>
</tr>
</table>
</BODY>
<!-- #EndTemplate --></HTML>
'
];
### HTML::Template output Stack Dump ###
$VAR1 = [
\'<HTML><!-- #BeginTemplate "/Templates/resultszone public pages.dwt" -->
<HEAD>
<!-- #BeginEditable "doctitle" -->
<TITLE>Untitled Document</TITLE>
<!-- #EndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=">
<link rel="stylesheet" href="../main.css" type="text/css">
</HEAD>
<BODY BGCOLOR="white">
<table width=\'100%\'>
<tr>
<td colspan=\'3\' class="pageTitle">resultszone
<hr />
</td>
</tr>
<tr>
<td colspan=\'3\' align=\'right\' >you are currently logged in as
taylorp <a href="cgi-bin/logout.cgi">Log
Out</a></td>
</tr>
<tr>
<td width=\'180\' valign=\'top\'>
<table>
<tr>
<td height=\'14\' class="LHNavSubheading">MENU</td>
</tr>
<tr>
<td class="LHNavSubheading">Latest Results</td>
</tr>
<td ><a href=\'ViewClub_search.html\' class="LHNavLink">Fixtures &
Results</a></td>
</tr>
<tr>
<td><a href=\'ViewClub_search.html\' class="LHNavLink">League Tables</a></td>
</tr>
<tr>
<td><a href=\'ViewClub_search.html\' class="LHNavLink">League Status</a></td>
</tr>
<tr>
<td class="LHNavSubheading">HandBook</td>
</tr>
<tr>
<td><a href=\'ViewClub_search.html\' class="LHNavLink">League
Officials</a></td>
</tr>
<tr>
<td><a href=\'ViewClub_search.html\' class="LHNavLink">Division Reps</a></td>
</tr>
<tr>
<td ><a href=\'ViewClub_search.html\' class="LHNavLink">League
Constitution</a></td>
</tr>
<tr>
<td><a href=\'ViewClub_search.html\' class="LHNavLink">League Rules</a></td>
</tr>
<tr>
<tr>
<td><a href=\'ViewClub_search.html\' class="LHNavLink">Links</a></td>
</tr>
<tr>
<td class="LHNavSubheading">Communications</td>
</tr>
<tr>
<td><a href=\'ViewClub_search.html\' class="LHNavLink">Latest Info</a></td>
</tr>
<tr>
<td><a href=\'ViewClub_search.html\' class="LHNavLink">Feedback</a></td>
</tr>
<tr>
<td class="LHNavSubheading">Administrators</td>
</tr>
<tr>
</table>
</td>
<td width=\'30\'> </td>
<td class="pageTitle" valign=\'top\'>
<table>
<tr>
<td align=\'left\'class="CopyMainBold"><!-- #BeginEditable "contentHdg"
-->View
Club Details<!-- #EndEditable --></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td align=\'left\'><!-- #BeginEditable "contentBody" -->
<form method="post" action="',
bless( do{\(my $o = 'http://benny/cgi-bin/control.cgi/nwcsl')},
'HTML::Template::VAR' ),
\'?ucid=ViewClub&aid=search">
<table>
<tr>
<td>Select an ACTIVE club</td>
</tr>
<tr>
<td>
<select name=\'clubList\' size=\'1\'>
<option value=\'\'>select active club ...</option>
',
bless( [
{
3 => bless( {
'parse_stack' => [
\'
<option value=\'',
bless( do{\(my $o = undef)},
'HTML::Template::VAR' ),
\'\' >
',
bless( do{\(my $o = undef)},
'HTML::Template::VAR' ),
\'
</option>
'
],
'options' => {
'associate' => [],
'die_on_bad_params' => 1,
'stack_debug' => '0',
'loop_context_vars' => '0',
'debug' => '0'
},
'param_map' => {
'clubId' =>
$VAR1->[3][0]{3}{'parse_stack'}[1],
'name' =>
$VAR1->[3][0]{3}{'parse_stack'}[3]
}
}, 'HTML::Template' )
},
[
{
'clubId' => 1,
'name' => 'Albany'
},
{
'clubId' => 2,
'name' => 'Alderley Edge'
},
{
'clubId' => 3,
'name' => 'All Seasons'
},
{
'clubId' => 4,
'name' => 'Alsager'
},
{
'clubId' => 100,
'name' => 'Aventis'
},
{
'clubId' => 17,
'name' => 'BAE Systems'
},
{
'clubId' => 5,
'name' => 'Bamber Bridge'
},
{
'clubId' => 6,
'name' => 'Bamford'
},
{
'clubId' => 7,
'name' => 'Barclays Bank'
},
{
'clubId' => 8,
'name' => 'Barnton CC'
},
{
'clubId' => 9,
'name' => 'Birkenhead Squash'
},
{
'clubId' => 10,
'name' => 'Blackburn Northern'
},
{
'clubId' => 11,
'name' => 'Blackpool CC'
},
{
'clubId' => 12,
'name' => 'Bollington'
},
{
'clubId' => 13,
'name' => 'Bolton Institute'
},
{
'clubId' => 14,
'name' => 'Bootle'
},
{
'clubId' => 15,
'name' => 'Bowdon'
},
{
'clubId' => 16,
'name' => 'Bridgefield Hope'
},
{
'clubId' => 18,
'name' => 'Brooklands'
},
{
'clubId' => 19,
'name' => 'Burnley'
},
{
'clubId' => 20,
'name' => 'Burscough'
},
{
'clubId' => 21,
'name' => 'Bury'
},
{
'clubId' => 22,
'name' => 'Cadishead Linian'
},
{
'clubId' => 161,
'name' => 'Cadishead NSS'
},
{
'clubId' => 23,
'name' => 'Capenhurst'
},
{
'clubId' => 24,
'name' => 'Cheetham Hill'
},
{
'clubId' => 25,
'name' => 'Cheshire Oaks'
},
{
'clubId' => 26,
'name' => 'Cheshire Officers'
},
{
'clubId' => 27,
'name' => 'Chester'
},
{
'clubId' => 28,
'name' => 'Clayton Green'
},
{
'clubId' => 149,
'name' => 'Club AZ'
},
{
'clubId' => 29,
'name' => 'Club House Oxton'
},
{
'clubId' => 30,
'name' => 'Concorde'
},
{
'clubId' => 31,
'name' => 'Congleton'
},
{
'clubId' => 32,
'name' => 'Cottons'
},
{
'clubId' => 33,
'name' => 'Crewe Vagrants'
},
{
'clubId' => 156,
'name' => 'David Lloyd Bolton'
},
{
'clubId' => 160,
'name' => 'David Lloyd Cheadle'
},
{
'clubId' => 151,
'name' => 'David Lloyd Kirkby'
},
{
'clubId' => 34,
'name' => 'David Lloyd Leisure'
},
{
'clubId' => 73,
'name' => 'David Lloyd Manchester'
},
{
'clubId' => 157,
'name' => 'David Lloyd Speke'
},
{
'clubId' => 152,
'name' => 'David Lloyd Warrington'
},
{
'clubId' => 35,
'name' => 'De Vere'
},
{
'clubId' => 36,
'name' => 'Deeside'
},
{
'clubId' => 37,
'name' => 'Delamere Park'
},
{
'clubId' => 164,
'name' => 'Dragons'
},
{
'clubId' => 38,
'name' => 'Eagley'
},
{
'clubId' => 39,
'name' => 'East Lancs'
},
{
'clubId' => 40,
'name' => 'Ellesmere'
},
{
'clubId' => 41,
'name' => 'Everton Park'
},
{
'clubId' => 42,
'name' => 'Fleetwood'
},
{
'clubId' => 43,
'name' => 'Forest Hills'
},
{
'clubId' => 44,
'name' => 'Formby'
},
{
'clubId' => 45,
'name' => 'Fulwood'
},
{
'clubId' => 46,
'name' => 'Glossop'
},
{
'clubId' => 47,
'name' => 'Grove Park'
},
{
'clubId' => 48,
'name' => 'Grove Park 1'
},
{
'clubId' => 49,
'name' => 'Gt Manchester Police'
},
{
'clubId' => 165,
'name' => 'Hartford Moss Farm'
},
{
'clubId' => 50,
'name' => 'Heswall'
},
{
'clubId' => 51,
'name' => 'Hicks'
},
{
'clubId' => 52,
'name' => 'Hightown'
},
{
'clubId' => 53,
'name' => 'Horwich'
},
{
'clubId' => 54,
'name' => 'Huyton'
},
{
'clubId' => 55,
'name' => 'Hyde'
},
{
'clubId' => 56,
'name' => 'Kirkby'
},
{
'clubId' => 57,
'name' => 'Knutsford Sports'
},
{
'clubId' => 58,
'name' => 'Lancaster University'
},
{
'clubId' => 59,
'name' => 'Lancastrian Classic'
},
{
'clubId' => 60,
'name' => 'Lancs Cricket'
},
{
'clubId' => 61,
'name' => 'Lancs Health & Racquets'
},
{
'clubId' => 62,
'name' => 'Lancs Police'
},
{
'clubId' => 63,
'name' => 'Leyland Leisure'
},
{
'clubId' => 64,
'name' => 'Liverpool CC'
},
{
'clubId' => 65,
'name' => 'Liverpool Racquets'
},
{
'clubId' => 66,
'name' => 'Liverpool Univ. Staff'
},
{
'clubId' => 67,
'name' => 'Liverpool University'
},
{
'clubId' => 68,
'name' => 'Longridge'
},
{
'clubId' => 69,
'name' => 'Lymm'
},
{
'clubId' => 70,
'name' => 'Mainland'
},
{
'clubId' => 71,
'name' => 'Manchester Metro Univ.'
},
{
'clubId' => 72,
'name' => 'Manchester Northern'
},
{
'clubId' => 74,
'name' => 'Manchester University'
},
{
'clubId' => 75,
'name' => 'Marconi'
},
{
'clubId' => 76,
'name' => 'Markland Hill'
},
{
'clubId' => 77,
'name' => 'Marple'
},
{
'clubId' => 78,
'name' => 'Mere'
},
{
'clubId' => 79,
'name' => 'Merseyside Civil Service'
},
{
'clubId' => 80,
'name' => 'Michelin'
},
{
'clubId' => 81,
'name' => 'Middleton'
},
{
'clubId' => 82,
'name' => 'Monton'
},
{
'clubId' => 116,
'name' => 'Moorside Livingwell'
},
{
'clubId' => 83,
'name' => 'Moss Farm'
},
{
'clubId' => 162,
'name' => 'Moss Side Leisure'
},
{
'clubId' => 84,
'name' => 'Neston'
},
{
'clubId' => 85,
'name' => 'New Brighton'
},
{
'clubId' => 159,
'name' => 'New Generation Chorley'
},
{
'clubId' => 86,
'name' => 'New Mills Leisure'
},
{
'clubId' => 87,
'name' => 'No.4 Blackpool'
},
{
'clubId' => 88,
'name' => 'Northern Crosby'
},
{
'clubId' => 90,
'name' => 'Octel'
},
{
'clubId' => 91,
'name' => 'Ormskirk'
},
{
'clubId' => 92,
'name' => 'Park Hall'
},
{
'clubId' => 93,
'name' => 'Peel Moat'
},
{
'clubId' => 94,
'name' => 'Penwortham'
},
{
'clubId' => 95,
'name' => 'Phoenix'
},
{
'clubId' => 96,
'name' => 'Pilkington'
},
{
'clubId' => 97,
'name' => 'Poynton'
},
{
'clubId' => 98,
'name' => 'Prestbury'
},
{
'clubId' => 154,
'name' => 'Preston College'
},
{
'clubId' => 99,
'name' => 'Preston Grasshoppers'
},
{
'clubId' => 101,
'name' => 'Racketeers'
},
{
'clubId' => 102,
'name' => 'Reedley'
},
{
'clubId' => 155,
'name' => 'Revellers'
},
{
'clubId' => 103,
'name' => 'Rochdale CLS'
},
{
'clubId' => 104,
'name' => 'Sale'
},
{
'clubId' => 105,
'name' => 'Sandbach'
},
{
'clubId' => 106,
'name' => 'Sankey Leisure'
},
{
'clubId' => 89,
'name' => 'Shell'
},
{
'clubId' => 107,
'name' => 'Shell Ellesmere Port'
},
{
'clubId' => 108,
'name' => 'Shell Wythenshawe'
},
{
'clubId' => 109,
'name' => 'South Liverpool'
},
{
'clubId' => 110,
'name' => 'South Shore'
},
{
'clubId' => 111,
'name' => 'Southport & Birkdale'
},
{
'clubId' => 112,
'name' => 'Sports Connection'
},
{
'clubId' => 113,
'name' => 'Springfields'
},
{
'clubId' => 114,
'name' => 'St Annes'
},
{
'clubId' => 115,
'name' => 'St Helens'
},
{
'clubId' => 150,
'name' => 'Stables Fitness'
},
{
'clubId' => 117,
'name' => 'Stirk House Hotel'
},
{
'clubId' => 118,
'name' => 'Stockport'
},
{
'clubId' => 153,
'name' => 'Sugden Metro'
},
{
'clubId' => 119,
'name' => 'Tame Valley'
},
{
'clubId' => 120,
'name' => 'Tattenhall'
},
{
'clubId' => 121,
'name' => 'The Hall Winnington'
},
{
'clubId' => 122,
'name' => 'Thornton International'
},
{
'clubId' => 123,
'name' => 'Tollgate'
},
{
'clubId' => 124,
'name' => 'Trainstation Chester'
},
{
'clubId' => 125,
'name' => 'Trainstation Southport'
},
{
'clubId' => 126,
'name' => 'Tranmere'
},
{
'clubId' => 127,
'name' => 'Tytherington'
},
{
'clubId' => 163,
'name' => 'UMIST'
},
{
'clubId' => 128,
'name' => 'Vale of Lune'
},
{
'clubId' => 129,
'name' => 'Vernon Sangster'
},
{
'clubId' => 130,
'name' => 'Victoria Leisure'
},
{
'clubId' => 131,
'name' => 'Village Bromborough'
},
{
'clubId' => 132,
'name' => 'Village Cheadle'
},
{
'clubId' => 133,
'name' => 'Village Hyde'
},
{
'clubId' => 134,
'name' => 'Village Prestwich'
},
{
'clubId' => 135,
'name' => 'Village Warrington'
},
{
'clubId' => 158,
'name' => 'Village Whiston'
},
{
'clubId' => 136,
'name' => 'Warrington'
},
{
'clubId' => 137,
'name' => 'Warrington Buccaneers'
},
{
'clubId' => 138,
'name' => 'West Heaton'
},
{
'clubId' => 139,
'name' => 'West Kirby'
},
{
'clubId' => 140,
'name' => 'Westhoughton'
},
{
'clubId' => 166,
'name' => 'Whitby'
},
{
'clubId' => 141,
'name' => 'Widnes'
},
{
'clubId' => 142,
'name' => 'Wigan Cricket'
},
{
'clubId' => 143,
'name' => 'Wilmslow'
},
{
'clubId' => 144,
'name' => 'Winsford'
},
{
'clubId' => 145,
'name' => 'Woolston'
},
{
'clubId' => 146,
'name' => 'Wrightington'
},
{
'clubId' => 147,
'name' => 'Xaverian'
},
{
'clubId' => 148,
'name' => 'Y Squash'
}
]
], 'HTML::Template::LOOP' ),
\'
</select>
</td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td>OR</td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td>Search ALL clubs by partial name (including historic)</td>
</tr>
<tr>
<td>
<input type="text" name="partialClubName" maxlength="40"
size="40" >
<td>
</tr>
<tr>
<td> </td>
</tr><tr>
<td>
<input type="submit" value="Submit" name="submit" />
</td>
</tr>
</table>
</form>
<!-- #EndEditable --></td>
</tr>
</table>
</tr>
</table>
</BODY>
<!-- #EndTemplate --></HTML>
'
];
HTML::Template->output() : fatal error in loop output : HTML::Template : Attempt to
set nonexistent parameter 'clubid' - phthis parameter name doesn't match any
declarations in the template file : (die_on_bad_params => 1) at
/usr/lib/perl5/site_perl/5.6.0/HTML/Template.pm line 2787
at ViewHandlers/Generic.pm line 64
[Fri Jun 21 17:27:19 2002] [error] [client 192.168.10.1] Premature end of script
headers: /var/www/cgi-bin/control.cgi
