WordPress: Download failed.: Operation timed out

wordpress-logo1Barusan aku gagal upgrade otomatis WordPress dari 2.8.4 ke 2.8.5 via Dashboard, mungkin karena bandwidth yang sedang penuh ataupun koneksi dari server tempat aku hosting ke server wordpress lagi lambat.

Error message-nya seperti dibawah ini:

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

Download failed.: Operation timed out after 60000 milliseconds with 641464 bytes received

Installation Failed

Coba cari2 di Google, akhirnya nemu solusinya adalah dengan cara:

Edit file wp-admin/includes/file.php

Cari baris code yang mengandung tulisan dibawah ini

$response = wp_remote_get($url, array('timeout' => 60));

Kalau di versi 2.8.4 ada di baris 448. Naikkan nilai timeout-nya sesuai kebutuhan, ditempatku aku ubah jadi 120 seperti dibawah ini :

$response = wp_remote_get($url, array('timeout' => 120));

Kemudian lakukan upgrade lagi via dashboard, dan … tadaaaaaaaaaaa … BERHASIL !

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

Unpacking the update.

Verifying the unpacked files

Installing the latest version

Upgrading database

WordPress upgraded successfully

Selamat mencoba. ;)

Picture tribute to : http://divageekdesigns.com/blog/wp-content/uploads/wordpress-logo1.png

Bookmark and Share

Related posts:

  1. Shoutbox di WordPress = IMPOSSIBLE
  2. Menambahkan subtitle (terjemahan) pada film hasil download

About yudhiapr

Yudhi Aprianto Munjalindra is a web developer, research and blogger. He started to know internet since 1999. He start his first site since April 2002 with Sarikata.com domain name. With all knowledge he got from school or internet, he writes articles in IT, Photography, His Family and some other fields and share through this blog.