Tell me more ×
Drupal Answers is a question and answer site for Drupal developers and administrators. It's 100% free, no registration required.

I'm using the PDF Reader module to try to display a pdf file. Ideally I'll use the Goolge Viewer, but as of right now none of the displayers display my pdf.

My pdf file is set to full chmod 777 as well as the directory containing it (site/default/files/), for testing purposes only right now just to make sure the error wasn't due to permissions.

Here is screenshot of what I'm seeing - enter image description here

I can click the 'try downloading the file here' link and view/save the file.

Any ideas?

EDIT: The screenshot is from a dev server connected to the internet.

share|improve this question
Are you sure your Drupal-Installation is reachable from the internet (e.g. if you are using a dev-server via lan) - then google docs would not be able to access the docment. – Nebel54 Jun 26 '12 at 10:18
Did you set the proper content type settings for the file? – Digital Fire Jul 2 '12 at 17:18

1 Answer

You should test this module on the live site, but not on the localhost. If you are testing on localhost, Google Docs Viewer will not be able to access in the PDF document and can't show it, but you can download it from local server.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.