|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-07-07 09:14 UTC] tomator at wio dot zsi dot 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. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 07 14:00:01 2026 UTC |
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.