PDF view not displaying: Embedded page not displayed

When I click on the PDF link on an item’s page (the catalog/view link), instead of the inline preview of the PDF, I get an error related to viewing an embedded page:

# Firefox Can’t Open This Page

To protect your security, openbooks.dut.ac.za will not allow Firefox to display the page if another site has embedded it. To see this page, you need to open it in a new window.

The ‘download’ link works normally.

Chrome behaves similarly to Firefox.

I believe this may be due to the way we have SSL configured, with a wildcard certificate and a self-signed cert on this server.

Am I on the right track here, or is there something else that’s gone wrong.

I’m using OMP 3.4.0.5 on Ubuntu 22.04.

Sean

Hi @seanc,

Check your browser’s web developer tools for details; I suspect you’ll find a message there about the X-Frame-Options header, which is probably set to Deny in your web server configuration.

Regards,
Alec Smecher
Public Knowledge Project Team

That was it. Thank you, Alec!

1 Like