|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-07-27 18:20 UTC] derick@php.net
[2000-08-18 13:07 UTC] waldschrott@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 10 13:00:01 2026 UTC |
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>