• I am running WordPress 2.7.1 on Windows Server 2003 using IIS with PHP 5.2.1.

    Whenever I am adding/editing a post or page and attempt to add any type of media using the insert “media” buttons I am immediately redirected to the homepage of my site.

    Any thoughts?

    Thanks.

Viewing 1 replies (of 1 total)
  • Thread Starter robertcgreen

    (@robertcgreen)

    Alright, so I’ve tracked down exactly where this issue is occurring. It happens in thickbox.js line 197. The line reads as follows:

    jQuery(“#TB_window”).append(“<div id=’TB_title’><div id=’TB_ajaxWindowTitle’>”+caption+”</div><div id=’TB_closeAjaxWindow’><img src='” + tb_closeImage + “‘ /></div></div><iframe frameborder=’0′ hspace=’0′ src='”+urlNoQuery[0]+”‘ id=’TB_iframeContent’ name=’TB_iframeContent”+Math.round(Math.random()*1000)+”‘ onload=’tb_showIframe()’ style=’width:”+(ajaxContentW + 29)+”px;height:”+(ajaxContentH + 17)+”px;’ > </iframe>”);

    Any thoughts?

Viewing 1 replies (of 1 total)
  • The topic ‘Redirect When Adding Image’ is closed to new replies.