[PHP-DEV] PHP 4.0 Bug #4334: ISAPI produces Internal Server Error HTTP 500 From: barmeier <email protected>
Date: 05/05/00

From: barmeier <email protected>
Operating system: NT4 (SP5) IIS4
PHP version: 4.0 Release Candidate 1
PHP Bug Type: Scripting Engine problem
Bug description: ISAPI produces Internal Server Error HTTP 500

Hi,

when using a framset with two frames where both frames contain PHP scripts that includes an identically list of PHP files I got a "HTTP 500 internal server error" or a
"cannot redeclare function xxxxx error".

The same scripts are stable when using php 3.xxx.

When reloading frame 2 severeal times by clicking the image
the redeclare error occurs.

This error occurs some times but is reproducable on my sytsem when using the following scripts:

Frameset:
<html>
<head>
</head>
<frameset cols="150,*">
  <frame name="Inhalt" target="Hauptframe" src="inhalt.php">
  <frame name="Hauptframe" src="hauptframe.php">
  <noframes>
  <body>
  <p>Diese Seite verwendet Frames.</p>
  </body>
  </noframes>
</frameset>
</html>

Frame 1:
<%
        if(!$path=getenv("KATO_PATH")){
                echo "Die KATO_PATH Systemvariable ist.";
                exit;
        }
        include $path."/core/globals-kato.php";
        include $path."/core/core_func.php";
        include $path."/wdbi/wdbi.php";
        include $path."/wdbi/connect.php";
        include $path."/wdbi/helpers.php";
        include $path."/ums/ums.php";
        include $path."/pim/pim.php";
%>
<html>
<head>
<base target="Hauptframe">
</head>
<body>
<p><a href="hauptframe.php"><img border="0" src="designs/kato/images/buttons/bt_ampel.gif" width="20" height="20"></a></p>
</body>
</html>

Frame 2:
<%
        if(!$path=getenv("KATO_PATH")){
                echo "Die KATO_PATH Systemvariable.";
                exit;
        }
        include $path."/core/globals-kato.php";
        include $path."/core/core_func.php";
        include $path."/wdbi/wdbi.php";
        include $path."/wdbi/connect.php";
        include $path."/wdbi/helpers.php";
        include $path."/ums/ums.php";
        include $path."/pim/pim.php";
%>
<html>
<head>
</head>
<body>
</body>
</html>

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>