Http 1 .1 500 internal server error


I havent updated or modified my php code or php pages from over 6 months.

Today suddenly one of my page is displaying blank and

this error is shown by Firefox Web Console :

Use of getPreventDefault() is deprecated.
Use defaultPrevented instead. jquery.min.js:2

A form was submitted in the windows-1252 encoding which cannot encode all Unicode characters, so user input may get corrupted. To avoid this problem, the page should be changed so that the form is submitted in the UTF-8 encoding either by changing the encoding of the page itself to UTF-8 or by specifying accept-charset=utf-8 on the form element.

[COLOR="#FF0000"]POST [HTTP/1.1 500 Internal Server Error 953ms][/COLOR]

The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol.

Dont know from where suddenly this 500 internal server error appeared and page is displaying blank.

any help would be appreciated.


Hi vinpkl,

The first place to start would be to check your server’s PHP error log, to hopefully find more information on what’s causing the error.


There is a error_log file in the root But it is empty.

No error mentioned in it.

But The error is shown in the firefox web Console.

Whats the other method to debug error.


I would guess that if you have not changed anything there must have been an upgrade to the server software.

You could check with your hosts and see what if anything changed last night.

You say you have not changed anything for six months; how long ago was the site written? You have two javascript problems and there could be more php ones if you are using php; although I would think they would show up in an error file.

Have you checked the date of your files to ensure nobody has tried to hack your site?

Have you made recent changes to your htaccess file?

I have seen where improper rules have caused “infinate loops” that give 500 errors.

Or maybe the host upgraded the PHP version and some deprecated code is now hanging?