Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author John Eckman

    (@johneckman)

    hmm. not sure how that could be happening, as there’s only one POST with the form – maybe there’s some redirecting going on there as well?

    Are others seeing this behavior as well?

    Trying setting line 471 in wpgplus from:

    'redirection' => 5,

    To:

    'redirection' => 0,

    Thread Starter stephensekula

    (@stephensekula)

    Thanks for getting back to me so quickly.

    After I changed the redirection parameter from 5 to 0, I got an error from WordPress telling me “Too many redirects.” This was new. So I set 0 back to 5 . . . and, of course, still got the same error.

    So now I seem to have a new problem that is independent of the original, and preventing me from testing your suggestion…

    Steve

    Thread Starter stephensekula

    (@stephensekula)

    Wait . . .I spoke too soon. Yes, I got that new error from WP about “too many redirects,” but my posts to G+ went through.

    So, to report results from your original test suggestion, I did try setting redirects to 0 and got only 1 post to G+ (perfect!). I set it back to 5 and confirmed that I then got multiple posts to G+ (6 in total, though the last one was delayed from the first 5, for some reason…)

    Steve

    Plugin Author John Eckman

    (@johneckman)

    Hmm. I just tested another post this morning and did not have the same result you are having – though I did post it with redirection => 0, which I think is the correct result.

    The “Too Many Redirects” problem when redirection => 0 may be a known issue before WordPress 3.2: https://core.trac.www.ads-software.com/ticket/16855

    But the “Too many redirects” doesn’t sound like the right error text – and redirection of zero is used many places in the plugin.

    When you set it back to 5, you get multiple posts for each WordPress post?

    Thread Starter stephensekula

    (@stephensekula)

    That’s correct; when I set redirection back to 5 I get at least five posts to my G+ stream.

    Steve

    Plugin Author John Eckman

    (@johneckman)

    Thanks Steve.

    For 0.8.3 I’ve set redirection back to 0, which is working for me.

    The question is why you are getting a ‘too many redirects’ error despite the fact that the posting works.

    If it were just the problem with ‘redirection => 0’ I would expect it to show up earlier in the process and prevent the publishing from occurring.

    Having the post succeed but then having WP return a too many redirects confuses me. But I’ll keep looking into it – perhaps you could share your wpgplus_debug.txt in email? (Use the contact form here https://www.openparenthesis.org/contact and I will email you back)

    Thread Starter stephensekula

    (@stephensekula)

    I seem to only get the “too many redirections” error intermittently. There isn’t a clear pattern as to when or why it happens. I can see if there are any log files that contain useful information.

    Steve

    Plugin Author John Eckman

    (@johneckman)

    Steve – thanks, that would be helpful.

    I’m working on whether I can skip / ignore some of the redirects Google+ sends – seems like there are too many and different country versions may have fewer. I think if we just get passed the CheckCookie page and show we can store cookies it will be enough.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Plugin: WPGPlus] Multiple G posts result from single WordPress post’ is closed to new replies.