Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Blank page previews


Go to End
Reply


2 Posts   100 Views

Avatar
Chris_B

Community Member, 2 Posts

13 July 2017 at 6:07pm

I have several new SS installations that all have the same issue: the page previews are blank. Installation details: SS 3.5 and 3.6 installed using Composer; Ubuntu 16.04 (on an Amazon EC2 instance); PostgreSQL DBMS. Is this a permissions issue? I've chowned the files to root:www-data and chmodded files to 664 and directories to 775.

Avatar
Chris_B

Community Member, 2 Posts

16 August 2017 at 2:26pm

It turns out that iframes were being blocked by my web server. The relevant Apache2 default is the X-Frame-Options response header, which is set in the ssl-params.conf file (Debian/Ubuntu installation). The directive "Header always set X-Frame-Options DENY" prevents rendering of iframes. Changing this to "Header always set X-Frame-Options SAMEORIGIN" allows iframes from the same site to load content.