Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter nicky2time

    (@nicky2time)

    Resolved. Hostgator has a ‘repair database’ option which did the trick

    Thread Starter nicky2time

    (@nicky2time)

    I’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?

    Thread Starter nicky2time

    (@nicky2time)

    Addition: 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;

Viewing 3 replies - 1 through 3 (of 3 total)