nicky2time
Forum Replies Created
-
Forum: Installing WordPress
In reply to: 1st blog disappeared when adding second blogResolved. Hostgator has a ‘repair database’ option which did the trick
Forum: Installing WordPress
In reply to: 1st blog disappeared when adding second blogI’m not sure about using same database. I don’t even know how to point a new blog to a different databse. I assume I did since I have no files anymore. Did I just learn me first harsh lesson? I read a possibility about contacting hosting company to see about a rollback? Does this sound familiar?
Forum: Fixing WordPress
In reply to: Syntax Error: Cannot modify header infoAddition: Here is some of the code from the pluggable.php file
Line 868: header(“Location: $location”, true, $status);
*/
function wp_redirect($location, $status = 302) {
global $is_IIS;$location = apply_filters(‘wp_redirect’, $location, $status);
$status = apply_filters(‘wp_redirect_status’, $status, $location);if ( !$location ) // allows the wp_redirect filter to cancel a redirect
return false;$location = wp_sanitize_redirect($location);
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”, true, $status);
}
}
endif;