I am trying out Drupal on a sub-domain of mine, and I am getting a server error (500) after creating a new user (including user #1). The first time it happened I had installed 5.0b2, so I installed 4.7.4, but the same problem still occurs. I figure this means it is a configuration error on my end.

The new user appears to be created just fine -- if I log in as user #1 and reset the password, the new user can login and create content with no problem. However, when I submit the "create user" form, I get a "500 Internal Server Error". My error log says:
[Fri Dec 01 05:05:39 2006] [error] [client 67.169.211.178] malformed header from script. Bad header=/users/home/misterbrandt/dead.: php5-fcgi, referer: http://drupal.cntcts.info/?q=user/register

Server is Apache running PHP 5 as FastCGI, mysql 4.1.18 db.
I posted this question to the support forum at my host (textdrive.com) but the only suggestion was that Drupal was having problems with FastCGI, which this post to the Drupal forum seems to reject as an option.

Comments

dries’s picture

Bad header=/users/home/misterbrandt/dead. -- I wonder what that path is about?

Is there any way to obtain more information from Apache/FastCGI? What is the bad header? It might be useful to install a Firefox plugin like "LiveHTTPHeaders"; it allows you to look at (and debug) HTTP headers. Maybe it reveals some additional insight into the problem.

It's difficult to help without knowing what the malformed header looks like.

exclaim’s picture

I am getting a very similar error on my installation of drupal 5.1. I also installed 4.7.6 and got the same thing. My error is:

[Fri Mar 02 09:13:06 2007] [error] [client 74.98.120.30] malformed header from script. Bad header=/home/kc/dead.letter... Saved : php-script, referer: http://www.example.com/?q=user/register

Were you able to resolve this? Does anyone else have any ideas?

vb’s picture

Nothing has been changed and fixed in D6.
I am getting the same 500 error in D6.1.

vb’s picture

I think it is PHP Version 5.1.2 issue and only then the user entered nonexistend mail.

In PHP Version 5.2.5 and 4.4.1 registration works.

kenorb’s picture

The same problem:

[Mon Jan 19 01:05:32 2009] [error] [client 92.9.253.89] malformed header from script. Bad header=/home/sites/mysite.co.: index.php, referer: http://www. mysite.co.uk/node/add/page
[Mon Jan 19 01:05:38 2009] [error] [client 92.9.253.89] malformed header from script. Bad header=/home/sites/mysite.co.: index.php, referer: http://www. mysite.co.uk/node/add/page

Drupal 6.9 after added the page.