WordPress.org

Ready to get started?Download WordPress

Forums

Google Doc Embedder
[resolved] Documents do not display any more. (32 posts)

  1. Ulfsby Webdesign
    Member
    Posted 2 years ago #

    The plugin worked fine for some days, but now the documents are not displayed any more. The viewer displays, but not the documents.
    See this page http://sandkasse.ulfsby.no/2011/12/google-doc-embedder/

    I have the same problem with another plugin for Google Docs viewer. Is the Google API depricated? They have depricated other APIs these days.

    http://wordpress.org/extend/plugins/google-document-embedder/

  2. k3davis
    Member
    Plugin Author

    Posted 2 years ago #

    I hate to call the "it works for me" defense on you, but it does:

    http://davismetro.com/temp/stig.png

    You're correct that other APIs have been discontinued. Google Viewer probably won't be, because of its integration with Google Docs; however its use outside of Google Docs has never been completely stable so of course no guarantees there. However as of now all appears to be well.

  3. Ulfsby Webdesign
    Member
    Posted 2 years ago #

    Strange. It does not work on any of the two sites i have installed it. I can not view it neither in Firefox nor in IE9 on the same PC nor in IE8 on another PC on the same WLAN. Is my IP address blacklisted?

  4. Ulfsby Webdesign
    Member
    Posted 2 years ago #

    Even more strange: After having been unavailable for a couple of days, Google docs viewer now works in all plugins on both sites.

  5. Misko Stanisic
    Member
    Posted 2 years ago #

    Hi!
    There is a definitely a problem with the plugin since couple a days ago.

    In "Google Standard Viewer" option it doesn't show anything, and in "Enhanced Viewer" it shows only the doc-viewer frame, but not the PDF document itself. This is an issue in Safari on Mac, and IE9 on PC.

    But in Firefox on Mac it works just fine (????!).

    I tried several tricks, reinstalled the plugin, change all the possible settings, but it's all the same.

    I also tested lots of other links (people that use Google doc viewer posted their links in this forum) and it is always the same: it is not working in Safari (doesn't show anything), but it works fine with Firefox (both on Mac).

    So there IS a problem... somewhere out there :)

  6. k3davis
    Member
    Plugin Author

    Posted 2 years ago #

    Try embedding your document using Google's viewer directly.

    https://docs.google.com/viewer

    My plugin tries to make this service more convenient, but in the end it's only a wrapper for what Google provides. If it doesn't work there, it won't work anywhere.

  7. nwarmenh
    Member
    Posted 2 years ago #

    I am having the same issue in IE9 and Safari/Mac, including when I use Google's viewer directly. It seems that the Google Doc Viewer incompatibility/flakiness has been around for a while.

    Anyone out there have a bulletproof PDF embedding solution?

  8. k3davis
    Member
    Plugin Author

    Posted 2 years ago #

    nwarmenh, You are right, there is a good deal of flakiness inherent with Google's viewer... which has made it difficult for a plugin maker to try to work around the issues. I do find (in my case at least) that enhanced viewer works fine in IE9. I can't speak for Safari/Mac, though.

    Plugin version 2.2.3 included some important enhanced viewer fixes, so it may be worth another try. But of course it is not perfect and ultimately subject to many Google quirks, nonetheless.

  9. mijniemail
    Member
    Posted 2 years ago #

    I experience the same problem, unfortunately.
    The .pdf file is only showing up in the latest browser: Google Chrome, not in Firefox or IE9.
    It is very important for my website. And it is the best I can find!
    Is there a fix comming soon?

  10. profipl
    Member
    Posted 2 years ago #

    Please, give reference to the version 2.2.2

  11. k3davis
    Member
    Plugin Author

    Posted 2 years ago #

    mijniemail, I'm sorry for the trouble you're having. Unfortunately version 2.2.3 includes all the fixes currently available. I can't reproduce these issues in my environment.

    profipl, I'm not sure what you're asking for there.

  12. Heikki Hyppänen
    Member
    Posted 2 years ago #

    Sorry if my comment is obvious, and this is something you've already taken into account... It seems to me that Google moved the Viewer service behind their Google Docs authentication. If you're logged in, documents are displayed like the way they used to. Otherwise you get a blank page.

    I'm not actually using the plugin, but a self-coded wrapper.

  13. Heikki Hyppänen
    Member
    Posted 2 years ago #

    Sorry, I have to take that previous statement back. Perhaps there was some sort of misconfiguration on Google's servers, but "my way" seems to work again.

    This thread is a week old, but I got a complaint only about two hours ago, so I can't comment on the duration of this auth problem.

  14. Sebastian Cork
    Member
    Posted 2 years ago #

    @mandr1: Actually, I'm going to have to say that you're on to something. A colleague of mine and myself tested the plugin under IE9, FF10 + FF11a, Chrome 16 + 17b. Out of those the issue appeared under the Firefox browser tests. IE9 seemed to render the document fine, as well as Chrome. Then I came across your post and we tried being logged into Google Docs, where the PDF rendered fine under both versions of Firefox.

  15. gfinch
    Member
    Posted 2 years ago #

    My pdf's vanished in Chrome & Firefox (fine in IE) - big white blank space where they should be.
    Standard viewer setting:
    I logged out of Google and the pdf appeared OK in Chrome - IE still OK, Firefox still not showing it.

    Then tried Enhanced viewer setting to try to resolve FF:
    big grey box in Chrome & FF, no pdf

    http://www.ecat.ed.ac.uk/research-in-edinburgh/research-centres/centre-for-infectious-diseases/

  16. k3davis
    Member
    Plugin Author

    Posted 2 years ago #

    Feel free to set up a test page as an example. With the plugin removed I have nothing to go on. Thanks.

  17. gfinch
    Member
    Posted 2 years ago #

    Sorry, k3davis - I just had to go with something else that would work more consistently (used <embed src="http://www.pdfsource.pdf" width="500" height="600">).
    Thanks for your response anyway.

  18. vitalvital
    Member
    Posted 2 years ago #

    This seems to be a Firefox's (15) issue.
    The Google viewer (https://docs.google.com/viewer) itself was not working (JS error) for the last few hours. Now it seems to be fixed.
    However on FF 15 it shows just some gray blobs for pages.

  19. k3davis
    Member
    Plugin Author

    Posted 2 years ago #

    @vitavital, Unfortunately I can't speak to that, as Firefox 15 is beta software. Hopefully it will be fixed. If Google's viewer is broken when the browser is released, that would be a big problem for the two companies to work out. But it's too soon to say.

    Are you having the problem on Firefox 14 (or any other stable release browser)? Can you share the details?

  20. Michael S.
    Member
    Posted 2 years ago #

    Hi. Just want to say that GDE plugin works great in Firefox 14. But in Safari 6 the pdf has vanished to. Is there something I can do to fix this? Doesn't show up on iPad browser too. The page url is: http://www.anura.dk/curriculum-vitae/

  21. k3davis
    Member
    Plugin Author

    Posted 2 years ago #

    What do you mean by "vanished"? (Error message, either inline or in the page source at the viewer location?) I see you're using the standard viewer also, does the "enhanced" behave any differently? I don't have any device to test that particular environment.

  22. Michael S.
    Member
    Posted 2 years ago #

    the only thing that shows is the download link. But the pdf view is gone.

  23. vitalvital
    Member
    Posted 2 years ago #

    @Michael S. and @k3davis
    Confirming that GDE doesn't work on http://www.anura.dk/curriculum-vitae/ on FF 15.
    However this is not a GDE issue but a GDV (Google Doc Viewer) one. Hopefully Google and the browsers involved will sort it out whose fault it is, and soon.

  24. k3davis
    Member
    Plugin Author

    Posted 2 years ago #

    @vitalvital,

    I installed FF 15 in a virtual machine and saw the empty gray box under the toolbar, the "loading" imaged finished then the area remained blank. Investigating it with firebug I noted one of the net requests (the one to the document itself) was labeled as "Aborted". Then I copied that URL into a new tab and got a security warning, saying that site's security certificate expired on 7/25. I added a security exception, reloaded the page and saw the document normally. Then I looked at the certificate installed and a new one was issued on 7/25. Seems FF 15 isn't picking up that cert automatically for some reason, but once forced, it's normal. I would chaulk that particular problem up to a bug in the beta of Firefox (15b3).

  25. k3davis
    Member
    Plugin Author

    Posted 2 years ago #

    @Michael S., it seems Safari 6 is not available on Windows, and I don't have an ipad (quite happily), so I don't know what more to do there...

  26. Michael S.
    Member
    Posted 2 years ago #

    Sorry for my quick respond before. Just tested the enhanced mode. And now the viewer is showing without the pdf. It looks like the viewer is getting the correct data, because it shows the correct amount of pages. Now it's only the pdf file which is not visible.

    About Safari 6 it is true its not out there for Windows yet. Hopefully someday it will. But It just feels strange to me, that the viewer is visible but not the pdf. Do you think it has something to do with the certificate? In FF 14.0.1 it all seems to be working correctly.

  27. Michael S.
    Member
    Posted 2 years ago #

    Oh yeahh. One last thing. a month ago, the viewer worked perfectly on the iPad. So I thought that the problem was within the plugin or WordPress. Although I have not upgraded to the latest WordPress version.

  28. k3davis
    Member
    Plugin Author

    Posted 2 years ago #

    It may be certificate related, I don't know. From what I read, Safari 6 has a Developer menu that may allow you to monitor network traffic of your requests. You could turn that on and reload the page, and see where it may be failing - denied URLs, javascript errors, or whatever - whether you know what they mean or not, it might help determine where the "fault" lies. I wish I could test this for you, but I don't have access to either an ipad or Safari 6. If anyone else on here does and wants to chime in, I'd welcome it.

  29. Michael S.
    Member
    Posted 2 years ago #

    OK. Just found the developer menu and got this:

    TypeError: 'undefined' is not an object (evaluating 'this.D[f].a') proxy.php:474
    TypeError: 'undefined' is not an object (evaluating 'a.D[a.H].a') proxy.php:503

    Is this something you understand?

    Update: I tried to reload the page again this morning and on my own pc the pdf file showed up in the viewer. I then tried my girlfriends computer and there the pdf is not showing, but the viewer does. Can it be something with the loading time? Can there be a limit or something that prevent the file to be loaded correctly?

    Again thank you for your time. I understand if you cannot solve it, and it is a browser issue. It's still one of the best plugins out there.

  30. k3davis
    Member
    Plugin Author

    Posted 2 years ago #

    The JavaScript error you mentioned is similar to (or the same as) the one I experienced on FF15 beta before the certificate problem was resolved. There is some practical limitation to the size of the files supported, but if your file is indeed 3.44MB as your page indicates this is unlikely to be the case, unless one was on a very slow connection. Usually files up to 7-8MB show up with minimal fuss, and sometimes several sizes larger.

    I'll keep my attention on this in case there is some trend in the kind of support requests I receive, but I'm afraid at the moment I'm at a dead end in what I can examine about this particular environment. I appreciate your understanding and patience with this. I certainly would like to resolve all issues possible, but some are simply beyond my control as an embedder of a third-party product.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic