Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2018-03-09 06:44:26

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,054
Website GitHub Mastodon Twitter

framesets

Hi all

I’m doing some last minute chores for an exhibition we are opening tomorrow and trying to figure out how to present three sites on one computer in an idiot proof way. I thought that frames would be an option. I know the technology is old and semantically not correct but I can not think of another simple way.

In any case, I created the frameset below but it does not seem to be loading anything… Can anyone see what I am doing wrong?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<frameset rows="10%,*">
  <frame src="http://exhibition.domain.tld/menu.html" name="menu" />
  <frame src="http://exhibited.domain.tld/" name="content" />
</frameset>
</html>

Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#2 2018-03-09 08:22:09

etc
Developer
Registered: 2010-11-11
Posts: 5,126
Website GitHub

Re: framesets

Hi Yiannis,

look at your browser console, it is could be a CSP stuff.

Offline

#3 2018-03-09 08:46:32

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,054
Website GitHub Mastodon Twitter

Re: framesets

Hi Oleg,

Thanks so much for your reply… I guess that CSP stands for Content Security Policy? I normally use firefox which indicates no error except it loads nothing. In Opera I get Requests to the server have been blocked by an extension. on each frame but I have no extensions installed on it…

It is a head scratcher considering that one of the two urls (the menu) is residing in the same folder as the frameset document…


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#4 2018-03-09 08:52:51

etc
Developer
Registered: 2010-11-11
Posts: 5,126
Website GitHub

Re: framesets

Is the site online, to test?

Offline

#5 2018-03-09 08:55:12

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,134
Website

Re: framesets

Anything in .htaccess or js to prevent displaying pages in frames?


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

#6 2018-03-09 09:34:22

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,054
Website GitHub Mastodon Twitter

Re: framesets

There is nothing in the htaccess which should prevent any pages from loading.

The page is here

Note that one of the sites seems to be on a free server and only loads a few hours/day… I’ll have to see if I can copy that one somewhere locally.

>Edit… I’m at the exhibition space now and all works just fine using ie. It still does not work on ff though.

Last edited by colak (2018-03-09 09:37:31)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#7 2018-03-09 09:38:21

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,134
Website

Re: framesets

colak wrote #309831:

There is nothing in the htaccess which should prevent any pages from loading.

The page is here

With Safari, I see the following:

[Error] The source list for Content Security Policy directive 'frame-src' contains an invalid source: 'http:/dev.colkides.com'. It will be ignored.
[Error] Refused to load http://www.neme.org/crypto/menu.html because it does not appear in the frame-src directive of the Content Security Policy.
[Error] The source list for Content Security Policy directive 'frame-src' contains an invalid source: 'http:/dev.colkides.com'. It will be ignored.
[Error] Refused to load http://networkcultures.org/ because it does not appear in the frame-src directive of the Content Security Policy.

Firefox has similar messages


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

#8 2018-03-09 09:48:07

etc
Developer
Registered: 2010-11-11
Posts: 5,126
Website GitHub

Re: framesets

I get this in FF:

Load denied by X-Frame-Options: http://www.neme.org/crypto/menu.html does not permit framing.

and

X-Frame-Options: DENY, SAMEORIGIN

in the response header from www.neme.org/crypto/menu.html. So FF is right, and IE probably does not care.

Offline

#9 2018-03-09 09:50:45

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,054
Website GitHub Mastodon Twitter

Re: framesets

hmm why the dev site? That is where I am testing the latest beta. Could there be a server mis-configuration?


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#10 2018-03-09 09:54:19

etc
Developer
Registered: 2010-11-11
Posts: 5,126
Website GitHub

Re: framesets

It’s a .html file, I don’t think it’s generated by txp?

Offline

#11 2018-03-09 10:04:30

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,054
Website GitHub Mastodon Twitter

Re: framesets

No txp here…. It’s for exhibition purposes only


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#12 2018-03-09 10:22:30

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,054
Website GitHub Mastodon Twitter

Re: framesets

phiw13 wrote #309833:

With Safari, I see the following:

[Error] The source list for Content Security Policy directive 'frame-src' contains an invalid source: 'http:/dev.colkides.com'. It will be ignored....

Firefox has similar messages

Looking at the url in the error again through safari in my comp… Beyond the missing slash it is misspelled. This is some strange warning…


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

Board footer

Powered by FluxBB