Set Featured Image Broken in 3.4.2
-
I’m having trouble with “Set Featured Image” working in WordPress 3.4.2, vanilla install, no plugins activated, Twenty Eleven theme. This has been seen in this post and this post. However, at request of moderator, I’m opening yet another thread on this…
Site can currently be accessed via IP only at 184.168.20.28 until domain name propogation done. Again, this is using Twenty Eleven theme without any plugins active on 3.4.2. In one of the other threads, someone mentioned mod_security as an issue for them – it’s not in this case. Tested without mod_security enabled.
admin-ajax.php never returns response to POST for set-post-thumbnail, thus resulting in the issue. Below is the error seen in Chrome console.
POST https://184.168.20.28/wp-admin/admin-ajax.php load-scripts.php:4
f.support.ajax.f.ajaxTransport.send load-scripts.php:4
f.extend.ajax load-scripts.php:4
f.each.f.(anonymous function) load-scripts.php:4
WPSetAsThumbnail load-scripts.php:6
onclick media-upload.php:139Network tab shows the outbound POST in pending state before eventually changing to failed due to lack of response. Below is a snippet from that tab.
Request URL:https://184.168.20.28/wp-admin/admin-ajax.php
Request Headersview source
Accept:*/*
Content-Type:application/x-www-form-urlencoded; charset=UTF-8
Origin:https://184.168.20.28
Referer:https://184.168.20.28/wp-admin/media-upload.php?post_id=68&type=image&tab=gallery
User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_1) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.89 Safari/537.1
X-Requested-With:XMLHttpRequest
Form Dataview URL encoded
action:set-post-thumbnail
post_id:68
thumbnail_id:81
_ajax_nonce:d48124a852
cookie:wordpress_test_cookie%3DWP%2BCookie%2Bcheck%3B%20wp-settings-1%3Deditor%253Dtinymce%2526ngg_show_update_notice196%253D1%2526imgsize%253Dfull%2526hidetb%253D1%2526align%253Dnone%3B%20wp-settings-time-1%3D1347427646
- The topic ‘Set Featured Image Broken in 3.4.2’ is closed to new replies.