• Resolved andrewmperryman

    (@andrewmperryman)


    Hi, I am setting up my librarian staff to post by mail trialling your plugin.

    Most of the users will have googles “inbox” android app installed on their phones or tablets so they can inset an inline image so they can post an image along with text content on the their website.
    The inline image works well with a desktop client i.e. Apple mail, and will work from their android phone as long as their is no inline image, the minute an image is inserted and sent it fail to process succesfully leaving a tmptitile post with the same in the post body.

    Any help would be gratefully appreciated.

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Wayne Allen

    (@wayneallen-1)

    Please send an email from an android app to [email protected] then leave a note here when you have done so and I’ll take a look.

    Thread Starter andrewmperryman

    (@andrewmperryman)

    Hi Wayne, Thanks for such a prompt response, I have sent a sample mail as requested.

    Let me know what you find as it is a great plugin to use the site own mail system instead of using a gmail account or resorting to Jetpack.

    Plugin Author Wayne Allen

    (@wayneallen-1)

    Thanks. I didn’t have any issues processing your email on my test system. Typically that means that some other plugin or your theme has some kind of conflict with Postie.

    You can either:

    1) disable all plugins except postie and see if you still have the issue. If not then add back the plugins one at a time and test in between.

    or

    2) install the support plugin and send me the resulting file which is generated after the email is processed. https://postieplugin.com/downloads/support-addon/

    Thread Starter andrewmperryman

    (@andrewmperryman)

    Ok thanks Wayne i’ll do that I have “email subscribers” installed and will start by deactivating that, strange how it is processed ok when sent from a desktop.

    I will run the anon too and then start to deactivate all plugin then bring them back one by one after I have run your addon..

    Thread Starter andrewmperryman

    (@andrewmperryman)

    Hi Wayne, sent you a set logs to check over as suggested.

    Plugin Author Wayne Allen

    (@wayneallen-1)

    Received.

    Plugin Author Wayne Allen

    (@wayneallen-1)

    For others following this – WordPress seems to be choking when the thumbnail image is being set. More research is being done.

    Thread Starter andrewmperryman

    (@andrewmperryman)

    Hello Wayne,

    I have been looking at PHPmyadmin to see if one of my DB table had been insufficiently set but at the moment no joy.
    My issue still exists, any post combination of text and inline pictures over 195Kb fails

    At the moment I am using iMsanity to scrunch all images posted down to 600px in width this seems to keep the bloat of pictures being sent down to a reasonable size for both Postie and WordPress to process so that the featured image gets inserted.

    This means the post via email method only allows 3 to 5 small pictures per post, however if the post exceeds the size in combination as above the it fails to post again.

    I have not tested this with attachments yet so I am not sure if these would process successfully as it is not an image that’s trying to be inserted. if it is a total size issue then I am lost at this point as my Db knowledge is exhausted.

    I will however point out that I have tried your plug in on another host account and it inserts a 2MB inline image without a problem. I have my own to test it on besides looking after the current host account which the problem is with.

    below is the same extract from a PHP_errlog Note I have increased WP memory via WP-config to 768MB but still generates the same result.

    Just as a side not you support addon also fails to save a log in the media library when I set it to collect logs i.e. checkbox ticked and set to collect one (1) email…

    Not sure what to do from here on in i’ll send the error log in full via email with account details XXXX out..

    Thread Starter andrewmperryman

    (@andrewmperryman)

    Hi Wayne,

    Interesting, support addon re-installed for good measure.

    When running via timer 5mins it fails with content larger than 200kb and the support addon is not triggered capturing nothing and is not swithed off (1 to 0) after the allocated 1 email is processed & deleted with the 5mins cycle process.

    its as though the support addon is not being triggered or there is no hook to initiate the support log!

    However when running the process via the debug button, it processes the large (4mb) post successfully as normal as we have seen before but this time the support addon runs and sets the counter from 1 to 0 and then saves the zip file to the media library successfully.

    So the support addon does work but is not being triggered to collect anything when running automatically via the 5min cycle.

    So at what point would the support addon be called or what would make it fall over when run via the 5mins period automatically?

    Hope this puts some extra light on the ongoing large post tmptile problem. I sent you the logs when the process ran successfully via the debug manual process so you could see the memory allocation using a post with a 4mb inline image by email because of its size.

    So what is difference between the two, when running via the manual debug process and the 5min cycle timer process?

    Please let me know what you suggest next as this has taken off for us but I am having a real headache mopping up failed tmptitle posts?

    Andrew

    Plugin Author Wayne Allen

    (@wayneallen-1)

    Sorry you’re having this issue and I appreciate the detailed info.

    There is no difference between the processes except in one case you are logged in and the other you are not. I suspect that the cron process is getting killed by either some process in your hosting environment or PHP itself is crashing. You’d have to work with your hosting company to see what is happening. Since it can be caused on demand that helps a lot.

    Thread Starter andrewmperryman

    (@andrewmperryman)

    Hi Wayne,

    Thanks for your response and appreciate how busy you are as I am subscribed to this area for extra insight.

    I will try and tackle this possible Cron issue with my host support team and will let you know what the outcome is for future reference if there is a resolution.

    Andrew

    Thread Starter andrewmperryman

    (@andrewmperryman)

    Hello Wayne,

    Finally I have a solution, regards my post Tmptitle issue, so after play and deduction and some reading I disabled native wordpress cron via WP-config and ran it (WP cron) via a server cron task twice per hour thus giving 30mins grace between all tasks to allow all scripts to complete their tasks. Also controlling the heart beat process slowing it just a little. Previously small (200kb or less) posts would publish because they were not impactive but now large impactive posts inject & complete successfully as they take a little more time to complete naturally…. Yeehaw.

    However naturally I still resize the images that come in to 600px in width.

    This was all to do with inbuilt WP-cron being triggered too many times by any click event on the site backing up the script queue causing them not to complete or time out thus the scripts for the large post would not complete.

    So for me the 1min and 5min tasks would never work so I have it scheduled to run every two hours, but this will only initiate when the server cron job initiates the WP-cron as I guess you were using WP inbuilt cron to run your tasks.

    Hope this makes sense..

    Andrew

    Plugin Author Wayne Allen

    (@wayneallen-1)

    I think the props go to you for chasing this down!

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘tmptitle post after adding inline image?’ is closed to new replies.