PHP 4.0 Bug #4334: ISAPI produces Internal Server Error HTTP 500
| From: | barmeier at barmeier dot com | Date: | Fri, 05 May 2000 06:46:39 +0000 |
| Subject: | PHP 4.0 Bug #4334: ISAPI produces Internal Server Error HTTP 500 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-18438@lists.php.net to get a copy of this message | ||
From: barmeier@barmeier.com
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>