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
[EMAIL PROTECTED]


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Tyler Hepworth
Sent: Tuesday, July 13, 2004 3:25 PM
To: [EMAIL PROTECTED]
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 =>
[EMAIL PROTECTED],
{category => 'cpu', cat_title => 'CPU', rows2 => [EMAIL PROTECTED],
{category => 'memory', cat_title => 'Memory', rows3 => [EMAIL PROTECTED],
{category => 'os', cat_title => 'Operating System', rows4 => [EMAIL PROTECTED],
{category => 'share', cat_title => 'Share', rows5 => [EMAIL PROTECTED],
{category => 'lgroup', cat_title => 'Local Groups', rows6 => [EMAIL PROTECTED],
{category => 'network', cat_title => 'Windows Network', rows7 => [EMAIL PROTECTED],
{category => 'data', cat_title => 'ODBC Data Sources', rows8 => [EMAIL PROTECTED],
{category => 'programs', cat_title => 'Installed Programs', rows9 =>
[EMAIL PROTECTED],
{category => 'license', cat_title => 'Licenses', rows10 => [EMAIL PROTECTED],
{category => 'environment', cat_title => 'Environment', rows11 => [EMAIL PROTECTED]
);


$tmpl_cmp_nfo->param(   headers => [EMAIL PROTECTED]);



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 =>
[EMAIL PROTECTED],
{category => 'cpu', cat_title => 'CPU', rows2 => [EMAIL PROTECTED],
{category => 'memory', cat_title => 'Memory', rows3 => [EMAIL PROTECTED],
#{category => 'os', cat_title => 'Operating System', rows4 => [EMAIL PROTECTED],
#{category => 'share', cat_title => 'Share', rows5 => [EMAIL PROTECTED],
{category => 'lgroup', cat_title => 'Local Groups', rows6 => [EMAIL PROTECTED],
{category => 'network', cat_title => 'Windows Network', rows7 => [EMAIL PROTECTED],
{category => 'data', cat_title => 'ODBC Data Sources', rows8 => [EMAIL PROTECTED],
{category => 'programs', cat_title => 'Installed Programs', rows9 =>
[EMAIL PROTECTED],
{category => 'license', cat_title => 'Licenses', rows10 => [EMAIL PROTECTED],
{category => 'environment', cat_title => 'Environment', rows11 => [EMAIL PROTECTED]
);


$tmpl_cmp_nfo->param(   headers => [EMAIL PROTECTED]);

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
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users


-------------------------------------------------------
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
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to