RE: [htmltmpl] Is their a maximum amount of data that can be disp layed by HTML:: Template?
Brought to you by:
samtregar
From: Ragan, S. <sr...@bc...> - 2004-07-13 20:13:41
|
That looks like a generic IE error message - look at the bottom of the page. It probably has something like - HTTP 500 - Internal server error Internet Explorer My guess is you're timing out before the results can be served up. Steve Ragan Sr. Internet Developer Harris Internet Services 2500 Westchester Ave. Purchase, NY 10577 Phone: 914-641-3948 Fax : 914-641-3901 sr...@bc... -----Original Message----- From: htm...@li... [mailto:htm...@li...]On Behalf Of Tyler Hepworth Sent: Tuesday, July 13, 2004 3:25 PM To: htm...@li... Subject: [htmltmpl] Is their a maximum amount of data that can be displayed by HTML:: Template? I am using HTML::Template to display software/hardware inventory data being pulled from a database. I have 11 subroutines that pull out data for different categories of data (hardware, os, memory, installed programs, etc) The data is stored in arrays: @rows1 @rows2 ... @rows11 The contents of @rowsX is an array of hashes. The subroutine populates each @rowsX like so: [code] push @rows, { idevice => $idevice, igroup => $igroup, ifield => $ifield, ivalue => $ivalue, }; Once all of my arrays have been populated I then stuff all of it into HTML::Template like this: my @headers = ( {category => 'summary', cat_title => 'Summary', rows1 => \@rows1}, {category => 'cpu', cat_title => 'CPU', rows2 => \@rows2}, {category => 'memory', cat_title => 'Memory', rows3 => \@rows3}, {category => 'os', cat_title => 'Operating System', rows4 => \@rows4}, {category => 'share', cat_title => 'Share', rows5 => \@rows5}, {category => 'lgroup', cat_title => 'Local Groups', rows6 => \@rows6}, {category => 'network', cat_title => 'Windows Network', rows7 => \@rows7}, {category => 'data', cat_title => 'ODBC Data Sources', rows8 => \@rows8}, {category => 'programs', cat_title => 'Installed Programs', rows9 => \@rows9}, {category => 'license', cat_title => 'Licenses', rows10 => \@rows10}, {category => 'environment', cat_title => 'Environment', rows11 => \@rows11} ); $tmpl_cmp_nfo->param( headers => \@headers); This all works beautifully on the majority of my inventories, but I have found a few that will not display. I have built all of the appropriate error checking into my app, but none of those errors display when I come across one of these anomolous inventories. The only thing that shows up in my browser is "page cannot be displayed". I have found that the amount of information contained in an inventory that does not work is substantially larger than the information in one that does work. If I comment out some of the data being retrieved in an anomolous inventory, then it will display as well. Like this: my @headers = ( {category => 'summary', cat_title => 'Summary', rows1 => \@rows1}, {category => 'cpu', cat_title => 'CPU', rows2 => \@rows2}, {category => 'memory', cat_title => 'Memory', rows3 => \@rows3}, #{category => 'os', cat_title => 'Operating System', rows4 => \@rows4}, #{category => 'share', cat_title => 'Share', rows5 => \@rows5}, {category => 'lgroup', cat_title => 'Local Groups', rows6 => \@rows6}, {category => 'network', cat_title => 'Windows Network', rows7 => \@rows7}, {category => 'data', cat_title => 'ODBC Data Sources', rows8 => \@rows8}, {category => 'programs', cat_title => 'Installed Programs', rows9 => \@rows9}, {category => 'license', cat_title => 'Licenses', rows10 => \@rows10}, {category => 'environment', cat_title => 'Environment', rows11 => \@rows11} ); $tmpl_cmp_nfo->param( headers => \@headers); It doesn't matter which of the @rowsX I leave out of the display, I just have to leave some of them out and then it all works. This makes me wonder if there is a limitation to the amount of data that can be displayed by HTML::Template. Any ideas? Thanks, Tyler Hepworth ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Html-template-users mailing list Htm...@li... https://lists.sourceforge.net/lists/listinfo/html-template-users |