Re: [htmltmpl] Unused records..
Brought to you by:
samtregar
From: Puneet K. <pk...@ei...> - 2003-11-18 14:38:29
|
As others mentioned, your error message has nothing to do with your diagnosis of it (and vice versa). The error message is saying -- "Hey Isaac, tihs is your program speaking -- you defined a parameter called 'recordexpire' in your script, however, I can find no corresponding variable to populate in your template. I am croaking..." To fix this do one of two things -- either make sure that there is a variable in your template for _every_ parameter in your script OR set die_on_bad_params => 0 in your script. Now wrt your diagnosis of the message -- to date neither have I nor anyone else come across H::T croaking because of less or more or all of the records in the database accessed. Hope this helps. On Nov 18, 2003, at 5:39 AM, Isaac wrote: > Hullo everyone.. I just started using HTML::Template and I still think > the > sky is the limit. ;) > > The problem I'm having is HTML::Template choking unless I access all > the > records in the database from a single parse. > > I've run into a problem with HTML::Template not wanting to let records > go to > waste. I've got a modest database and I'm very unfamiliar with > HTML::Template, but I'd like to know if there's a way around this? Not > every > database will be fully populated, but I want to have my maintenance & > statistics scripts go in plot growth occasionally. > > Error message.. >> HTML::Template->output() : fatal error in loop output : >> HTML::Template : >> Attempt to set nonexistent parameter 'recordexpire' - this parameter >> name >> doesn't match any declarations in the template file : >> (die_on_bad_params => 1) >> at ../shared//Template.pm line 2905 > > TIA, > Isaac - Internet & Marketing, Vancouver Island News Group > > > > ------------------------------------------------------- > This SF. Net email is sponsored by: GoToMyPC > GoToMyPC is the fast, easy and secure way to access your computer from > any Web browser or wireless device. Click here to Try it Free! > https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/ > g22lp.tmpl > _______________________________________________ > Html-template-users mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/html-template-users |