How do I fix a '500 Internal Server Error' on my website?
-
-
Answer:
500 Internal Server Error 5xx Server Error The server failed to fulfill an apparently valid request.[2] Response status codes beginning with the digit "5" indicate cases in which the server is aware that it has encountered an error or is otherwise incapable of performing the request. Except when responding to a HEAD request, the server should include an entity containing an explanation of the error situation, and indicate whether it is a temporary or permanent condition. Likewise, user agents should display any included entity to the user. These response codes are applicable to any request method. 500 Internal Server Error A generic error message, given when no more specific message is suitable.[2] 501 Not Implemented The server either does not recognise the request method, or it lacks the ability to fulfill the request.[2] 502 Bad Gateway The server was acting as a gateway or proxy and received an invalid response from the upstream server.[2] 503 Service Unavailable The server is currently unavailable (because it is overloaded or down for maintenance).[2] Generally, this is a temporary state. 504 Gateway Timeout The server was acting as a gateway or proxy and did not receive a timely response from the upstream server.[2] 505 HTTP Version Not Supported The server does not support the HTTP protocol version used in the request.[2] 506 Variant Also Negotiates (RFC 2295) Transparent content negotiation for the request results in a circular reference.[17] 507 Insufficient Storage (WebDAV) (RFC 4918)[6] 509 Bandwidth Limit Exceeded (Apache bw/limited extension) This status code, while used by many servers, is not specified in any RFCs. 510 Not Extended (RFC 2774) Further extensions to the request are required for the server to fulfill it.[18] Source: http://en.wikipedia.org/wiki/500_Internal_Server_Error#5xx_Server_Error
newuser77479097 at Amazon Askville Visit the source
Other answers
There are a number of causes for a “500 Internal Server Error” to display in a web browser There are a number of causes for a “500 Internal Server Error” to display in a web browser: Interference with an .htaccess file If you have implemented .htaccess on your site, it may be interfering with the web page you are trying to load into your browser. Please double check the .htaccess configurations to ensure that it doesn’t contain any errors. To confirm whether a misconfiguration .htaccess is the cause of the 500 Internal Server error, either remove or rename the .htaccess file temporarily and then try to reload the page. PHP Coding Timing Out If your PHP script makes external network connections, the connections may time out. If too many connections are attempted and time out, this will cause a “500 Internal Server Error.” To prevent such time outs and errors, we suggest that your relevant PHP scripts be coded with some timeout rules. Typically however, catching a timeout error when connecting to a database or externally to remote resources (example: RSS feeds) are difficult as they in effect freeze the script from continuing to run. Removing any external connections can increase both the performance of your website and decrease the chances of you receiving a “500 Internal Server Error.” Syntax or coding errors in your CGI/Perl script If it is a web page ending in .cgi or .pl that is producing the error, check your script for errors. You can use the following web-based tool (where http://membername.netfirms.com is the member name assigned to your account – please check your Netfirms Welcome Letter for your membername; scriptname.pl is the name of the script you are attempting to run): http://membername.netfirms.com/cgi/cgierr.pl/cgi-bin/scriptname.pl OR http://membername.netfirms.com/cgi/cgierr.pl/cgi-bin/scriptname.cgi CGI Script Guidelines: When editing your CGI script, use a program that saves the file as a ‘text file’ type. DO NOT use Wordpad that comes with Microsoft Windows because it doesn’t save files in pure ASCII text format. Use Notepad instead to edit files. Upload your CGI scripts in ASCII mode into the cgi-bin directory. Set the file permissions on the CGI script file and directories to be ‘chmod 755.’ If you use an FTP program to transfer files, right-click on the file and select change file attributes. Using FileZilla, enter 755 under numeric value. If you are still getting errors, you can instruct the server to display any errors messages to the web browser by adding the following line near the top of the Perl script: 1 #!/usr/bin/perl use CGI::Carp qw(fatalsToBrowser); Double-check any changes you have made to the script and also ensure the following line appears after the Perl path: 1 print "Content-type: text/htmlnn"; Source: http://support.netfirms.com/coding/errors/how-do-i-fix-a-500-internal-server-error-on-my-website
Librarian50
Related Q & A:
- How do I fix a corrupted flash drive?Best solution by Yahoo! Answers
- How can i create a mobile application server?Best solution by Stack Overflow
- How do I fix a Spooler subsystem app error?Best solution by Yahoo! Answers
- How do I fix a DNS error on a PSP?Best solution by wikihow.com
- How do I fix my Xbox 360 e74 error?Best solution by ChaCha
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.