Support » Plugin: Airstory » Upload to WP from Airstory not working for me

  • Hello!

    I’ve had the plugin for a while and it worked well a few times.

    Then it started opening up an old, already published post instead of creating a new one and uploading my information.

    I’ve been copying and pasting for a few months, but I’d like to know how to get the transfer working again.

    My system info is:
    ### Begin System Info ###

    — Site Info

    Site URL: https://www.thezenintrovert.com
    Home URL: https://www.thezenintrovert.com
    Multisite: No

    — User

    User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36

    — WordPress Configuration

    Version: 4.9.7
    Language: en_US
    Permalink Structure: /%postname%/
    Theme: Pretty Happy
    Parent Theme: (none)
    ABSPATH: /home/thezeni2/public_html/
    WP_DEBUG: Disabled
    Memory Limit: 40M

    — Airstory Configuration

    Version: 1.1.6
    Requirements:
    – PHP >= 5.3 PASS
    – HTTPS support PASS
    – DOM Extension PASS
    – Mcrypt Extension PASS
    – OpenSSL Extension PASS

    — WordPress Plugins: Active

    – Advanced Comment Form: 1.2.0
    – Airstory: 1.1.6
    – Akismet Anti-Spam: 4.0.8
    – Amazon Associates Link Builder: 1.8.0
    – Broken Link Checker: 1.11.5
    – ConvertKit: 1.6.2
    – Cookie Consent: 2.3.11
    – Display Medium Posts: 3.6
    – FMTC Affiliate Disclosure: 2.0.1
    – Genesis Simple Hooks: 2.2.1
    – Hello Dolly: 1.6
    – Insert Headers and Footers: 1.4.3
    – Instagram Feed: 1.9.1
    – Instant Images: 3.1.1
    – Jetpack by WordPress.com: 6.3.2
    – Media Credit: 3.2.0
    – Password Page Extras Plugin: 0.1
    – Pixabay Images: 3.4
    – Pretty Links: 2.1.6
    – Recent Posts Widget With Thumbnails: 6.2.1
    – Regenerate Thumbnails: 3.0.2
    – Rel Nofollow Checkbox: 1.1.5
    – SG Optimizer: 4.0.7
    – Smush: 2.7.9.1
    – Social Warfare: 3.1.1
    – UpdraftPlus – Backup/Restore: 1.14.12
    – W3 Total Cache: 0.9.7
    – Widget Data – Setting Import/Export Plugin: 1.5.3
    – Widgets On Pages: 1.4.0
    – WordPress Editorial Calendar: 3.6.8
    – WP Recipe Maker: 3.1.1
    – Yoast SEO Premium: 7.9

    — WordPress Plugins: Inactive

    – Contact Form 7: 5.0.3
    – Easy Table of Contents: 1.7
    – Maintenance: 3.6.1
    – Ninja Forms: 3.3.11
    – Simple Social Buttons: 2.0.16

    — Server Configuration

    PHP Version: 7.0.31
    MySQL Version: 5.6.36
    Web Server: Apache
    Libxml version 2.7.8

    — PHP Configuration

    Memory Limit: 768M
    Upload Max Size: 128M
    Post Max Size: 128M
    Upload Max Filesize: 128M
    Time Limit: 120
    Max Input Vars: 3000
    Display Errors: On (1)

    ### End System Info ###

    Appreciate any help you can provide.

    Thank you

    Patricia

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Steve Grunwell

    (@stevegrunwell)

    Hi Patricia,

    Once a post that has been imported from Airstory is published, the link between the Airstory document and the WordPress post is [intentionally] severed. This is done to prevent potentially disruptive merges of content: once WordPress has published the post, it “owns” the content, so to speak. This avoids potentially damaging (and/or frustrating) merge conflicts, and lets WordPress have the final say over what it will be rendering.

    The “only edit drafts” behavior can be overridden via the “airstory_get_current_draft” filter, if desired; I’ve prepared a simple plugin you can drop into your site’s wp-content/mu-plugins/ directory to enable the behavior: https://gist.github.com/stevegrunwell/ea08c6b9ab0fe1eed6ef6d5f06060e4b

    Plugin Contributor Steve Grunwell

    (@stevegrunwell)

    My apologies, it appears that I misread the question: instead of creating a new post, the plugin is changing an already-published post?

    To give you background, the plugin tracks its original Airstory project + document IDs via the “_airstory_project_id” and “_airstory_document_id” post meta values, respectively. If posts are being cloned, there’s a possibility that these meta values are being cloned as well, disrupting the query. The logic to retrieve the current draft should still be limited to draft posts, however, unless overridden via the filter in my earlier response.

    If you’re comfortable working with your site’s database, you could try a query like this to see all post meta entries with Airstory data attached to them; duplicates here might be causing trouble: SELECT * FROM wp_postmeta WHERE meta_key IN ('_airstory_project_id', '_airstory_document_id')

    My apologies for the less-than-helpful first response, and please let me know what you find!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Upload to WP from Airstory not working for me’ is closed to new replies.