Welcome Guest, Not a member yet? Register   Sign In
my website - currently unable to handle this request
#8

(This post was last modified: 04-17-2017, 04:29 AM by InsiteFX.)

500 INTERNAL SERVER ERROR MESSAGE

OVERVIEW:

500 Internal Server Error is a generic error message, given when no more specific message is suitable.
There are a number of causes for a 500 Internal Server Error to display in a web browser.

CHECK THE ERROR LOGS!

With any error message, particularly one as broad as the 500 Internal Server Error,
you will first want to check any Apache and PHP error logs for your server.
These logs can provide valuable context related to any code failures or other potential
causes of a site failure.

ERROR WITH AN .HTACCESS FILE:

If you are using a .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 configuration.
Any syntax errors will cause a 500 Internal Server Error message to be displayed instead of your website.

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 these time outs and errors, you'll want to make sure that 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. 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.

When editing your CGI script, use a plain text editor - 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. See Using FTP and SFTP.

Double-check that the Perl modules you require for your script is supported.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
RE: my website - currently unable to handle this request - by InsiteFX - 04-17-2017, 04:27 AM



Theme © iAndrew 2016 - Forum software by © MyBB