Bug #18210 Updated: Internal Server Error 500

From: Date: Sun, 07 Jul 2002 19:24:38 +0000
Subject: Bug #18210 Updated: Internal Server Error 500
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-13420@lists.php.net to get a copy of this message
ID: 18210 Updated by: tomator@wio.zsi.pl Reported By: tomator@wio.zsi.pl Status: Open Bug Type: Scripting Engine problem Operating System: Windows XP + Apache/1.3.24 PHP Version: 4.2.1 New Comment: Finally, I returned to PHP 4.1.2 and got number of line with parse error. This time it was: if (isset($_POST["usermail"]) and isset($_POST["userpwd"]) and !isset($_SESSION["id"]==0)) { (last part, after !isset was wrong) Version 4.1.2 reports parse error while 4.2.1 causes error 500. Previous Comments: ------------------------------------------------------------------------ [2002-07-07 14:25:30] tomator@wio.zsi.pl Instead of "parse error" I often get an Internal Server Error 500, which says nothing about what was wrong. I tried to get closer to focus the problem, so I made simply file... but it is crashing even without any php in it: ----------------------- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>title</title> </head> <body> this is normal file </body> </html> -------------------------------- It's addres is http://wio4.zsi.pl/del_it.html Other files (with PHP without errors) works fine, working with MySQL. Problems started after installing PHP 4.2.1 ------------------------------------------------------------------------ [2002-07-07 09:15:18] sander@php.net Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. ------------------------------------------------------------------------ [2002-07-07 09:14:13] tomator@wio.zsi.pl When PHP tries to execute script line that contains some errors, it outputs error message. OK. When this line is in not executed block (after 'if') I get the Internal Server Error 500, which says nothing about what was wrong. There might be missning ")" of '"varname"' instead of '$_POST["varname"]' or other error in line. When PHP jumps over such line, it causes error 500. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18210&edit=1

« previous php.bugs (#13420) next »