ID: 19826 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: No Feedback Bug Type: Output Control Operating System: suse linux 7.2 / 7.3 PHP Version: 4.2.2 New Comment:
No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. Previous Comments: ------------------------------------------------------------------------ [2002-10-09 09:30:12] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip This is most likely session related problem, please try the snapshot. (check also your error_log for possible segfaults at the time..) ------------------------------------------------------------------------ [2002-10-09 08:53:19] [EMAIL PROTECTED] Could you please provide a smaller example that can demonstrate the problem and that does not rely on inclusion of other files. Thanks. ------------------------------------------------------------------------ [2002-10-09 02:27:19] [EMAIL PROTECTED] sometimes when i click on a link the php-script returns no data, so a blank page is displayed. this error just happens sometimes. not regular. also this happens more often when i submit a <form> (doesn't matter if POST oder GET method). here an example script (index.php): <? include("include/server.php"); include("include/settings.php"); $oPage = new XTemplate ("html/root.html"); switch ($what) { case "ha": $sTitel = "home & aktuelles"; $sInhalt = include("news.php"); break; case "lpp_p": $sTitel = "leistungen preise & produkte - printlayout"; $sInhalt = include("lpp_p.php"); break; case "lpp_sp": $sTitel = "leistungen preise & produkte - spieleprogrammierung"; $sInhalt = include("lpp_sp.php"); break; case "lpp_wh": $sTitel = "leistungen preise & produkte - webhosting"; $sInhalt = include("lpp_wh.php"); break; case "lpp_ipm": $sTitel = "leistungen preise & produkte - internet projekt & beteiligungs management"; $sInhalt = include("lpp_ipm.php"); break; case "lpp_ssn": $sTitel = "leistungen preise & produkte - software, server & netzwerktechnik"; $sInhalt = include("lpp_ssn.php"); break; case "lpp_os": $sTitel = "leistungen preise & produkte - online shop"; $sInhalt = include("lpp_os.php"); break; case "lpp_ie": $sTitel = "leistungen preise & produkte - internet entwicklung"; $sInhalt = include("lpp_ie.php"); break; default: $sTitel = "home & aktuelles"; $sInhalt = include("news.php"); break; } if ($what == "ha" || !$what) { if (!$show) { $oPage->parse("root.fragen"); } } $oPage->assign("FILE", $PHP_SELF); $oPage->assign("TITEL", $sTitel); $oPage->assign("INHALT", $sInhalt); $oPage->parse("root"); $oPage->out("root"); ?> the file "server.php" just checks on which server the script is running an sets the include_path and global mysql-access variables. and it includes 5 more php files which contains classes and functions. the file "settings.php" has the following content: <? set_time_limit(0); header ("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); header ("Last-Modified: " . gmdate ("D, d M Y H:i:s") . " GMT"); header ("Cache-Control: no-cache, must-revalidate"); header ("Pragma: no-cache"); session_register("sLanguage"); ?> when i remove the header-data the problem still exists. also i tried the following in my "index.php" <? include("include/server.php"); include("include/settings.php"); ?> <div></div> <? $oPage = new XTemplate ("html/root.html"); if ($what == "ha" || !$what) { if (!$show) { $oPage->parse("root.fragen"); } } $oPage->assign("FILE", $PHP_SELF); $oPage->assign("TITEL", $sTitel); $oPage->assign("INHALT", $sInhalt); $oPage->parse("root"); $oPage->out("root"); ?> the problem still exists ... i use apache 1.3.26. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19826&edit=1