• Resolved marcnyc

    (@marcnyc)


    I have been using Postie for a while on two of my sites (the one that gets the most use is chaindlk.com) and I think everything was running fine (at least so I assume, since there are several authors contributing via postie).
    Today I sent three emails to my secret email address connected to postie and none of them showed up on my site, even after manually running Postie.
    I tried resending them twice and at one point I cleared the WP cache and my browser cache and I resent the emails again and I finally got one of the emails to show up but still not the other two… I am trying to find out how I can even troubleshoot this. I tried to read the FAQ and it says something about a wp-content\debug.log file but I have no such file in my wp-content directory.
    Can you please help?
    Thanks

    https://ww.wp.xz.cn/plugins/postie/

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

    (@wayneallen-1)

    See http://postieplugin.com/enabling-debug-output/

    The debug log will be displayed on the screen if you click “Run Postie (Debug)”

    You can post relevant parts of the log here (don’t just post the whole thing)

    Thread Starter marcnyc

    (@marcnyc)

    I also wanted to add that I have checked my mailbox and it is empty, so it seems the emails are being fetched but not being posted.
    Thanks

    Thread Starter marcnyc

    (@marcnyc)

    Ok, so the define(‘WP_DEBUG’, false); line did not exist in my config file so I added the three lines you suggested.
    This created the debug.log file and I removed all the non-postie things as well as sensitive info (email and password) and pasted it below.
    As you can see one message was indeed processed and yet this message does not appear in my posts, even after having cleared the WP and the browser cache.
    Any ideas?

    [26-Mar-2014 15:55:15 UTC] Postie: Checking for mail manually with debug output
    [26-Mar-2014 15:55:15 UTC] Postie: Starting mail fetch
    [26-Mar-2014 15:55:15 UTC] Postie: Postie Version: 1.5.18
    [26-Mar-2014 15:55:15 UTC] Postie: WordPres Version: 3.8.1
    [26-Mar-2014 15:55:15 UTC] Postie: PHP Version: 5.3.28
    [26-Mar-2014 15:55:15 UTC] Postie: OS: Linux jupiter.arandomserver.com 2.6.32-458.18.1.lve1.2.39.el6.x86_64 #1 SMP Mon Sep 16 12:10:28 EEST 2013 x86_64
    [26-Mar-2014 15:55:15 UTC] Postie: Debug mode: On
    [26-Mar-2014 15:55:15 UTC] Postie: Time: 2014-03-26 15:55:15 GMT
    [26-Mar-2014 15:55:15 UTC] Postie: Error log: /home/chaindlk/public_html/wp/wp-content/debug.log
    [26-Mar-2014 15:55:15 UTC] Postie: Postie is in /home/chaindlk/public_html/wp/wp-content/plugins/postie
    [26-Mar-2014 15:55:15 UTC] Postie: Cron: On
    [26-Mar-2014 15:55:15 UTC] Postie: Alternate Cron: Off
    [26-Mar-2014 15:55:15 UTC] Postie: iconv: installed
    [26-Mar-2014 15:55:15 UTC] Postie: imap: installed
    [26-Mar-2014 15:55:15 UTC] Postie: mbstring: installed
    [26-Mar-2014 15:55:15 UTC] Postie: wp_content_path: /home/chaindlk/public_html/wp/wp-content
    [26-Mar-2014 15:55:15 UTC] Postie: Connecting to mail.chaindlk.com:110 (pop3)
    [26-Mar-2014 15:55:15 UTC] POP3 SEND [connect: mail.chaindlk.com] GOT [+OK Hello there.]
    [26-Mar-2014 15:55:15 UTC] POP3 SEND [USER ************] GOT [+OK Password required.]
    [26-Mar-2014 15:55:15 UTC] POP3 SEND [PASS ************] GOT [+OK logged in.]
    [26-Mar-2014 15:55:15 UTC] POP3 SEND [STAT] GOT [+OK 1 6576285]
    [26-Mar-2014 15:55:15 UTC] Postie: message count: 1
    [26-Mar-2014 15:55:15 UTC] POP3 SEND [RETR 1] GOT [+OK 6576285 octets follow.]
    [26-Mar-2014 15:55:15 UTC] POP3 SEND [DELE 1] GOT [+OK Deleted.]
    [26-Mar-2014 15:55:15 UTC] POP3 SEND [QUIT] GOT [+OK Bye-bye.]
    [26-Mar-2014 15:55:15 UTC] Postie: There are 1 messages to process
    [26-Mar-2014 15:55:15 UTC] Postie: memory at start of e-mail processing:72091216
    [26-Mar-2014 15:55:15 UTC] Postie: Array
    (
        [add_meta] => no
        [admin_username] => admin
        [allow_html_in_body] => 1
        [allow_html_in_subject] => 1
        [allow_subject_in_mail] => 1
        [audiotemplate] => <a href="{FILELINK}">{FILENAME}</a>
        [audiotypes] => Array
            (
                [0] => m4a
                [1] => mp3
                [2] => ogg
                [3] => wav
                [4] => mpeg
            )
    
        [authorized_addresses] => Array
            (
            )
    
        [banned_files_list] => Array
            (
            )
    
        [confirmation_email] =>
        [convertnewline] => 1
        [converturls] => 1
        [custom_image_field] => 0
        [default_post_category] => 3
        [category_match] => 1
        [default_post_tags] => Array
            (
            )
    
        [default_title] => Live From The Field
        [delete_mail_after_processing] => 1
        [drop_signature] => 1
        [filternewlines] => 1
        [forward_rejected_mail] => 1
        [icon_set] => silver
        [icon_size] => 32
        [auto_gallery] => 0
        [image_new_window] =>
        [image_placeholder] => #img%#
        [images_append] => 1
        [imagetemplate] => <div id="attachment_{ID}" class="wp-caption alignleft" style="width: {MEDIUMWIDTH};"><a rel="attachment wp-att-{ID}" href="{PAGELINK}"><img class="size-medium wp-image-{ID}" title="{TITLE}" alt="{CAPTION}" src="{MEDIUM}" /> </a><p class="wp-caption-text">{CAPTION}</p></div>
        [imagetemplates] => Array
            (
                [simple_link] => <a href="{FILELINK}">{FILENAME}</a>
                [no_wrappers] => <a href="{IMAGE}"><img src="{THUMBNAIL}" alt="{CAPTION}" title="{CAPTION}" class="attachment" /></a>
                [wordpress_default] => <div id="attachment_{ID}" class="wp-caption alignleft" style="width: {MEDIUMWIDTH};"><a rel="attachment wp-att-{ID}" href="{PAGELINK}"><img class="size-medium wp-image-{ID}" title="{TITLE}" alt="{CAPTION}" src="{MEDIUM}" /> </a><p class="wp-caption-text">{CAPTION}</p></div>
                [thumbnail_left] => <div style="float:left;margin-right:10px;"><a href="{IMAGE}"><img src="{THUMBNAIL}" alt="{CAPTION}" title="{CAPTION}" class="attachment" /></a></div>
                [thumbnail_right] => <div style="float:right;margin-left:10px;"><a href="{IMAGE}"><img src="{THUMBNAIL}" alt="{CAPTION}" title="{CAPTION}" class="attachment" /></a></div>
                [robert_felty] => <div style="margin-right:10px;background:black;color:white;padding:2px; width:{MEDIUMWIDTH};float:left"><a href="{IMAGE}"><img src="{MEDIUM}" alt="{CAPTION}" title="{CAPTION}" class="attachment" /></a><div style="padding:.2em;text-align:left">{CAPTION}</div></div>
                [postie_legacy] => <div class="postie-image-div"><a href="{IMAGE}"><img src="{THUMBNAIL}" alt="{FILENAME}" title="{FILENAME}" style="border:none" class="postie-image" /></a></div>
                [custom] =>
            )
    
        [input_protocol] => pop3
        [interval] => twiceperhour
        [mail_server] => mail.chaindlk.com
        [mail_server_port] => 110
        [mail_userid] => ************
        [mail_password] => ************
        [maxemails] => 0
        [message_start] => :start
        [message_end] => :end
        [message_encoding] => UTF-8
        [message_dequote] => 1
        [post_status] => publish
        [prefer_text_type] => html
        [return_to_sender] => 1
        [role_access] => Array
            (
                [super_admin] => 1
            )
    
        [selected_audiotemplate] => simple_link
        [selected_imagetemplate] => wordpress_default
        [selected_video1template] => simple_link
        [selected_video2template] => simple_link
        [shortcode] => 0
        [sig_pattern_list] => Array
            (
                [0] => --
                [1] => - --
            )
    
        [smtp] => Array
            (
            )
    
        [start_image_count_at_zero] => 0
        [supported_file_types] => Array
            (
                [0] => video
                [1] => application
            )
    
        [turn_authorization_off] => 0
        [time_offset] => -4
        [video1template] => <a href="{FILELINK}">{FILENAME}</a>
        [video1types] => Array
            (
                [0] => mp4
                [1] => mpeg4
                [2] => 3gp
                [3] => 3gpp
                [4] => 3gpp2
                [5] => 3gp2
                [6] => mov
                [7] => mpeg
            )
    
        [video2template] => <a href="{FILELINK}">{FILENAME}</a>
        [video2types] => Array
            (
                [0] => x-flv
            )
    
        [video1templates] => Array
            (
                [simple_link] => <a href="{FILELINK}">{FILENAME}</a>
                [small] => <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="128"height="96"> <param name="src" value="{FILELINK}" /> <param name="autoplay" value="no" /> <param name="controller" value="true" /> <embed src="{FILELINK}" width="128" height="96"autoplay="no" controller="true" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/" width="128" height="110" scale="tofit"></embed> </object>
                [medium] => <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="320"height="240"> <param name="src" value="{FILELINK}" /> <param name="autoplay" value="no" /> <param name="controller" value="true" /> <embed src="{FILELINK}" width="320" height="240"autoplay="no" controller="true" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/" width="320" height="260" scale="tofit"></embed> </object>
                [medium_widescreen] => <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="480"height="270"> <param name="src" value="{FILELINK}" /> <param name="autoplay" value="no" /> <param name="controller" value="true" /> <embed src="{FILELINK}" width="480" height="270"autoplay="no" controller="true" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/" width="480" height="290" scale="tofit"></embed> </object>
                [large] => <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="480"height="360"> <param name="src" value="{FILELINK}" /> <param name="autoplay" value="no" /> <param name="controller" value="true" /> <embed src="{FILELINK}" width="480" height="360"autoplay="no" controller="true" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/" width="480" height="380" scale="tofit"></embed> </object>
                [large_widescreen] => <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="640"height="360"> <param name="src" value="{FILELINK}" /> <param name="autoplay" value="no" /> <param name="controller" value="true" /> <embed src="{FILELINK}" width="640" height="360"autoplay="no" controller="true" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/" width="640" height="380" scale="tofit"></embed> </object>
                [custom] =>
            )
    
        [video2templates] => Array
            (
                [simple_link] => <a href="{FILELINK}">{FILENAME}</a>
                [small] => <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="128"height="96"> <param name="src" value="{FILELINK}" /> <param name="autoplay" value="no" /> <param name="controller" value="true" /> <embed src="{FILELINK}" width="128" height="96"autoplay="no" controller="true" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/" width="128" height="110"></embed> </object>
                [medium] => <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="320"height="240"> <param name="src" value="{FILELINK}" /> <param name="autoplay" value="no" /> <param name="controller" value="true" /> <embed src="{FILELINK}" width="320" height="240"autoplay="no" controller="true" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/" width="320" height="260"></embed> </object>
                [medium_widescreen] => <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="480"height="270"> <param name="src" value="{FILELINK}" /> <param name="autoplay" value="no" /> <param name="controller" value="true" /> <embed src="{FILELINK}" width="480" height="270"autoplay="no" controller="true" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/" width="480" height="290"></embed> </object>
                [large] => <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="480"height="360"> <param name="src" value="{FILELINK}" /> <param name="autoplay" value="no" /> <param name="controller" value="true" /> <embed src="{FILELINK}" width="480" height="360"autoplay="no" controller="true" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/" width="480" height="380"></embed> </object>
                [large_widescreen] => <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="640"height="360"> <param name="src" value="{FILELINK}" /> <param name="autoplay" value="no" /> <param name="controller" value="true" /> <embed src="{FILELINK}" width="640" height="360"autoplay="no" controller="true" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/" width="640" height="380"></embed> </object>
                [flv_embed] => [flv:{FILELINK} 480 270]
                [custom] =>
            )
    
        [wrap_pre] => 1
        [featured_image] => 0
        [email_tls] => 0
        [post_format] => standard
        [post_type] => post
        [generaltemplates] => Array
            (
                [postie_default] => <a href="{FILELINK}">{ICON} {FILENAME}</a>
                [simple_link] => <a href="{FILELINK}">{FILENAME}</a>
                [custom] =>
            )
    
        [generaltemplate] => <a href="{FILELINK}">{ICON} {FILENAME}</a>
        [selected_generaltemplate] => postie_default
        [generate_thumbnails] => 1
    )
    
    [26-Mar-2014 15:55:15 UTC] Postie: 1: ------------------------------------
    [26-Mar-2014 15:55:15 UTC] Postie: RemoveExtraCharactersInEmailAddress: *********(1)
    [26-Mar-2014 15:55:15 UTC] Postie: Array
    (
        [0] => "NAME" <*********>
        [1] => *********
    )
    
    [26-Mar-2014 15:55:15 UTC] Postie: ValidatePoster: post email filter *********
    [26-Mar-2014 15:55:15 UTC] Postie: Confirming Access For *********
    [26-Mar-2014 15:55:15 UTC] Postie: 1 has 'post_via_postie' permissions
    [26-Mar-2014 15:55:15 UTC] Postie: posting as user 1
    [26-Mar-2014 15:55:15 UTC] PHP Notice:  Undefined variable: pppm_array in /home/chaindlk/public_html/wp/wp-content/plugins/upm-html-tag-manager/functions.php on line 31
    [26-Mar-2014 15:55:15 UTC] PHP Notice:  Undefined variable: pppm_array in /home/chaindlk/public_html/wp/wp-content/plugins/upm-html-tag-manager/functions.php on line 31
    [26-Mar-2014 15:55:16 UTC] Postie: new post id is 10391
    [26-Mar-2014 15:55:16 UTC] Postie: Message Id is :<CAGz39A0uvev630ZG9Aryvxyt_bwDn9VTa9R0hkkt7gzyjaYreA@mail.gmail.com>
    [26-Mar-2014 15:55:16 UTC] Postie: filter_PreferedText: begin 3
    [26-Mar-2014 15:55:16 UTC] Postie: filter_PreferedText: part: 0 multipart/alternative
    [26-Mar-2014 15:55:16 UTC] Postie: filter_PreferedText: keeping: multipart
    [26-Mar-2014 15:55:16 UTC] Postie: filter_PreferedText: part: 1 image/jpeg
    [26-Mar-2014 15:55:16 UTC] Postie: filter_PreferedText: keeping: image
    [26-Mar-2014 15:55:16 UTC] Postie: filter_PreferedText: part: 2 image/jpeg
    [26-Mar-2014 15:55:16 UTC] Postie: filter_PreferedText: keeping: image
    [26-Mar-2014 15:55:16 UTC] Postie: 3 parts
    [26-Mar-2014 15:55:16 UTC] Postie: filter_PreferedText: end
    [26-Mar-2014 15:55:16 UTC] Postie: ----
    [26-Mar-2014 15:55:16 UTC] Postie: GetContent: primary= multipart, secondary = related
    [26-Mar-2014 15:55:16 UTC] Postie: GetContent: file name ''
    [26-Mar-2014 15:55:16 UTC] Postie: GetContent: extension ''
    [26-Mar-2014 15:55:16 UTC] Postie: GetContent: secondary lookup failed, checking configured extensions
    [26-Mar-2014 15:55:16 UTC] Postie: GetContent: found no extension
    [26-Mar-2014 15:55:16 UTC] Postie: GetContent: mimetype multipart/related
    [26-Mar-2014 15:55:16 UTC] Postie: multipart: 3
    [26-Mar-2014 15:55:16 UTC] Postie: filter_PreferedText: begin 3
    [26-Mar-2014 15:55:16 UTC] Postie: filter_PreferedText: part: 0 multipart/alte
    Plugin Author Wayne Allen

    (@wayneallen-1)

    I don’t see the end of the log file. You should see something like:

    Mail fetch complete, 1 emails

    If not then something else is happening and you will need to look at your web server error logs.

    Thread Starter marcnyc

    (@marcnyc)

    I did the same test again.
    I re-sent the email and then I run Postie manually. The first time it said it found no message so I thought maybe the email had not reached the server yet. So I ran Postie manually again and this time it processed the email.
    The strange thing is that the second time there was no “Mail Fetch Complete” line while the first time there was.
    I am pasting the whole log of activity so you can see if maybe one of the other errors is creating this. It seems when there is an email the mail fetch does not complete for some reason.

    [ 471 lines of code moderated, that’s just way too much. For that many lines of code please use pastebin.com instead. ]

    Thread Starter marcnyc

    (@marcnyc)

    since my debug code has been edited out and I’ve been redirected to pastebin, here’s the debug:

    http://pastebin.com/SvxG0fqK

    Plugin Author Wayne Allen

    (@wayneallen-1)

    From your logs it looks like things are failing when WordPress tries to create the various image sizes.

    For some unknown reason some hosts have an issue with this. Try setting the “Generate Thumbnails” setting in the “Image” tab to “No”

    Thread Starter marcnyc

    (@marcnyc)

    Thanks a lot Wayne, that seemed to have fixed the issue.

    Do you know why there might be an issue with that or is there something I can check with my host?

    Plugin Author Wayne Allen

    (@wayneallen-1)

    I wish I knew what the problem was. I spent a lot of time on one system that had the issue and could never track it down. I suspect it is some combination of OS, PHP and graphics library version.

    Thread Starter marcnyc

    (@marcnyc)

    ok thanks
    so what am I missing out on with that set to “NO”? What are thumbnails used for?

    Plugin Author Wayne Allen

    (@wayneallen-1)

    I don’t rightly know. I suspect if depends on your theme.

    You can make use of the different sizes in Postie image templates.
    http://ww.wp.xz.cn/plugins/postie/other_notes/

    Thank you!
    Solved my problem as well

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘postie intermittedly posts but mostly does not post’ is closed to new replies.