Last updated August 13, 2010. Created by qmaria on March 28, 2009.
Edited by robokev, Francewhoa. Log in to edit this page.
When using Drupal your browser returns the following error
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@******.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
An "Internal Server Error" is an error on the web server that you're trying to access. That server is misconfigured in some way that is preventing it from responding properly to what you're asking for.
An "Internal Server Error" often occurs on:
- Misconfigured Drupal core file or folder read and write permissions.
- Misconfigured web server file or folder read and write permissions.
- Corrupted file(s).
- After enabling a module.
To fix this click on one of the below possible causes.
Comments
Try RewriteBase /
I had a "500 Internal Server Error" error on a Rackspace Cloud Site (Mosso). I had to uncomment "RewriteBase /" in the .htaccess file to fix.
Dude, you just saved my bacon
I just updated a site on Rackspace Cloud Site (Mosso) and wrote over the original .htaccess file.
I set the darned thing up and forgot that I had customized the .htaccess for the rackspace environment.
I had a couple of of ugly moments there. Whew...
Congratulations and thanks
Hey, I also have the 500 error and uncomment the RewriteBase / it works fine.
Thanks
Removing the comment sign at
Removing the comment sign at "RewriteBase /" fixes my problem on migration of Drupal 7.9 too! Thank you!
Thanks!
This fixed my Rackspace issues. Thanks!
Omission in .htaccess
I received a "500 Internal server error" which is solved by closing the string:
ErrorDocument 404 "The requested file favicon.ico was not found."
at line 22 in .htaccess. This error is also in version 6.17.
Abstracting time and space
http://www.hugo-jimenez.fr/
Good spot
I can confirm this in 6.19 as well. Cheers.
GlossyIbis
.htaccess fix
Looks like this trailing quote at line 22 might have solved my problem with Drupal 6.20 and Apache 2.2 Thanks!!!
Drupal 7
I had to comment "Options -Multiviews" string.
500 internal server error
Hi,
I am building a site in Drupal 6 on Godaddy.com. I copied all the files in the root directory and imported my MySQL database. I also copied, pasted and renamed default.settings.php to settings.php. Then I went to the domain(tasks.capogroup.com) to complete my installation. Then when I try to log in with my administrator account(or with any other account) I got the 500 internal server error.
The part where I put the hostname, database name and database password went fine.
I am new with this technologies and I am having a hard time getting this ready. I will appreciate any help.
Thanks
Eduardo Saborit
http 500 error
Hi,
I have the same problem, i'm trying for the past 2 days to install drupal and every time i'm getting a successful installation but when i'm clicking the "view your site" i'm presented with "http 500 internal server error" in IE or "The page cannot be displayed because an internal server error has occurred." in firefox. I did pu up this issue with my hosting company and their answer was:
"It looks like there is a PHP error somewhere inside of your application. Unfortunately as this is a Windows hosting package there are no error logs that could indicate where the problem is.
I would suggest you try using this:
https://support.blacknight.ie/index.php?_m=knowledgebase&_a=viewarticle&...
to try obtaining the errors that are causing this.
I would also suggest you check to make sure that all of your files have the correct file permissions (as this may also be causing it) and you can change the permissions of files on Windows using:
https://support.blacknight.ie/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=274"
Probably i did about 6 or 7 fresh installs with no avail, so if anybody out there has a solution would be great to hear about it.
Regards:
Felix.
Not an expert, but GoDaddy has issues
I was having the same problems with GoDaddy as well, all sorts of installation problems with them. Didn't matter if I was building the site locally or on their server, always getting error messages. Tech support gave me the "we don't debug other people's code" response when I asked about the installation obstacles, so I just ended up going with a different host. After spending three days wrestling with it on GoDaddy for a client, I got my site up in 30 minutes on an alternate host. (FatCow) Not an endorsement of any other service, but GoDaddy definitely makes Drupal installs hard. Save your time and go with a company that supports Drupal out of the gate.
More 500 fun
I'm at the end of my rope here.
I've been going through all possible .htaccess fixes and made sure all the file permission are as intended, but no go.
So, the site seems to work just fine until I import the old database to the new host. It is after that I start getting those pesky 500 errors. The database dump is almost 17MB unpacked. Reckon that the hosting provider can't handle databases that big and it's timing out or something?
In a nutshell:
1) Download site files from old host, do a clean Drupal install on new host, upload old files -> A working site with no content, blocks, views, etc. (Themes work)
2) Download site files from old host, export MySQL database, upload files to new host, import database -> 500 error.
500 Internal Server Error error
WAAHAAHAA! Me too, on Godaddy, after moving three D7 sites from individual hosting plans to one that allows hosting multiple sites under one plan. I think I just fixed it in the .htaccess file. Only needed to do this for for two of the sites where the domains actually point to sub-folders in the root:
In .htaccess:
# If your site is running in a VirtualDocumentRoot at http://example.com/,
# uncomment the following line:
# RewriteBase /
So far things are working. I've never had problems with Godaddy before while using Drupal and didn't have to change any of the defaults in .htaccess or settings.php. But all of my sites were on their own hosting plans then. So I guess the plan you choose may make a difference. BTW, tech support at Godaddy really did try to help me out and spent time looking at my db, htaccess, and settings file. They're not all that bad. All of us just missed that one line.
Go with my flow or get out of my way!
one variation of line
Thank-you for the above comment - it worked for me
My drupal 6.22 was installed locally to configure and test. Followed the procedure to move to 1and1.com:
- registered, created domains, etc.
- created database on hosting account
- exported local and imported into hosting site
- copied local installation to new host, altered settings.php to reference new sql dbf
The site showed the maintenance screen - i set it to main mode before making the move. I got into the site administrator account with the /?q=user bypass. It let me log in with the site admin account, but anything I clicked on would result in a white screen of death with the very uninformative massage about the 500 internal server error.
That brought me to this section. The domain points directly into the drupal directory, but had reached this point and was at a loss for anything to try that made sense. I have been going through this section and progressing through suggestions, no matter if they sounded like a longshot or not. Here are the variations of the suggestions I tried in this section:
# pkb-110819 - uncommented rewitebase and altered to refer to subdir on server
# - longshot on clearing up 500 internal server error
# pkb-110819 - aggravater the problem
# RewriteBase
# RewriteBase /website
# RewriteBase ./
# RewriteBase .
RewriteBase /
The last one was the winner.
Drupal.org rocks! Thanks for sharing your experiences. This is my first drupal site.
Regards
Clear Cache clears 500 Errors sometimes (Drupal 7.x)
I just had this problem when upgrading modules in Drupal 7 (copying over module files by hand).
I would get a 500 error when I went to check the modules page. Also my website was blank and 500 errors were occurring in various places, although I could still get around the admin site a fair amount.
I randomly tried clearing cache, and it worked! The error went away.
ERROR 500 while uploading .po language file in ISPconfig machine
I Got the Error 500 while I was uploading a *.po language file in /admin/build/translate/import
This was caused by the fcgid module in Apache2
How to fix
Edit /etc/apache2/mods-available/fcgid.conf
Add a line: MaxRequestLen 15728640
That's for 15Mb uploads.
Now your fcgid.conf file looks like this:
AddHandler fcgid-script .fcgiFcgidConnectTimeout 20
MaxRequestLen 15728640
Now just restart apache.
apachectl gracefulSo do I
I have the same error.
But it appears randomly. I don't update or install new modules/themes, but it still happens.
Anyone help me?
My sites: Tăng Huyết Áp Việt Nam, Y Học Việt Nam
To me this happned only on
To me this happned only on the Modules and Features pages and it was caused by enabling a webform block.
Permissions, in my case
I am using Green Geeks ... Drupal 7 ...
In my case, the permissions were wrong and produce an error like this in the error log:
[Fri Dec 09 22:00:49 2011] [error] [client 24.238.43.61] SoftException in Application.cpp:431: Mismatch between target GID (501) and GID (6226) of file "/home/******/public_html/drupal/index.php"
[Fri Dec 09 21:52:20 2011] [error] [client 24.238.43.61] SoftException in Application.cpp:422: Mismatch between target UID (503) and UID (6226) of file "/home/*****/public_html/drupal/index.php"
Changing the permissions to reflect my accounts username as the user and group that 'chown's the files did the trick.
Peace,
Julie
confirmed
RewriteBase /
on .htaccess on 1and1 resolved this
max_execution_time
Tried everything here with no result.
increasing the max_execution_time in php.ini to 100 seconds did it.
Hope this helps someone.