I get the following when trying to view a document, I'm using a public filesystem as well.

"Refused to display document because display forbidden by X-Frame-Options."

Comments

jmarkel’s picture

I've never seen this - Could you please provide me with some additional info? Such as which OS/browser/browser level, if it's repeatable, file being displayed, etc.

Thanks

emcniece’s picture

Version: » 7.x-1.x-dev

Just dropping by... working on this right now for an unrelated module, Lightbox2. This may be of help to you: http://stackoverflow.com/questions/6666423/overcoming-display-forbidden-...

I tried adding the header thing to my php, but didn't have any luck.

jmarkel’s picture

Status: Active » Closed (cannot reproduce)

Never been able to reproduce this myself, and with no input from the original bug reporter, I'm marking this closed.

AdrianB’s picture

I saw this sometimes when embedding Google Docs manually (not with this module nor with Drupal at all). I think it was an issue with Google, because it would go away without me doing anything. (My theory is that it had something to do with Googles bad habit of forcing visitors to log in with Google Account if there was a cookie saying the visitor had been logged in before.)

Kazanir’s picture

Status: Closed (cannot reproduce) » Active

I am having this issue as well, and I would lay money that it has something to do with a combination of Chrome and the files being served from Amazon's off-domain CDN. I can't even reproduce it myself, but we occasionally experience it and I have a couple users for whom clearing the cache (the usual fix) does not work.

This probably isn't even an issue with this module but I would appreciate any assistance in trying to track down a fix since I'm sure it will crop up for others at some point in the future.

Kazanir’s picture

Update just a few minutes later: It is in fact the problem that is alluded to in #4 -- if a user is in a Google Account limbo state, where they are logged in but it wants a password re-authentication, the Google Doc Viewer will not display. Bizarre and funky but probably not something this module can solve.

gisle’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

No progress in eight years. Closing as outdated based upon #6.