I just edited our server monitor page and it stopped working. It's a very simple setup. We have monitor.php:
PHP Code:
  <?php
  error_reporting
(7);
  
  require(
'./global.php');
  
  if (!
$bbuserinfo[userid]) {
    
show_nopermission();
  }
  else {
      
ob_start(); 
      require(
"test.php" ); 
      
$monitor ob_get_contents(); 
      
ob_end_clean();
  
      eval(
"dooutput(\"".gettemplate('monitor')."\");");
  }
  
?>
The monitor template contains the html with one $final variable. $final is clearly defined in "test.php":
PHP Code:
  $final .= "<tr>
 <td width=\"14%\" align=\"center\" bgcolor=\"{secondaltcolor}\"><smallfont><img src=\"nexica_01/pic020.gif\" width=\"38\" height=\"22\"><br><b>
$name</b></smallfont></td>
 <td width=\"8%\" align=\"center\" bgcolor=\"{firstaltcolor}\"><normalfont color=\"{categoryfontcolor}\"><img src=\"
$noc_ftp\"></normalfont></td>
 <td width=\"8%\" align=\"center\" bgcolor=\"{secondaltcolor}\"><normalfont color=\"{categoryfontcolor}\"><img src=\"
$httpb_imp\"></normalfont></td>
 <td width=\"8%\" align=\"center\" bgcolor=\"{firstaltcolor}\"><normalfont color=\"{categoryfontcolor}\"><img src=\"
$noc_pop3\"></normalfont></td>
 <td width=\"8%\" align=\"center\" bgcolor=\"{secondaltcolor}\"><normalfont color=\"{categoryfontcolor}\"><img src=\"
$noc_smtp\"></normalfont></td>
 <td width=\"8%\" align=\"center\" bgcolor=\"{firstaltcolor}\"><normalfont color=\"{categoryfontcolor}\"><img src=\"
$noc_imp\"></normalfont></td>
 <td width=\"8%\" align=\"center\" bgcolor=\"{secondaltcolor}\"><normalfont color=\"{categoryfontcolor}\"><img src=\"
$noc_panel\"></normalfont></td>
 <td width=\"8%\" align=\"center\" bgcolor=\"{firstaltcolor}\"><normalfont color=\"{categoryfontcolor}\"><img src=\"
$noc_bind\"></normalfont></td>
 <td width=\"15%\" align=\"center\" bgcolor=\"{secondaltcolor}\"><normalfont color=\"{categoryfontcolor}\">
$a</normalfont></td>
 <td width=\"15%\" align=\"center\" bgcolor=\"{firstaltcolor}\"><normalfont color=\"{categoryfontcolor}\"> 
$f</normalfont></td>
  </tr>"
;
      } 
      return 
$final;
  } 
There is some more code under it. All I did was change monitor.php to test2.php and monitor2 to test a new monitor. It didn't work (area where $final is supposed to display is blank) and when I changed it back to the original, that doesn't work either now!

Any ideas?