Skip to:
Content
Pages
Categories
Search
Top
Bottom

'Premature end of script headers' / Internal Server Errors

  • @mlangsman

    Participant

    Hi,

    Im recently installed WPMU 2.8.6 with subdomains on FreeBSD and after installing BP I can see the main blog and the buddypress bar at the top but after I try and login as admin I start getting internal server errors and then cant access any of the site. After clearing cookies etc I can go back to square one and login again and then the same occurs. Ive read all the related posts and tried various solutions – here is the lowdown :

    In my logs I have…

    Thu Dec 10 13:17:28 2009] [error] [client 217.206.197.220] Premature end of script headers: index.php

    [Thu Dec 10 13:18:14 2009] [error] [client 217.206.197.220] File does not exist: /var/www/projoosr.com/www/2009, referer: http://projoosr.com/

    [Thu Dec 10 13:18:36 2009] [error] [client 217.206.197.220] Premature end of script headers: index.php, referer: http://projoosr.com/wp-login.php

    [Thu Dec 10 13:18:41 2009] [error] [client 217.206.197.220] Premature end of script headers: index.php

    Im hosting with a friend and not 1and1. The PHP settings are showing 64mb in the right places as suggested. I have tried the 1and1 htacces settings anyway and these do not help. Here is my htaccess anyway without the 1and1 stuff :

    Options +FollowSymLinks

    AuthName “Site”

    AuthType Basic

    AuthUserFile /var/www/projoosr.com/htrizzle/.htpasswd

    Require valid-user

    Im using htaccess Auth to keep the site private until I go live. One interesting thing – not sure if this is relevant but when I click on the link to the hello world test post that was created on wpmu install, as you can see in the logs, is not found on the server.

    Also when I get rid of the BP directory I can access my site again – it looks like the problem is related to being logged in as admin under BP because after deleting the BP directory I can see that I was actually logged in as admin.

    Any help much appreciated – hope Ive provided enough details !

Viewing 5 replies - 1 through 5 (of 5 total)
  • @djpaul

    Keymaster

    So you say if you disable BuddyPress, it works and you can log in ok? Can you view the hello world test post without BP enabled?

    Try boosting your php memory to something like 128mb as a test.

    @mlangsman

    Participant

    Thanks for your mega prompt reply ! :D Yes I can log in fine without BP – I still cant see the hello world post so maybe thats probably a different issue entirely ! Ill try the larger mem now and see what happens – should I up all values to 128mb or just memory limit ?

    @mlangsman

    Participant

    Okay I tried dialling up the memory but that doesnt seem to have changed things :/ do you have any other ideas ?

    @mlangsman

    Participant

    Any help on his would be really really appreciated !! :)

    @mlangsman

    Participant

    Okay I’ve resolved the problem with being able to read posts but buddypress still keels over on activation. Even though my wpmu install seems to be working perfectly I can see these errors after install – could these be causing the activation problem ? I’m a bit perplexed as the db seems like it’s built ok….

    [Mon Dec 14 14:18:50 2009] [error] [client 217.206.197.220] PHP Notice: Constant DB_NAME already defined in /var/www/projoosr.com/www/wp-config.php on line 23, referer: http://www.projoosr.com/

    [Mon Dec 14 14:18:50 2009] [error] [client 217.206.197.220] PHP Notice: Constant DB_USER already defined in /var/www/projoosr.com/www/wp-config.php on line 26, referer: http://www.projoosr.com/

    [Mon Dec 14 14:18:50 2009] [error] [client 217.206.197.220] PHP Notice: Constant DB_PASSWORD already defined in /var/www/projoosr.com/www/wp-config.php on line 29, referer: http://www.projoosr.com/

    [Mon Dec 14 14:18:50 2009] [error] [client 217.206.197.220] PHP Notice: Constant DB_HOST already defined in /var/www/projoosr.com/www/wp-config.php on line 32, referer: http://www.projoosr.com/

    [Mon Dec 14 14:18:50 2009] [error] [client 217.206.197.220] PHP Notice: Constant VHOST already defined in /var/www/projoosr.com/www/wp-config.php on line 39, referer: http://www.projoosr.com/

    [Mon Dec 14 14:18:50 2009] [error] [client 217.206.197.220] WordPress database error Table ‘projoosr.wp_blogs’ doesn’t exist for query SELECT * FROM wp_blogs WHERE domain = ‘projoosr.com’ made by require, include, include_once, require_once, require_once, referer: http://www.projoosr.com/

    [Mon Dec 14 14:18:50 2009] [error] [client 217.206.197.220] WordPress database error Table ‘projoosr.wp_sitemeta’ doesn’t exist for query SELECT meta_value FROM wp_sitemeta WHERE site_id = 1 AND meta_key = ‘site_name’ made by require, include, include_once, require_once, require_once, get_current_site_name, referer: http://www.projoosr.com/

    [Mon Dec 14 14:18:50 2009] [error] [client 217.206.197.220] WordPress database error Table ‘projoosr.wp_blogs’ doesn’t exist for query SELECT blog_id FROM wp_blogs LIMIT 0,1 made by require, include, include_once, require_once, require_once, referer: http://www.projoosr.com/

    [Mon Dec 14 14:18:50 2009] [error] [client 217.206.197.220] WordPress database error Table ‘projoosr.wp_sitemeta’ doesn’t exist for query SELECT meta_value FROM wp_sitemeta WHERE meta_key = ‘wpmu_sitewide_plugins’ AND site_id = 1 made by require, include, include_once, require_once, get_site_option, referer: http://www.projoosr.com/

    [Mon Dec 14 14:18:50 2009] [error] [client 217.206.197.220] WordPress database error Table ‘projoosr.wp_sitemeta’ doesn’t exist for query SELECT meta_value FROM wp_sitemeta WHERE meta_key = ‘active_sitewide_plugins’ AND site_id = 1 made by require, include, include_once, require_once, apply_filters, call_user_func_array, mu_filter_plugins_list, get_site_option, referer: http://www.projoosr.com/

    thanks !!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘'Premature end of script headers' / Internal Server Errors’ is closed to new replies.
Skip to toolbar