Jetpack JSON-API problem when posting to WordPress install in a subfolder

  • Unknown's avatar

    I’m using StackEdit as my primary post editor. I have no difficulty posting to my wordpress.com blogs. But when I try to post to a blog that is hosted on my own domain (domain.com/blog), I never get to pass the authorization. Thye StackEdit interface displays an error message (“Access to WordPress account is not authorized.”) and that’s it.

    I have the following plugins installed:

    Akismet (3.0.0) Inactive
    Hello Dolly (1.6) Inactive
    Jetpack (2.9.3) Active

    I have checked the credentials I use many times. And the fact that I can post to a wordpress.com hosted site makes me think there is a problem with my self-hosted setup. In the error.log file I see the following line for every login attempt:

    [21-Apr-2014 18:56:20 UTC] WordPress database error Duplicate entry 'jetpack_nonce_1398106573_nglweK7adF' for key 'option_name' for query INSERT INTO 'gvm_options' ('option_name', 'option_value', 'autoload') VALUES ('jetpack_nonce_1398106573_nglweK7adF', '1398106580', 'no') made by do_action('login_form_jetpack_json_api_authorization'), call_user_func_array, Jetpack->login_form_json_api_authorization, Jetpack->verify_json_api_authorization_request, Jetpack->add_nonce

    Any ideas? Thanks in advance.

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hi,

    When I install WordPress on a subdomain instead of a subfolder, the posting works without any problems. Perhaps others can benefit from this.

  • The topic ‘Jetpack JSON-API problem when posting to WordPress install in a subfolder’ is closed to new replies.