Support » Fixing WordPress » WordPress 3.6.1 – 3.7 upgrade issue

  • Travis

    (@travishayler1983)


    Trying to upgrade from WP 3.6.1 to 3.7 using base install, twenty thirteen theme (which has been updated). No plugins installed at all.

    Error

    Downloading update from http://wordpress.org/wordpress-3.7-no-content.zip…

    Fatal error: Maximum execution time of 120 seconds exceeded in D:\Domains\bournemouth.gov.uk\wwwroot\wp-includes\class-http.php on line 1304

    PHP Fatal error: Maximum execution time of 120 seconds exceeded in D:\Domains\bournemouth.gov.uk\wwwroot\wp-includes\class-http.php on line 1304

    WP install is on an IIS 6.0 Windows 2003 server running PHP 5.4. We have had no issues upgrading any of our sites previously.

    Any ideas?

    Many thanks in advance
    Travis

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Travis

    (@travishayler1983)

    The code for line 1304 from class-http.php is as follows

    private function stream_body( $handle, $data ) {
    		if ( function_exists( 'ini_get' ) && ( ini_get( 'mbstring.func_overload' ) & 2 ) && function_exists( 'mb_internal_encoding' ) ) {
    			$mb_encoding = mb_internal_encoding();
    			mb_internal_encoding( 'ISO-8859-1' );
    		}
    
    		if ( $this->max_body_length && ( strlen( $this->body ) + strlen( $data ) ) > $this->max_body_length )
    			$data = substr( $data, 0, ( $this->max_body_length - strlen( $this->body ) ) );
    
    		if ( $this->stream_handle )
    			fwrite( $this->stream_handle, $data );
    		else
    			$this->body .= $data;
    
    		$data_length = strlen( $data );
    
    		if ( isset( $mb_encoding ) )
    			mb_internal_encoding( $mb_encoding );
    
    		return $data_length;
    	}
    Thread Starter Travis

    (@travishayler1983)

    Does anyone have any idea on this? All I can see is that the outgoing HTTP is timing out but I do not know where it is pointing to…

    Note: I have also extended the timeout to see if that helps and now I get this error.

    Unpacking the update…

    The package could not be installed.: PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature

    Installation Failed

    Any help would be great!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WordPress 3.6.1 – 3.7 upgrade issue’ is closed to new replies.