php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4334 ISAPI produces Internal Server Error HTTP 500
Submitted: 2000-05-05 02:46 UTC Modified: 2000-08-18 13:07 UTC
From: barmeier at barmeier dot com Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0 Release Candidate 1 OS: NT4 (SP5) IIS4
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: barmeier at barmeier dot com
New email:
PHP Version: OS:

 

 [2000-05-05 02:46 UTC] barmeier at barmeier dot com
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>


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-27 18:20 UTC] derick@php.net
Do you still have this problem? If so, please try the latest version and see if the problem persists.
 [2000-08-18 13:07 UTC] waldschrott@php.net
Closed due to missing user feedback.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Sep 28 19:01:26 2024 UTC