So i was trying to make wordpress work, installed it a few days ago, but after installation i got a 500 internal server error. I couldn't get past the login screen, and after commenting a line indicated in another of the forum posts i can't get the main page index.php to display.
Started going through the code, and got to the functions.php and specifically to the status_header function. Seems that it will display an internal server error when sending the header. In this case this happens with this line:
@header("HTTP/1.1 $header $text");
Any ideas on why is this caused? I don't have any .htaccess file, and double checked that the files have the right permissions. If i comment the line above it will display the main page, but im guessing that any other operation that also sends headers will result in the 500 internal server error.