Forum Replies Created
-
And why should I do that? It wasn’t listed as a necessity. Change the bug to ‘implementation of finding whether the templates exist should be revised to something more integrated, like a simple file_exists(get_(template/stylesheet)_directory().’/blogs/index.php’)
Found the problem with the 404 page showing up on a redirect with buddypress. It’s not buddypress.
in wp-includes/pluggable.php in the main wp core the function wp_redirect –
if ( $is_IIS ) {
header(“Refresh: 0;url=$location”);
} else {
if ( php_sapi_name() != ‘cgi-fcgi’ )
status_header($status); // This causes problems on IIS and some FastCGI setups
header(“Location: $location”);
}
the $is_IIS is doing a REFRESH: 0; url=location when on windows server 2008 header(“Location: $location”); works fine with the latest fast-cgi module release
SOO basically in wp-includes vars.php making this change:
/**
* Whether the server software is IIS or something else
* @global bool $is_IIS
*/
if (strpos($_SERVER, ‘Microsoft-IIS’)) {
if (strpos($_SERVER, ‘Microsoft-IIS/7.0’)) {
$is_IIS = false;
} else {
$is_IIS = true; // (strpos($_SERVER, ‘Microsoft-IIS’) !== false) ? true : false;
}
} else {
$is_IIS = false;
}
fixed it, by declaring that a microsoft-iis/7.0 server is *not* iis
thanks appreciate it very much, the users are loving the buddypress i’m very happy that i’m using it
the members, directory and blog -> widget area (sidebar) are all the same where it needs the float cleared at the end of the loop if you could
sorry I forgot this one:
define( ‘NOBLOGREDIRECT’, ‘http://webcomicplanet.com/’ );
I need to use ^^ that in the wp-config.php so that it redirects however if I do that, the 404 error doesnt refresh to the appropriate page when doing a buddypress action so i’m guessing that’s related
this is windows server 2008 so i’m sure there are some problems here and there
Yeah I got the members-directory.php set on my theme, was just wondering if those were the only 3 .. cause that would be k-rad if we could do that for all the members pages but again wishful thinking
I’m just the type that would rather have one theme and css handle everything.
Is there a list of other templet overrides that can be done?
What does this do in the wp-config.php then?
define( ‘NOBLOGREDIRECT’, ‘http://yourdomain.tld/’ );
yeah but on windows server 2008 its heirarchal permissions and everything is set so pretty unsure what the problem could be at this point
whats the directory path(s) it saves to, then moves the file to?
Having the problem today.
Yeap.
Okay figured out the directory structure problem, had to add the correct role to the url rewrite okay that’s fixed.