how do I fix the internal server error?

sarahann / 2012-11-10 00:03:52   

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webadmin@kundenserver.de 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 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

arsondpi / 2012-11-10 07:16:22   

you're propably missing a file...
What's your site?

realgood / 2012-11-11 20:13:15   

I have this exact same error. I thought it was my hosting server (webhostingpad) but when I contacted them about it, their response was:

I get the following errors.
Premature end of script headers: index.php
Kindly check the code of index.php

I don't know anything about php, and I uploaded this site over a year and a half ago and haven't touched it since. the url just suddenly stopped working. any suggestions? it's a portfolio site and I need to send it off with an application asap!

here's the page: alturl.com/…

Vaska A / 2012-11-11 20:21:14   

This error is indicative of a failed database connection. Most often, the login or password were changed and need to be updated in the /ndxx-studio/config/config.php file. And/or, the database is corrupt and needs to be repaired.

realgood / 2012-11-12 01:52:20   

Thanks for your quick response. I apologize but I can't seem to find the issue. I repaired the database, and the username and password in the php file match that saved in my webhostingpad cpanel. here is the php code, copy/pasted from dreamweaver...

unless 'host' should be something else? sorry, again, I'm super ignorant...my knowledge is limited to just-passable html/css...

realgood / 2012-11-12 03:43:32   

I just realized my last post, the PHP didn't copy over. So trying again (and after talking to the server host again), they asked me to send over this info...but I'm changing all the $s to #s so it won't be deleted upon submission.

Code is config.php :

#indx['db'] = 'realgood_ndxhbt';
#indx['user'] = 'realgood_ndxhbt';
#indx['pass'] = 'zzzzzzzzz';
#indx['host'] = 'localhost';
#indx['sql'] = 'mysql';

Mysql is connecting well with the db.

# mysql -u realgood_ndxhbt -p2010isgood

mysql> show databases ;
+--------------------+
| Database |
+--------------------+
| realgood_ndxhbt |
+--------------------+

mysql>

This thread has been closed, thank you.