Inserting images fail when using https

  • Unknown's avatar

    A few weeks ago I changed from logging-in using http to using https (SSL).

    Checking the stats etc. works just like before but when I try to add an image in a post it fails after pressing the “insert into post” button. This happens in Firefox and IE. Uploading images works fine but just this last step fails.

    When I logged out and then back in using http and try the same procedure, it works.

    Any chance of getting the ‘add an image’ function to work correctly whilst logged-in using https?

    Actually, if only the login was SSL protected and then it dropped back to http, like in Yahoo and MSN, that would be ok.

    Thanks

  • Hi,

    I just tested this with Safari 3.1 and Firefox 2.0. It worked fine in both. Here’s what I did:

    1. Log in.
    2. Visit https://myblog.wordpress.com/wp-admin/post-new.php
    3. Click ‘Add Image’
    4. Click ‘Choose Files To Upload’; select a jpeg image and click Ok
    5. Click ‘Insert Into Post’

    Result: the image shows up in the editor as expected.

    If it’s still a problem, please describe in detail what you’re doing if it’s different from the above; and exactly what happens (what does “fail” mean – is there an error message?).

  • Unknown's avatar

    I’ve tried using Firefox 2.0.0.6 & IE 6.0.2800.1106.

    Privoxy 3.0.3 (http://www.privoxy.org/) is installed on my local machine as a HTTP/SSL proxy and I’ve used it with the ‘Enable’ setting selected and unselected.

    Method:
    1/ Login using https://example.wordpress.com/wp-login.php
    2/ Select ‘Manage’ and then an Unpublished post i.e. https://example.wordpress.com/wp-admin/post.php?action=edit&post=XXX
    3/ In the Write Post page I select the ‘Add an Image’ icon after which the page becomes dull and a black & white striped animated bar is displayed. A few seconds later the striped bar is then replaced with a dialog box which has a header menu of ‘Choose File’, ‘Gallery’ & ‘Media Library’.
    4/ Select ‘Media Library’, ‘Show’ (beside an image), ‘Thumbnail’ and then click ‘Insert into Post’.
    5/ In Firefox a Security Warning pop-up appears which warns about sending info over an unencrypted connection and I select to Continue.
    6/ The Write Post page remains dull but the (Add an Image) dialog box is now reduced to just the topmost bar with an X in the right corner.
    7/ Clicking the X closes this bar and the Write Post page becomes bright again but without the selected image.

    I don’t encounter this problem when logging-in using http://example.wordpress.com/wp-login.php

  • Unknown's avatar

    I just tried again and looked at the error console in Firefox 2.0.0.14.

    When the Add an Image dialog box loads there’s an error:
    Error: uncaught exception: Permission denied to call method XMLHttpRequest.open

    And when I press ‘Insert into Post’ there’s another error:
    Error: uncaught exception: Permission denied to get property Window.send_to_editor

    Hope this extra info. helps.

  • kieranhk, thanks for the detailed info, we’re looking into it.

  • The topic ‘Inserting images fail when using https’ is closed to new replies.