Problems with WordPress Automatic Upgrade solved

  <dd class="wp-caption-dd zemanta-img-attribution">
    Image via <a href="http://www.crunchbase.com">CrunchBase</a>
  </dd>
</dl>

While trying to upgrade my WordPress installation from version 2.9 to version 2.9.1 I always got the following error:

Downloading update from http://wordpress.org/wordpress-2.9.1.zip.

Download failed.: Operation timed out with 1201840 out of -1 bytes received

Installation Failed

After doing some research using Google I found a solution to that problem:

You just need to edit the following file in order to increase the download timeout:

Near line 461 of file.php change the timeout value from:

to the new value of 120:

Then try again to upgrade your wordpress installation using the automatic upgrade and it should work properly now. Mine did and I am happy again! 🙂

Cheers and have fun, and leave me a comment if this post was useful for you!

Herbert