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

    (@wayneallen-1)

    Use the wget form.

    The parameter to wget should be the URL or your site, not the file path.

    Another option is to try one of the free sites such as https://www.setcronjob.com/ they have a much nicer UI for ensuring eveything is working.

    Thread Starter Adam.Gacsalyi

    (@adamgacsalyi)

    Hey Allen,
    thanks for coming back to me.

    /usr/bin/wget -O /dev/null https://www.tradecommands.com/wp-cron.php >/dev/null 2>&1

    This is what im using now, with no luck.

    If I set up the cron at https://www.setcronjob.com its working (well sort of working… it takes 5-10 minutes after sending the email to appear on the site while continously refreshing page – is that normal?). But its not really free, not if I want it to scan every 1 minutes.

    So could you please try to help me get this right in cpanel? Because im guessing something is not right with it. If i stop https://www.setcronjob.com but leave the cron job in cpanel the posts wont show again.

    Im at Hostwinds, i think its a linux server. I can give you every info u might need but i cant figure out this myself. Also their support told me to come back here because they cant help me..

    Regards,
    Adam

    Plugin Author Wayne Allen

    (@wayneallen-1)

    Check your “Check for mail every” setting. Every 1 minute should be fine. If you need something more instantaneous then Email + Postie isn’t really the answer.

    Just going to https://www.tradecommands.com/wp-cron.php in your browser is effectively the same thing as the wget command. In fact just refreshing https://www.tradecommands.com/ is enough to kick off the wp-cron.

    Thread Starter Adam.Gacsalyi

    (@adamgacsalyi)

    Well then i dont know what is the problem at all. Refreshing page or going to wp-cron.php in my browser doesnt get the post. ??

    Here’s the debug info maybe its telling something i cant understand:

    Starting mail fetch

    Postie Version: 1.7.21

    WordPress Version: 4.3.1

    PHP Version: 5.4.37

    OS: Linux business6.hostwindsdns.com 2.6.32-042stab108.5 #1 SMP Wed Jun 17 20:20:17 MSK 2015 x86_64

    POSTIE_DEBUG: On

    Time: 2015-11-06 07:57:58 GMT

    Error log: error_log

    TMP dir: /tmp/

    Postie is in /home/vkzzeuhk/public_html/tradecommands.com/wp-content/plugins/postie/

    Cron: On

    Alternate Cron: Off

    wp_content_path: /home/vkzzeuhk/public_html/tradecommands.com/wp-content

    MAKE SURE POP IS TURNED ON IN SETTING AT Gmail

    Connecting to pop.gmail.com:995 (pop3-ssl)

    pop3: using Google INBOX

    pop3: connection string – {pop.gmail.com:995/service=pop3/ssl/notls/novalidate-cert}INBOX

    pop3: disabling GSSAPI

    pop3: connected

    stdClass Object
    (
    [flags] => 31
    [messages] => 1
    [recent] => 1
    [unseen] => 1
    [uidnext] => 2
    [uidvalidity] => 1446796678
    )

    pop3: deleting message 1

    pop3: expunge

    pop3: closing connection

    There are 1 messages to process

    memory at start of email processing:38184000

    Array
    (
    [add_meta] => no
    [admin_username] => admin
    [allow_html_in_body] => 1
    [allow_html_in_subject] => 1
    [allow_subject_in_mail] => 1
    [audiotemplate] => {FILENAME}
    [audiotypes] => Array
    (
    [0] => m4a
    [1] => mp3
    [2] => ogg
    [3] => wav
    [4] => mpeg
    )

    [authorized_addresses] => Array
    (
    [0] => [email protected]
    [1] => [email protected]
    )

    [banned_files_list] => Array
    (
    )

    [confirmation_email] =>
    [convertnewline] => 0
    [converturls] => 1
    [custom_image_field] => 0
    [default_post_category] => 1
    [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] => <img src=”{MEDIUM}” alt=”{CAPTION}” width=”{MEDIUMWIDTH}” height=”{MEDIUMHEIGHT}” class=”alignnone size-medium wp-image-{ID}” />
    [imagetemplates] => Array
    (
    [simple_link] => {FILENAME}
    [no_wrappers] => <img src=”{THUMBNAIL}” alt=”{CAPTION}” title=”{CAPTION}” class=”attachment” />
    [wordpress_default] => <img src=”{MEDIUM}” alt=”{CAPTION}” width=”{MEDIUMWIDTH}” height=”{MEDIUMHEIGHT}” class=”alignnone size-medium wp-image-{ID}” />
    [thumbnail_left] => <div style=”float:left;margin-right:10px;”><img src=”{THUMBNAIL}” alt=”{CAPTION}” title=”{CAPTION}” class=”attachment” /></div>
    [thumbnail_right] => <div style=”float:right;margin-left:10px;”><img src=”{THUMBNAIL}” alt=”{CAPTION}” title=”{CAPTION}” class=”attachment” /></div>
    [robert_felty] => <div style=”margin-right:10px;background:black;color:white;padding:2px; width:{MEDIUMWIDTH};float:left”><img src=”{MEDIUM}” alt=”{CAPTION}” title=”{CAPTION}” class=”attachment” /><div style=”padding:.2em;text-align:left”>{CAPTION}</div></div>
    [postie_legacy] => <div class=”postie-image-div”><img src=”{THUMBNAIL}” alt=”{FILENAME}” title=”{FILENAME}” style=”border:none” class=”postie-image” /></div>
    [custom] =>
    )

    [input_protocol] => pop3-ssl
    [interval] => oneminute
    [mail_server] => pop.gmail.com
    [mail_server_port] => 995
    [maxemails] => 0
    [message_start] => :start
    [message_end] => :end
    [message_encoding] => UTF-8
    [message_dequote] => 1
    [post_status] => publish
    [prefer_text_type] => plain
    [return_to_sender] => 0
    [role_access] => Array
    (
    )

    [selected_audiotemplate] => simple_link
    [selected_imagetemplate] => wordpress_default
    [selected_video1template] => simple_link
    [selected_video2template] => simple_link
    [shortcode] => 0
    [sig_pattern_list] => Array
    (
    [0] => –\s?[\r\n]?
    [1] => –\s
    [2] => —
    [3] => —
    )

    [smtp] => Array
    (
    )

    [start_image_count_at_zero] => 0
    [supported_file_types] => Array
    (
    [0] => application
    )

    [turn_authorization_off] => 0
    [time_offset] => 1
    [video1template] => {FILENAME}
    [video1types] => Array
    (
    [0] => mp4
    [1] => mpeg4
    [2] => 3gp
    [3] => 3gpp
    [4] => 3gpp2
    [5] => 3gp2
    [6] => mov
    [7] => mpeg
    [8] => quicktime
    )

    [video2template] => {FILENAME}
    [video2types] => Array
    (
    [0] => x-flv
    )

    [video1templates] => Array
    (
    [simple_link] => {FILENAME}
    [small] => <object classid=”clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B” codebase=”https://www.apple.com/qtactivex/qtplugin.cab&#8221; 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=”https://www.apple.com/quicktime/download/&#8221; width=”128″ height=”110″ scale=”tofit”></embed> </object>
    [medium] => <object classid=”clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B” codebase=”https://www.apple.com/qtactivex/qtplugin.cab&#8221; 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=”https://www.apple.com/quicktime/download/&#8221; width=”320″ height=”260″ scale=”tofit”></embed> </object>
    [medium_widescreen] => <object classid=”clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B” codebase=”https://www.apple.com/qtactivex/qtplugin.cab&#8221; 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=”https://www.apple.com/quicktime/download/&#8221; width=”480″ height=”290″ scale=”tofit”></embed> </object>
    [large] => <object classid=”clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B” codebase=”https://www.apple.com/qtactivex/qtplugin.cab&#8221; 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=”https://www.apple.com/quicktime/download/&#8221; width=”480″ height=”380″ scale=”tofit”></embed> </object>
    [large_widescreen] => <object classid=”clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B” codebase=”https://www.apple.com/qtactivex/qtplugin.cab&#8221; 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=”https://www.apple.com/quicktime/download/&#8221; width=”640″ height=”380″ scale=”tofit”></embed> </object>
    [custom] =>
    )

    [video2templates] => Array
    (
    [simple_link] => {FILENAME}
    [small] => <object classid=”clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B” codebase=”https://www.apple.com/qtactivex/qtplugin.cab&#8221; 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=”https://www.apple.com/quicktime/download/&#8221; width=”128″ height=”110″></embed> </object>
    [medium] => <object classid=”clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B” codebase=”https://www.apple.com/qtactivex/qtplugin.cab&#8221; 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=”https://www.apple.com/quicktime/download/&#8221; width=”320″ height=”260″></embed> </object>
    [medium_widescreen] => <object classid=”clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B” codebase=”https://www.apple.com/qtactivex/qtplugin.cab&#8221; 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=”https://www.apple.com/quicktime/download/&#8221; width=”480″ height=”290″></embed> </object>
    [large] => <object classid=”clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B” codebase=”https://www.apple.com/qtactivex/qtplugin.cab&#8221; 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=”https://www.apple.com/quicktime/download/&#8221; width=”480″ height=”380″></embed> </object>
    [large_widescreen] => <object classid=”clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B” codebase=”https://www.apple.com/qtactivex/qtplugin.cab&#8221; 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=”https://www.apple.com/quicktime/download/&#8221; width=”640″ height=”380″></embed> </object>
    [flv_embed] => [flv:{FILELINK} 480 270]
    [custom] =>
    )

    [wrap_pre] => no
    [featured_image] => 1
    [include_featured_image] => 1
    [email_tls] => 0
    [post_format] => standard
    [post_type] => post
    [generaltemplates] => Array
    (
    [postie_default] => {ICON} {FILENAME}
    [simple_link] => {FILENAME}
    [custom] =>
    )

    [generaltemplate] => {ICON} {FILENAME}
    [selected_generaltemplate] => postie_default
    [generate_thumbnails] => 1
    [reply_as_comment] => 1
    [force_user_login] => 0
    [auto_gallery_link] => Default
    [ignore_mail_state] => 1
    [strip_reply] => 1
    [postie_log_error] => 1
    [postie_log_debug] => 0
    )

    1: ————————————

    RemoveExtraCharactersInEmailAddress: [email protected] (1)

    Array
    (
    [0] => Gacsályi, ádám <[email protected]>
    [1] => [email protected]
    )

    ValidatePoster: post postie_filter_email [email protected]

    ValidatePoster: post postie_filter_email2 [email protected]

    Confirming Access For [email protected]

    1 has ‘post_via_postie’ permissions

    ValidatePoster: pre postie_author 1

    ValidatePoster: post postie_author 1

    tmp post id is 48

    Message Id is :<CAO78N14T6v20p6sw1mLiO_FXJg393Sxz9NSCUms-4JpfDROoZQ@mail.gmail.com>

    filter_PreferedText: begin 2

    filter_PreferedText: part: 0 text/plain

    filter_PreferedText: checking prefered type

    filter_PreferedText: keeping: plain

    blalblalblaldalfsmg=C3=A9

    filter_PreferedText: part: 1 text/html

    filter_PreferedText: checking prefered type

    filter_PreferedText: removing: html

    1 parts

    filter_PreferedText: end

    GetContent: —- start

    GetContent: primary= multipart, secondary = alternative

    GetContent: file name ”

    GetContent: extension ”

    GetContent: secondary lookup failed, checking configured extensions

    GetContent: found no extension

    GetContent: mimetype multipart/alternative

    GetContent: multipart: 1

    filter_PreferedText: begin 1

    filter_PreferedText: part: 0 text/plain

    filter_PreferedText: checking prefered type

    filter_PreferedText: keeping: plain

    blalblalblaldalfsmg=C3=A9

    1 parts

    filter_PreferedText: end

    GetContent: —- start

    GetContent: primary= text, secondary = plain

    GetContent: file name ”

    GetContent: extension ”

    GetContent: secondary lookup failed, checking configured extensions

    GetContent: found no extension

    GetContent: mimetype text/plain

    GetContent: ctype_primary: text

    GetContent: text charset: UTF-8

    GetContent: text encoding: quoted-printable

    before HandleMessageEncoding

    email charset: utf-8

    email encoding: quoted-printable

    quoted-printable detected

    after HandleMessageEncoding

    GetContent: plain text

    GetContent: body text

    GetContent: html allowed

    GetContent: meta_return: blalblalblaldalfsmgé

    GetContent: ==== end

    GetContent: meta_return: blalblalblaldalfsmgé

    GetContent: ==== end

    CreatePost: ‘blalblalblaldalfsmgé

    Array
    (
    [html] => Array
    (
    )

    [cids] => Array
    (
    )

    [image_files] => Array
    (
    )

    )

    Predecoded subject: 853

    tag_Subject: Looking for subject in email body

    tag_Subject: No subject found, using default [1]

    Subject: 853

    filter_RemoveSignature: pattern: /^(–\s?[\r\n]?|–\s|–|—)\s?$/mi

    post sig: blalblalblaldalfsmgé

    post excerpt: blalblalblaldalfsmgé

    RemoveExtraCharactersInEmailAddress: [email protected] (1)

    Array
    (
    [0] => Gacsályi, ádám <[email protected]>
    [1] => [email protected]
    )

    post author: blalblalblaldalfsmgé

    before HandleMessageEncoding

    email charset:

    email encoding:

    after HandleMessageEncoding

    filter_Delay: post date: 2015-11-06 08:54:04 / 2015-11-06 07:54:04 (gmt)

    post date: blalblalblaldalfsmgé

    post ubb: blalblalblaldalfsmgé

    post type: found format ‘standard’

    post type: blalblalblaldalfsmgé

    pre category: 1

    post postie_category_default 1

    tag_Categories: found categories

    Array
    (
    )

    post category: blalblalblaldalfsmgé

    post tag: blalblalblaldalfsmgé

    post comment: blalblalblaldalfsmgé

    post status: blalblalblaldalfsmgé

    post cid: blalblalblaldalfsmgé

    post video: blalblalblaldalfsmgé

    begin: filter_linkify

    post linkify: blalblalblaldalfsmgé

    post vodafone: blalblalblaldalfsmgé

    post custom: blalblalblaldalfsmgé

    GetParentPostForReply: Looking for parent ‘853’

    GetParentPostForReply: No parent found

    Not a reply

    filter_Newlines: filternewlines

    filter_Newlines: convertnewline: 0

    post newline: blalblalblaldalfsmgé

    post start: blalblalblaldalfsmgé

    post end: blalblalblaldalfsmgé

    images in post: 0

    Array
    (
    )

    Auto gallery: none

    auto adding images to end

    post body ReplaceImagePlaceHolders: blalblalblaldalfsmgé

    Post postie_post filter

    Array
    (
    [post_author] => 1
    [comment_author] => admin
    [comment_author_url] =>
    [user_ID] => 1
    [email_author] => [email protected]
    [post_date] => 2015-11-06 08:54:04
    [post_date_gmt] => 2015-11-06 07:54:04
    [post_content] => blalblalblaldalfsmgé
    [post_title] => 853
    [post_type] => post
    [ping_status] => open
    [post_category] => Array
    (
    [0] => 1
    )

    [tags_input] => Array
    (
    )

    [comment_status] => open
    [post_name] => 853
    [post_excerpt] =>
    [ID] => 48
    [customImages] => Array
    (
    )

    [post_status] => publish
    )

    Post Author: 1

    Date: 2015-11-06 08:54:04

    Category: 1

    Ping Status: open

    Comment Status: open

    Subject: 853

    Postname: 853

    Post Id: 48

    Post Type: post

    Done

    1: processed

    Mail fetch complete, 1 emails

    memory at end of email processing:38310880

    Plugin Author Wayne Allen

    (@wayneallen-1)

    Lets try this.

    Change “Enable Debug Logging” to “Yes” then ensure there is an email waiting and then go to https://www.tradecommands.com/wp-cron.php You should see an execution log on the screen if Postie was scheduled to run. If not just refresh the page every so often until you do.

    If you never get a log double check the Enable Debug Logging setting.

    If that doesn’t work I recommend disabling all plugins except Postie and trying again. It is possible another plugin is messing up the cron.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    It’s not clear why this topic was tagged for moderation.

    Thread Starter Adam.Gacsalyi

    (@adamgacsalyi)

    Hey Andrew, please moderate my long post, the debug info if you would be so kind. I have good reason to ask that but i dont want to point it out why – also for a good reason.

    Plugin Author Wayne Allen

    (@wayneallen-1)

    Modlook – Please remove long log file from reply 5

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    You can ask but you have to provide a reason and then a moderator has to make a judgement on whether it’s a valid cause for moderation.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    @wayneallen-1, Please don’t re-add the ‘modlook’ tag to this thread. I’m already answering.

    Thread Starter Adam.Gacsalyi

    (@adamgacsalyi)

    Is there a way to send you private message?

    Plugin Author Wayne Allen

    (@wayneallen-1)

    @andrew Sorry. The whole modlook thing isn’t well documented. I assumed once it was gone you were done.

    The reason for the edit request is there is a password in the log.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Is it gone now?

    Thread Starter Adam.Gacsalyi

    (@adamgacsalyi)

    Andrew I think it is gone, thanks. The reason i didnt want to point it out is i didnt know how much time would it take for you to react and didnt want people looking for the password. Well obviously i changed it already, but anyway…

    Allen, there was some configuration error on Hostwinds part thats why https://www.setcronjob.com was working and cpanel wasnt.
    But again only the getmail method is working, which you dont recommend, if i remove this cron job from cpanel and leave only the wp-cron.php it wouldnt work.

    About the plugins: its a fresh install of wordpress, postie was the first and only plugin installed so other plugins causing trouble is not the case here.

    Here’s the info about the debug log (i hope no pw this time lol):

    MAKE SURE POP IS TURNED ON IN SETTING AT Gmail

    Warning: imap_open(): Couldn’t open stream {pop.gmail.com:995/service=pop3/ssl/notls/novalidate-cert}INBOX in /home/xxx/public_html/tradecommands.com/wp-content/plugins/postie/postieIMAP.php on line 89

    imap_open failed: Can not authenticate to POP3 server: [AUTH] Username and password not accepted.

    Mail Connection Time Out

    Common Reasons: Server Down, Network Issue, Port/Protocol MisMatch

    The Server said:

    Warning: imap_expunge() expects parameter 1 to be resource, boolean given in /home/xxx/public_html/tradecommands.com/wp-content/plugins/postie/postieIMAP.php on line 149

    Warning: imap_close() expects parameter 1 to be resource, boolean given in /home/xxx/public_html/tradecommands.com/wp-content/plugins/postie/postieIMAP.php on line 157

    Any idea about this?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    You need to change the credentials that were exposed as soon as possible, it is not just humans you have to worry about. Robots often archive www.ads-software.com’s forum posts.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Postie doesn't get email automatically but runs fine manually’ is closed to new replies.