• Resolved Bert Ernste

    (@bert-ernste)


    Hi,

    Happy New Year, Feliz ano novo.

    Since December 31 my scheduled posts are not going to Diaspora any more. Suddenly I have to do that manually again.

    The only recent change that I remember is an update to the plugin Really Simple SSL.

    You would make me very happy if you could help me out here.

    Regards, sauda??es,
    Bert Ernste

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Author noplanman

    (@noplanman)

    Hi Bert,

    Thanks for your report.
    Unfortunately I cannot reproduce this, as it works perfectly in my setup.

    Could you give me any extra details, like a list of plugins you have installed (and their version numbers)?

    Also, when you go to “Settings->WP to diaspora*” in your WP Admin dashboard, does the connection work correctly?

    Hope to get this fixed for you =)

    Happy 2018 to you too!

    Armando

    • This reply was modified 7 years, 2 months ago by noplanman.
    Thread Starter Bert Ernste

    (@bert-ernste)

    Hi Armando,

    Thank you very much for your input. This morning manually posting my WordPress post to Diaspora also did not work.

    In the settings you indicated it says: Failed to initialise connection to pod “https://pod.orkz.net”. cURL error 60: SSL certificate problem: unable to get local issuer certificate.

    Creating a new post on Diaspora (not originating in WordPress) works fine.

    I guess it is a certificate thing, but my plugins are: Askimet Anti-spam, Limit Login Attempts, PuSHPress, Really Simple SSL, Scheduled Post Trigger, Subscribe2, WP to diaspora*, WPtouch Mobile Plugin

    Thanks again,
    Bert

    Plugin Author noplanman

    (@noplanman)

    Hi Bert,

    That’s what I was expecting. Your host does not have an up-to-date certificate bundle.
    If you could get in touch with your hosting, that would be the best.

    Have a look here for some solutions:
    https://github.com/DiasPHPora/wp-to-diaspora/wiki/SSL-and-TLS-Issues

    Armando

    Thread Starter Bert Ernste

    (@bert-ernste)

    Thanks a lot for guiding me here.

    I have contacted the hosting provider, hopefully they will sort it soon. Till then I will have to copy paste the elements of my WP post over to Diaspora.

    Many thanks for your very useful plugin.

    Plugin Author noplanman

    (@noplanman)

    Bert, give Nr. 4 of the wiki entry a try!

    Just copy this file to the root of your plugins/wp-to-diaspora folder:
    https://curl.haxx.se/ca/cacert.pem

    It should work then as a temporary fix, until a new version of WP to diaspora* is released (which won’t be any time soon I think).

    Thread Starter Bert Ernste

    (@bert-ernste)

    Will look into that tomorrow. Thanks again!

    Thread Starter Bert Ernste

    (@bert-ernste)

    The host of the Diaspora pod was quick on the uptake. Posting directly works again, scheduled posts still do not. I will wait and see if he finds a solution. If not I will go for your suggestion. Thanks.

    Thread Starter Bert Ernste

    (@bert-ernste)

    Just to be complete: the error message about the SSL certificate has gone, but scheduled posts do not go to Diaspora.

    Could the problem be similar to my earlier query? https://www.ads-software.com/support/topic/wordpress-to-diaspora-stopped-working/

    Plugin Author noplanman

    (@noplanman)

    The issue is the combination with the plugin “Scheduled Post Trigger”.
    Maybe you updated that recently too?

    I see it was updated recently and can confirm that the latest version 2.0 does break WP to diaspora* ?? Version 1.8 works correctly though.

    Will look into it.

    • This reply was modified 7 years, 2 months ago by noplanman.
    Plugin Author noplanman

    (@noplanman)

    Ok, the problem is that the “Scheduled Post Trigger” plugin skips the action hook used in WP to diaspora* to publish the post.

    Have made an issue report here:
    https://www.ads-software.com/support/topic/init-action-kicks-in-too-soon/

    For now, I suggest you revert to version 1.8 or manually add the priority as explained in the link above.

    Thread Starter Bert Ernste

    (@bert-ernste)

    > The issue is the combination with the plugin “Scheduled Post Trigger”.
    > Maybe you updated that recently too?

    I am afraid that you are right. Unfortunately that one was not saved in (my) memory.

    I am a little hesitant to edit the plugin or revert to version 1.8 [which is not offered any more (1.7 is)], as I might do something wrong. I guess I will wait a while to see if Scheduled Post Trigger will accept your request. In the meantime I will manually post to Diaspora through WP to Diaspora after publication. As long as I am in the European time zone, it is not a big problem.

    Just in case: should I replace the line:
    add_action('init', 'register_my_session');
    by
    add_action( 'init', 'pubScheduledPost', 999 );
    or add it?

    Thanks an awful lot for everything.

    Plugin Author noplanman

    (@noplanman)

    The line you would need to change is line 18.

    from
    add_action('init','pubScheduledPost');
    to
    add_action('init','pubScheduledPost', 999);

    I too hope they decide to improve their plugin ??

    Thread Starter Bert Ernste

    (@bert-ernste)

    Ah, OK. Thanks!

    With that I will have a go later.

    Thread Starter Bert Ernste

    (@bert-ernste)

    It looks as if with that change to the plugin Scheduled Post Trigger the scheduled post goes to Diaspora immediately instead of at the time of scheduled post.

    Plugin Author noplanman

    (@noplanman)

    Bert, you can update the Scheduled Post Trigger plugin to 2.1, which has reverted the code changes.

    Please let me know if the scheduled posting is fixed with that, thanks!

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Scheduled posts not going to Diaspora’ is closed to new replies.