Forum Moderators: phranque

Message Too Old, No Replies

Internal Server Error

         

scarlson

1:10 am on Nov 19, 2007 (gmt 0)

10+ Year Member



I am trying to create a new website with user registration and verification. I am using Godaddy as my host. I have emailed Godaddy multiple time but they say they can not help me so I am looking here for hopefully some answers on what I can do. What I am trying to do at the moment is have a user fill out a simple form (username, password twice, email) and then have those values stored in mySql database and have a email verification string be sent to their email to respond back to. The problem I have is that whenever I hit he submit button I get an Internal Server Error. From what I have ready it is probably due to a misconfigured .htaccess file. I do have a .htaccess file but everything in it is all commented out. What do I need to do in order for me to get rid of this Internal Server Error? Any help will be greatly appreciated.

<snip>

Thanks,
Scott

[edited by: jdMorgan at 1:28 am (utc) on Nov. 19, 2007]
[edit reason] Removed code dump and site particulars -- Please see TOS and forum charter [/edit]

jdMorgan

1:29 am on Nov 19, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The first stop when you get a server error should be your server error log file. What does it say when you get this error?

Jim

vincevincevince

1:42 am on Nov 19, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If all in your .htaccess is commented out; try removing it entirely!

scarlson

1:50 am on Nov 19, 2007 (gmt 0)

10+ Year Member



Who keeps the server error log, wouldn't that be Godaddy? If so, they have already told me they can't help me.

jdMorgan

1:55 am on Nov 19, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



What marvelous service! :(

Jim

scarlson

2:06 am on Nov 19, 2007 (gmt 0)

10+ Year Member



I have also tried to remove the .htaccess as well but that did not solve the problem. It seems what I am trying to do should be pretty basic. Is there a basic .htaccess file that I could copy and post it up on my site to see if it works, or is that not what I should do?

jdMorgan

2:06 am on Nov 19, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Do you have access to your raw server access logs? That might give at least a very general clue, though I doubt it'll be very useful, since you already know what URL you are requesting.

Jim

scarlson

2:08 am on Nov 19, 2007 (gmt 0)

10+ Year Member



I am very new to all of this stuff. I do have some programming background but not much. I also have never had to deal with any web server admin either. Where would I find the raw server logs?

vincevincevince

2:11 am on Nov 19, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Godaddy's site says:
1. Log in to your Account Manager.
2. In the My Products section, select Hosting Account List.
3. Next to the hosting account you want to modify, click Open.
4. In the Settings section of the Hosting Control Center, click the Error Logs icon.
5. Click Launch CGI Admin.
6. In the CGI Administration panel, click the Error Log tab.

scarlson

2:17 am on Nov 19, 2007 (gmt 0)

10+ Year Member



I found it but it says that my error log does not exist. I will recreate the error a few more times and see if the error log will update.

jdMorgan

2:25 am on Nov 19, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Be advised it may only be updated hourly, daily, or based on how much data is in the file. Unless you have 'directly-written' error logs, this varies by host.

Jim

scarlson

2:27 am on Nov 19, 2007 (gmt 0)

10+ Year Member



Great... yea I have been checking and it's not updating.

scarlson

2:35 am on Nov 19, 2007 (gmt 0)

10+ Year Member



Ok, I got something. Do you want me to post the error's? I saw that my code was taken out so I don't want to violate forum rules.

scarlson

2:50 am on Nov 19, 2007 (gmt 0)

10+ Year Member



Here is the error I get:

[Sun Nov 18 19:49:10 2007] [error] [client 24.***.32.8] malformed header from script. Bad header=No recipient addresses found i: /var/chroot/home/content/t/u/r/turnkeywebplan/html/example/account_setup.php

[edited by: jdMorgan at 2:53 am (utc) on Nov. 19, 2007]
[edit reason] examplified, obscured private IP address [/edit]

jdMorgan

3:06 am on Nov 19, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



So the script is the problem here, not the server.

You might want to review the script, simplify it, comment big parts of it out, and then work through it a piece at a time, testing individual sections to see where the 500-Server Error comes in. But either the header is missing, or you're outputting something as a header that is not a valid server response header.

Jim

phranque

2:22 pm on Nov 19, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



welcome to WebmasterWorld [webmasterworld.com], scott!