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,
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
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
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: http://core.trac.ww.wp.xz.cn/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?
That’s correct; when I set redirection back to 5 I get at least five posts to my G+ stream.
Steve
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 http://www.openparenthesis.org/contact and I will email you back)
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
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.