I don’t understand your question. Are you using the beta release from my web site?
I tried the current release and the beta. I am unable to display a new form using the new link used by google docs. If i use a link from a older form no problem.
Have you been succesfull using a form link in the past few days?
I am not seeing different URLs from any of my Google Forms. Can you share your Google Spreadsheet with me? Use my same WordPress username at gmail dot com.
Finally someone with the same problem I’m having! I am running a Linux webserver that I’m just now setting up and I have intermediate experience so I’ve been looking all over the place for the problem. I finally tried your sample forms and they worked so I figured that the problem must lie in my forms that I’m creating. It appears that the url structure of new Google forms is not the same as it used to be. I’m wondering if this is the reason that my newly created forms will not work but your old forms will.
My form doesn’t work in plugin:
Notice that the url structure is different in the newly created form. Maybe this is what’s causing the problem.
I just created a new form and the Google Forms UI has definitely changed. I added the form to a testing page. I am getting a redirect error, are you seeing the same thing?
Yes that is very similar to the error that I’m getting.
You’ll notice that your form works but mine gives an error.
I will have to dig into it. Whatever Google has done is causing an error to be returned to the WordPress HTTP API. I will see if I can dig into this tomorrow or Monday.
Jim, I am geting the same error from the new goole form links.
I have resorted to reusing an older form and strpping it down for a template. At least it generates a new link that will work.
Mike I hope you can find a workaround 🙂
I had a few minutes tonight to look at this and whatever Google has changed, it isn’t very obvious. The initial request for the page content from Google using wp_remote_get() fails with the new URLs. I think it has something to do with the sslverify parameter which is an argument to wp_remote_get() but I am not positive yet.
I continue to look at this problem. It turns out I can retrieve the form HTML using wget from the command line like this:
wget --output-file=x.txt --output-document=y.txt --no-check-certificate https://docs.google.com/forms/d/1bPgvlQ-zwdVVBmmLEC0YtUu-yf94rshDLbMPcUFbsCU/viewform?pli=1
The Google form HTML ends up in the y.txt file.
Looking at the contents of x.txt (which reports what wget is doing) it appears there are some redirects but not many. I then changed the number of redirects the HTTP API can tolerate (which defaults to 5) to 100 to see if it completed and it did not. This is very strange.
Thank you for taking the time to look into this problem. So does that mean that there is an issue with WordPress’s function not working with the new google url? Is this a bigger problem that just the way your plugin interacts with the new google urls?
I’m having the same problem. I’m really glad you’re working on it! Using regular embedded Google form in the interim.
I’m having the same issue with my plugin. new forms aren’t working.
@ethanjrt do you know how to revert to the old forms? I don’t see any options in google for that.
No, sorry; I just meant I’m using Google’s “embed” link (next to the “link to share” option after you click “Send Form”). Which works fine for a small sidebar signup the way I have it, except that the style clashes a little with the rest of my site and the form doesn’t appear for anyone whose browser doesn’t accept 3rd-party cookies.
- The topic ‘Plugin not accepting the updated links from google docs’ is closed to new replies.