Hello,

I'm getting a 500 server error on my site... I can access the rest of the site and content through my login, however the index page doesn't seem to exist... I've tried copying index.php from a fresh drupal installation to the existing one but nothing happens, i've checked with the host and everything on server is working fine and there was no hack on the site... they don't seem to have any clue why the index page is not showing up.....
today i found this error.... [Sat Dec 05 20:41:35 2009] [error] [client ************] Premature end of script headers: index.php
with a suggestion from a friend that it must be a scripting error meaning the index.php script is wrong

Please help. my site is www.kasreport.com

thanks,
Kas Report

Comments

dadderley’s picture

Your site is really slow.
The problem is not with your index page though or you would have no site at all.

500 errors quite often indicate that your server is chugging away with too little resources.
First thing that I would do is check your status report page to see how much php memory that you have.
Drupal seems to like having a good 92 M to be happy.

Kas Report’s picture

what you saw with the main page was the previous backup, i restored it to a november backup and could get the index page.... today morning i restored it to a more recent backup and if you click on www.kasreport.com you'll see the 500 server error...

I have all my content in the most recent backup however with that i have no index page. If i restore the site to a November backup i have the index page however i lose all the content since Nov to now.....

Is there a way to restore it to November and then just move the content (nove to dec) content into the restored version? the back up are in mysql i have no clue how to find out which tables in Mysql correspond with the content I'd want to move also would that mean i move it table by table or would there be a way to move several tables at once?

finally what does this error mean?
user warning: Table 'drup_tw_tables' already exists query: CREATE TABLE drup_tw_tables ( `twtid` INT unsigned NOT NULL auto_increment, `tablename` VARCHAR(255) NOT NULL DEFAULT '', `dbconnection` VARCHAR(255) DEFAULT 'default', `existing_view_data` TINYINT unsigned NOT NULL DEFAULT 0, PRIMARY KEY (twtid) ) /*!40100 DEFAULT CHARACTER SET UTF8 */ in /home3/kasrepor/public_html/includes/database.inc on line 529.

and how do i correct that?

hectorplus’s picture

Consider reducing the number of posts on your main page. It is slow.