Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Can't view a PDF properly

52 views
Skip to first unread message

Herbie Hind

unread,
Oct 7, 2015, 10:32:04 AM10/7/15
to mozilla-d...@lists.mozilla.org
Dear All,

I am having a strange issue that I cannot seem to resolve. I am fairly new to any type of web development. I have followed the instructions to be able to view a PDF via a webpage. When I connect to the viewer via the URL directly the PDF does not view correctly. The issues are:
-The PDF has large amounts of space between the top and the buttons.
-All the buttons appear in any random order and do not look anything like the documents in the Mozilla test page.
- The document seems to have all sorts of writing on top of its self. Almost like all the layers are being displayed at the same time.

If I open the viewer.html on the local machine then the document can be viewed. I have tried to view the documents with the following browsers IE11, Firefox & Chrome, but with no success.

If I connect to the viewer on Mozilla then the document appears as it is supposed to.

My setup is as follows:
- Ubuntu 14.04
- Apache 2
- php 5.5.9

I have spent many hours looking through any forum and do not seem to be able to find a solution.

Herbie

jebra...@gmail.com

unread,
Oct 8, 2015, 10:20:02 AM10/8/15
to mozilla-d...@lists.mozilla.org
herbie,

It sounds like maybe there is a css file or some other resource that is accessible to the browser when viewing the local file that isn't accessible through your webserver.

Have you opened the developer tools in the browser to see if any errors are logged to the console? Also look in the network tab to see if any request failed or didn't contain the expected content.

Jeremy

0 new messages