The problem seems to be located in:
($step == 4) and do {
print $header;
print qq~<meta http-equiv="Refresh" content="2;
URL=nph-build.cgi?staggered=1&step=5&auto=$auto">~ if ($auto);
print $sub_head;
my $t1 = time();
print "** Loading Category information . . .\n";
&build_category_information;
print "** Done (", time - $t1, " s)!\n\n";
$t1 = time();
print "** Loading Summary information . . .\n";
&build_stats (1);
print "** Done (", time - $t1, " s)!\n\n";
$t1 = time();
print "** Creating Home Page . . .\n";
&build_home_page;
print "** Done (", time - $t1, " s)!\n\n";
$t1 = time();
print "** Creating What's New Pages . . .\n";
&build_new_page;
print "** Done (", time - $t1, " s)!\n\n";
$t1 = time();
print "** Creating Editor's Picks Page. . .\n";
&build_pick_page;
print "** Done (", time - $t1, " s)!\n\n";
$t1 = time();
print "** Creating What's Cool Page. . .\n";
&build_cool_page;
print "** Done (", time - $t1, " s)!\n\n";
$t1 = time();
print "** Creating Top Rated Page. . .\n";
&build_rate_page;
print "** Done (", time - $t1, " s)!\n\n";
my $elapsed = time() - $start;
print "------------------------------------------------\n";
print "Step 4 took $elapsed seconds.\n\n";
print qq~</PRE><P><B><font face="Verdana" size=2>
<a href="nph-build.cgi?staggered=1&step=5&auto=$auto">Go on to Step 5!</A>
</B></FONT></P>~;
last CASE;
};
($step == 5) and do {
print $header, $sub_head;
my @alphabet = ('a','b','c','d','e','f','g','h','i','
j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z');
if ($build_alpha) {
my $t1 = time();
print "Generating alphabetical view pages . . . \n";
foreach $let (@alphabet) {
print "** Building Letter: $let ... \n";
&build_single_alpha ($let);
}
print "** Done (", time - $t1, " s)!\n";
}
else {
print "Alphabetical View Building is not turned on -- Skipping!\n\n";
}
my $elapsed = time() - $start;
print "------------------------------------------------\n";
print qq~Step 5 took $elapsed seconds.\n\n<b>
<a href="$build_root_url" target="_top">Your site</a> is now up to date!</b>~;
last CASE;
};
&cgierr("Unkown step: $step.");
};
}
Step 4 appears to all right but Step 5 is getting hung up.
Any help would be greatly appreciated.
Thanks
Madonna