Welcome to the nuBuilder Forums!

Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.

Form web address Topic is solved

Questions related to using nuBuilder Forte.
Duski
Posts: 95
Joined: Thu Mar 04, 2021 2:03 pm

Re: Form web address

Unread post by Duski »

Thank you, Kev.
Restarted browser, then PC, then tested once more on Chrome, Vivaldi - no success, on Firefox, Edge - success :-(
That means, that the problem sits not in my app but in browsers. But I really don't know how to make my catalogue work for everyone and without issues on various browsers :-(

But all this was done for using my catalogue via iFrame.
I added this code into my html page http://nechsapaci.info/katalogy/knihy.html - and it doesn't work again !!! :-(

Code: Select all

<iframe
    style="width:1600px;height:900px;border-style:none"
    src="http://katalog.jecool.net/index.php?u=hocikto&p=4321&f=61f99555e7196f6">
</iframe>
Can U help me, pls. ?
kev1n
nuBuilder Team
Posts: 4581
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 76 times
Been thanked: 536 times
Contact:

Re: Form web address

Unread post by kev1n »

Apart from a blank page, do you see an error in the developer console?
kev1n
nuBuilder Team
Posts: 4581
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 76 times
Been thanked: 536 times
Contact:

Re: Form web address

Unread post by kev1n »

Unpack the Zip File and copy the files into the /core directory by overwriting the existing ones.
core.zip
I tested it with this iframe.htm file in nubuilder's root directory:

Code: Select all

<html lang="en">
<head>
  <meta charset="utf-8">
</head>

<body>
	<script src="core/libs/jquery/jquery.js""></script>

	<iframe
		style="width:1600px;height:900px;border-style:none"
		src="index.php?u=globeadmin&p=nu">
	</iframe>

</body>
</html>
There could be a few other issues popping up. Let me know if it works for you.
You do not have the required permissions to view the files attached to this post.
Duski
Posts: 95
Joined: Thu Mar 04, 2021 2:03 pm

Re: Form web address

Unread post by Duski »

Thank you, Kev.
Yes, this works for me :-)
I created a html file in my nubuilder root with js script and iframe and everyting works fine !

Code: Select all

<html lang="en">
<head>
  <meta charset="utf-8">
</head>

<body>
	<script src="core/libs/jquery/jquery.js""></script>

	<iframe
		style="width:1600px;height:900px;border-style:none"
		src="index.php?u=hocikto&p=4321&f=61f99555e7196f6">
	</iframe>

</body>
</html>
Then I tried to adapt my webpage outside nubuilder http://nechsapaci.info/katalogy/knihy.html.
I copied jquery.js into the same folder and created code:

Code: Select all

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Knihy</title>
</head>
<body>
    <h1>This is my book catalogue</h1>
    <script src="jquery.js"></script>
<iframe
    style="width:1600px;height:900px;border-style:none"
    src="http://katalog.jecool.net/index.php?u=hocikto&p=4321&f=61f99555e7196f6">
</iframe>

</body>
</html>
But this doesn't work :-(
kev1n
nuBuilder Team
Posts: 4581
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 76 times
Been thanked: 536 times
Contact:

Re: Form web address

Unread post by kev1n »

Can jquery.js be found? Are there any errors in the console?
Duski
Posts: 95
Joined: Thu Mar 04, 2021 2:03 pm

Re: Form web address

Unread post by Duski »

index.php?u=hocikto&p=4321&f=61f99555e7196f6:90 Uncaught DOMException: Blocked a frame with origin "http://katalog.jecool.net" from accessing a cross-origin frame.
at http://katalog.jecool.net/index.php?u=h ... 96f6:90:18
nuform.js?ts=20220215091200:2646 Uncaught DOMException: Blocked a frame with origin "http://katalog.jecool.net" from accessing a cross-origin frame.
at nuMainForm (http://katalog.jecool.net/core/nuform.j ... 00:2646:32)
at http://katalog.jecool.net/index.php?u=h ... 96f6:197:7
index.php?u=hocikto&p=4321&f=61f99555e7196f6:53 Uncaught ReferenceError: nuLoginF is not defined
at nuLoginRequest (index.php?u=hocikto&p=4321&f=61f99555e7196f6:53:21)
at nuLoad (index.php?u=hocikto&p=4321&f=61f99555e7196f6:111:3)
at onload (index.php?u=hocikto&p=4321&f=61f99555e7196f6:219:59)
knihy.html:1 Unchecked runtime.lastError: The message port closed before a response was received.
knihy.html:1 Unchecked runtime.lastError: The message port closed before a response was received.
Duski
Posts: 95
Joined: Thu Mar 04, 2021 2:03 pm

Re: Form web address

Unread post by Duski »

Snímka obrazovky 2022-02-15 093456.png
You do not have the required permissions to view the files attached to this post.
kev1n
nuBuilder Team
Posts: 4581
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 76 times
Been thanked: 536 times
Contact:

Re: Form web address

Unread post by kev1n »

Please google DOMException message.
Duski
Posts: 95
Joined: Thu Mar 04, 2021 2:03 pm

Re: Form web address

Unread post by Duski »

Thank you Kev for your help and patience. I googled, but found solutions are beyond my abilities :-(
I'm sorry :-(
Thats the end.
kev1n
nuBuilder Team
Posts: 4581
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 76 times
Been thanked: 536 times
Contact:

Re: Form web address

Unread post by kev1n »

Did you see this?

https://stackoverflow.com/questions/250 ... igin-frame

Otherwise I recommend asking this question at https://stackoverflow.com. There are a lot of experts.
Post Reply