Page 1 of 1

Very big challenge

Posted: Mon Dec 02, 2024 8:20 am
by aklisiewicz
I was about to upgrade to the latest WWB but tested v17 and got stuck. I need to embed some PHP apps into the pages. When I tried to use iFRAME I got stuck in the browser error. IT tested this in XAMPP, locally but I also tested on the hosting server with the same result.

"
Firefox Can’t Open This Page

To protect your security, 127.0.0.1 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.

Learn more… "

any ideas how to deal with this ???

Re: Very big challenge

Posted: Mon Dec 02, 2024 10:03 am
by Pablo
This is not related to the software. it means that your browser blocks the content for security reasons.
https content cannot be previewed locally.

Re: Very big challenge

Posted: Mon Dec 02, 2024 3:01 pm
by aklisiewicz
I know it is not related to WWB, but I am looking for a solution. At this point it is a major problem. Trying to find out how other developers deal with that. WWB has an iFRAME object and browser does not allow to use it like expected anymore. The whole idea of blocking it sucks.

Re: Very big challenge

Posted: Mon Dec 02, 2024 3:21 pm
by Pablo
An inline frame is a standard HTML feature, it is not specific to WWB.

Note that it may be the website that does not allow it. Because if I try it with the WWB website then it also works locally.

Re: Very big challenge

Posted: Mon Dec 02, 2024 4:34 pm
by alan_sh
It's normally the web site that forbids it, not the browser. I use inline frames in my sites and look at it with Firefox and it works fine.

Alan

Re: Very big challenge

Posted: Mon Dec 02, 2024 5:22 pm
by MGD4me
To protect your security, 127.0.0.1 will not allow Firefox to display the page if another site has embedded it.
It is possible that you have your browser's security level locked down so tight, that it refuses to display the contents of the iFrame, which is probably linked to an external URL.

Re: Very big challenge

Posted: Mon Dec 02, 2024 5:31 pm
by wwonderfull
Below information is from Mozilla.
Website will not allow Firefox to display the page if another site has embedded it

If you encounter this error, it is likely because a website is attempting to display another website without the owner's consent. This issue typically arises from a security misconfiguration.

Websites can utilize x-frame options or a content security policy to control whether other websites can embed them. These are essential security tools designed to prevent clickjacking, a type of attack where malicious sites trick users into clicking on something different from what they perceive.

To visit a site that displays this error message, you can right-click the link and select Open Link in New Tab or Open Link in New Window. Alternatively, you can copy and paste the link into an already open new tab or window. However, be aware that the embedding page may not function correctly without access to the blocked content. In such cases, you may need to contact the owner of the problematic site for further assistance.
See more information here
https://support.mozilla.org/en-US/questions/1348764

Re: Very big challenge

Posted: Mon Dec 02, 2024 8:17 pm
by aklisiewicz
Thank you all for responding.


I have seen some explanations on line regarding the topic, but this was not helpful at all. I do not blame WWB for anything. I am just simply looking for solution because I need to embed my big PHP project into a site which I want to build with WWB.

Last weekend I tested this on my XAMPP local server. Everything was local (no internet needed) and got this Error from the browser. I tried multiple browsers with the same result.

I then tested my production server and Joomla website, and tired to embed the same PHP page, and got into the same issue. Never had that problem before and even 2 weeks ago I was testing a XAMPP on my partner PC and it all worked fine. We also tested embeding the same PHP app into Wordpress page. Worked fine. Week later it is not working. I know in the meantime there were few Firefox updates, but my Chrome, Brave, Opera were not updated, so I can't figure out why am I having this issue.

Both the website and the embeded PHP page are mine. whether they reside on the same server (ie. XAMPP) or different servers end up with the same error.
The test I performed with WBB was on my local PC. So simply the PHP/MySQL app was on XAMPP and WWB was on the same PC. I simply created a single page and used an "in line" plugin/object with the URL to the XAMPP page.

It is a big issue for me because that was my main purpose to purchase the license for WWB to integrate my project with visually apealing pages. Now I am kinda stuck , unless I find some solution...

Re: Very big challenge

Posted: Tue Dec 03, 2024 5:51 am
by wwonderfull
As mentioned by Mozilla it is a security misconfiguration. Unless you configure it correctly it may not work. So, follow the steps they have mentioned carefully.

WWB will not be responsible for misconfiguration done outside of the software logically said. You have to configure it correctly as we do not have access to your security settings we can only suggest.

Re: Very big challenge

Posted: Wed Dec 04, 2024 12:15 am
by aklisiewicz
Well, I do not know how many times I have to say tha: I UNDERSTAND IT IS NOT WWB ISSUE !

This is a general question. Because I plan to embed some PHP pages into the WWB page, that is why I am posting it here.

If this is a browser missconfiguration it would fail on one browser, but would not in another. All brosers respond the same way. I also tried to have a Joomla page with the embed link and got the same result. One must nore that embeding HTML page and PHP, ASP, JS page is not the same.

Could somebody confirm, they have embeded PHP page withing WWB page and it is working ?
THANKS

Re: Very big challenge

Posted: Wed Dec 04, 2024 2:43 am
by BaconFries
This is a general question. Because I plan to embed some PHP pages into the WWB page, that is why I am posting it here.
Please note the the program is not a HTML Editor it is HTML Generator what this means is the html does not exist till you publish it. You can of course use php in the software for example forms use php. As for your issue it is a browser related it is well documented. The browser reads the page html sees that there is a iframe and it is calling a external page site and throws the error you are getting. I am going to ask this have you tried this on another PC/Laptop such as your mentioned partners?.
If this is a browser missconfiguration it would fail on one browser, but would not in another
From Moz://a support themselves
Website will not allow Firefox to display the page if another site has embedded it

In Firefox try to turn on HTTPS-Only Mode in ≡ -> Settings -> Privacy & Security, it should fix this issue.