[Drupal] How to troubleshoot 500 Internal Server Error?
https://www.zyxware.com/sites/default/files/styles/user_image/public/default_images/index.png?itok=2YmREnrP
BY deepa.n
3 years ago
Server-Administration
0
comments comment

Occasionally we might come across 500 Internal Server Errors on our website. Are you getting the same error? If yes, let us find out how to fix this issue. Internal Server Error messages indicate a server-side error and there is something wrong with the server configuration. However, ensure that whether the problem still exists, by trying the following methods. Because this can be a temporary issue, may be due to browser cache or cookies.

  • Reload the web page. You can try:
    • Clicking the 'Reload this page' icon in the browser
    • Pressing F5 key on the keyboard
    • Enter the URL on the browser's address bar and load the page again.
  • Clear your browser's cache.
  • Delete your browser's cookies.
  • Restart your browser

There are lots of reasons behind a 500 Error. However the most common causes are:

  • Permissions Errors: An incorrect permission on one or more files or folders.
  • PHP Timeout Issues: If your script connects to external resources timeout.
  • A missing or erroneous .htaccess file

Here is the complete error message for reference:

internal server .png

How to fix 500 Internal Server Error on your site?
Let us find out the actual reason behind the internal server error in the server error log first. Follow the below steps:

cpanel.png

  • Login to your cPanel account.
  • Click on the 'Error Log' icon under 'Logs' in the cPanel home page.
  • Go through the errors logged.

From the error messages, we can identify whether internal server error occurred due to an incorrect permission or a PHP Timeout or the 500 server error caused due to missing/erroneous .htaccess file.


RELATED ARTICLE

close

on 19th December 2008 / by webmaster
We had a query from one of our customers to help them migrate their local mail server to Google Apps. They wanted to do this because they did not have the sufficient in-house capability nor have the funds to get paid external capability to support an internal mail server. One hurdle that they were facing was that they had around 40GB of mail left on the local mail server that they wanted to migrate to the new mail accounts they created on Google Apps. System Administration Internet GNU Linux Server Administration Leave a reply Your email address will not be published. Required fields are marker *
close

on 11th May 2012 / by vimal
Are you looking to configure Drupal with nginx Server? System Administration Ubuntu Web Development Server Administration nginx Leave a reply Your email address will not be published. Required fields are marker * Lucas Saliés Brum (not verified) access_time 20 Jul 2019 - 09:24 Thank you!!! Awesome tutorial! augusto (not verified) access_time 20 Jul 2019 - 09:24 on my brand new vps, had a root@li205-109:/opt/nginx-src# sudo dpkg -i nginx-full_1.2.1-2.2_i386.deb (Reading database ... 31565 files and directories currently installed.) Preparing to replace nginx-full 1.2.1-2.2 (using nginx-full_1.2.1-2.2_i386.deb) ... Unpacking replacement nginx-full ... dpkg: dependency problems prevent configuration of nginx-full: nginx-full depends on nginx-common (= 1.2.1-2.2); however: Package nginx-common is not installed. dpkg: error processing nginx-full (--install): dependency problems - leaving unconfigured Errors were encountered while processing: nginx-full while installing the packaging with sudo dpkg -i nginx-full_1.0.5-1_i386.deb Solved with a sudo apt-get install nginx-common Add new comment
close

on 01st June 2012 / by sujith.s
When a server is managed by more than one admin, it’s always a challenge to keep track of the changes made to the configuration. And when in a multiserver environment managed by more than one admin, this is going to be more complex. It would have been much saner if there was a utility to handle all this. The ones that we found were quite complicated and was made for handling huge numbers. All we wanted was a very simple utility to do just the job, without much bells and whistles. And so, we started out on our own. Here’s what we have now. Linux System Administration Server Administration Git Version Control System Leave a reply Your email address will not be published. Required fields are marker * Anonymous (not verified) access_time 20 Jul 2019 - 09:24 Thanks it is exactly what I'm looking for. Add new comment
Leave a reply
Your email address will not be published. Required fields are marker *

Filtered HTML

  • Web page addresses and email addresses turn into links automatically.
  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type='1 A I'> <li> <dl> <dt> <dd> <h2 id='jump-*'> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
The content of this field is kept private and will not be shown publicly.
CAPTCHA This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.