k3davis
Forum Replies Created
-
I don’t know what document you’re trying to embed or anything, so I can’t really guess. Have you tried turning off error checking, as the error message suggests?
GDE Settings > “Advanced” tab > uncheck “Check for errors before loading viewer”
Forum: Plugins
In reply to: [Google Doc Embedder] WP Visual Editor not working since installing GDEHi there,
GDE does integrate with the visual editor by adding a button (TinyMCE plugin), but if the plugin is uninstalled it’s completely removed – GDE does not alter any core files in any way. It also does not integrate at all with permalinks or the media library (in WordPress 3.5, anyway). Most likely you’re having a different problem, but do make sure you clear your cache, etc. just to make sure it’s not a fluke before you drive yourself nuts trying to sort it out. π
Hope this helps.
Kevin
Christine’s issue is that her page doesn’t exist anymore at that URL. Perhaps the permalink structure or page slug changed, or she just pasted the wrong URL here. There is no GDE plugin in use on the page she’s linked to here – it’s the standard, out of box WordPress “page not found.”
OK, that took some doing, but I found the problem. The answer is a bit technical so feel free to ignore if you’re not interested. π
In 2.5.x I changed the method of URL validation to use a HEAD request instead of a GET. This speeds up the process a lot, since it doesn’t have to fetch the whole file in order to validate it, but only the header. The problem is, when URLs contain spaces, the browser must redirect to the encoded version, since spaces are really not valid in URLs. In WP, HEAD requests (properly) don’t follow redirects, so this method fails.
This issue will be patched in GDE 2.5.4. If the URL contains spaces, it will perform a full “GET” instead of just a “HEAD” request. The GET request will follow redirects and return the real status of the file. This is still a bit slower and it’s better not to use spaces. π
The most obvious benefit of this fix over just turning off error checking is the file size will be accurate instead of “Unknown.”
I’m looking into it, but I’ve confirmed turning off the setting I mentioned above solves the problem you’re having in the meantime.
It looks like the issue may be that those 2 files are in folders with spaces in the name. GDE corrects filenames with spaces (not a good idea on a Linux server), but doesn’t do anything with directory names. If turning off error checking doesn’t solve the issue, I’d suggest one of these solutions:
* Rename the “Go Military Data” folder to “Go-Military-Data” (if this won’t break a lot of links on your site).
* Change the URL of your document in the shortcode to use the directory nameGo%20Military%20Data(spaces encoded) and see if that works any better.
* Move the documents in question to your wp-contents folder (or another without spaces) like the others.What is different about the shortcode on those items, where some are working and some aren’t? Are the broken ones linked from a different site, etc.?
You can try going to the “Advanced” tab and unchecking “Check for errors before loading viewer,” though ideally I could have the shortcode you’re using and try to identify the underlying problem with those documents.
The page you have linked to doesn’t exist, and you don’t have GDE installed on your error page. I’m not seeing a GDE error here but a nonexistent page. Check your page in WordPress to see what the correct link to it is, and we can take it from there if there turns out to be an issue with the plugin.
To reiterate: it’s not the PDF you had embedded that’s not found at the page you listed above, it’s the page itself. Perhaps you’ve provided me the wrong link?
That page is just a 404…
Hi Christine,
I take it the error seems wrong to you? You’ll need to provide some more information – a URL where the problem can be found, or the shortcode you’re using, etc. Thanks.
Kevin
Forum: Plugins
In reply to: [Google Doc Embedder] GDE Error; turn off error checking; 406:Not AcceptableThat URL isn’t found either if you go to that address in your browser. If you can’t hit it from your browser, Google probably can’t, either. Therefore it won’t work…
If the file actually exists in that location and you get a 404 when trying to get to it in the browser, it sounds a lot like a server misconfiguration of some kind.
Forum: Plugins
In reply to: [Google Doc Embedder] Force download (bypass browser plugins)Great, thanks for letting me know! Sorry for the inconvenience.
Forum: Plugins
In reply to: [Google Doc Embedder] Force download (bypass browser plugins)Zverina,
Thanks for pointing out this issue. I’ve corrected it and in the course of it also noticed and corrected another problem in the case of filenames that have more than one (.) in them.
This fix will be included in the next release. You can apply it now by downloading the below file (contains only one replacement file) and overwriting the
load.phpincluded in the root folder of GDE 2.5.3.http://www.davistribe.org/temp/load.zip
If you send me a support request via the “Support” tab I can also send you a custom build directly that will install this fix automatically.
Thanks,
Kevin
Forum: Plugins
In reply to: [Google Doc Embedder] GDE Error; turn off error checking; 406:Not AcceptableTry going to that document link directly in your browser. The file doesn’t exist (or otherwise can’t be accessed on your server) at that URL.
The
httpdocs/portion looks fishy but the document doesn’t exist at that location without it, either.Forum: Plugins
In reply to: [Google Doc Embedder] GDE Error; turn off error checking; 406:Not AcceptableHello,
If you make the document into a PDF, do you get the same/a similar error?
It looks as if perhaps your server isn’t set to recognize the .docx doctype. But then again Google Viewer isn’t very good at displaying those documents in some cases, so I recommend you try either an older format (.doc) or .pdf, and see if the problem still exists.
Thanks,
Kevin