Page 1 of 1

I need help - I am very confused

Posted: Thu Jun 29, 2023 12:48 pm
by alan_sh
Please bear with me on this.

Some background. I publish sites by, from WWB, publishing first to a local folder. This is actually my Synology web server and can run web sites. So, I can test things out. When I am happy, I use FileZilla to publish to my host (LCN.com in this case). Up till now, everything has gone swimmingly. Iam using WWB 18.2.2

Today, I am adding a new page to my site with an inline frame containing a link to a pdf document on my server. When I preview it, it works fine. When I publish to my local server, it works fine. However, when I copy the files to lcn and view the page, it says the pdf file I want to view isn't there. I've published the entire site and it stll doesn't work.

I have looked at the html source and I can find nothing different.

Here's a simple one pager which illustrates what I am trying to do. https://www.dropbox.com/s/ngppazngczejy ... e.zip?dl=1
It doesn't work for me but can someone try this out and see if it works for them?

To add to the confusion, I've done something very similar in another site and that works fine. (https://www.gmnscouts.org.uk/jamboree.html)

Help???

Alan

Re: I need help - I am very confused

Posted: Thu Jun 29, 2023 12:52 pm
by Pablo
I doubt that this has anything to do with WWB.

Maybe it's a security related issue?
Not all domains allow to view content inside an inline frame.

Did you check the error console of the browser (F12)?

Re: I need help - I am very confused

Posted: Thu Jun 29, 2023 1:02 pm
by alan_sh
Pablo,

There's nothing in <F12> that stands out.

And why does it work with another site - on the same lcn server?

I agree, it's probably nothing to to with WWB, but I just don't know where to start looking.

Alan

Re: I need help - I am very confused

Posted: Thu Jun 29, 2023 1:17 pm
by alan_sh
Can someone else (apart from me) see if https://www.ashworthvalley.org.uk/test/ works for them?

Alan

Re: I need help - I am very confused

Posted: Thu Jun 29, 2023 1:38 pm
by alan_sh
Getting somewhere.

The <F12> console gives me this error:

Code: Select all

GET
https://www.ashworthvalley.org.uk/ashworthvalley.org.uk/Risk_Assessment_Cave_Bus.pdf#view=fitH
[HTTP/1.1 404 Not Found 57ms]
Note the double url at the front. Anybody have any idea why it does this? Is this a server issue?

Alan

Re: I need help - I am very confused

Posted: Thu Jun 29, 2023 1:40 pm
by bkjohns
I looked at the test site but it looks like some kind of menu stuck to the left of the window. It also has two sets of scroll bars like it is perhaps in nested iframes, if that is even possible. Didn't see anything about a .pdf. What is it supposed to look like?

Re: I need help - I am very confused

Posted: Thu Jun 29, 2023 1:41 pm
by BaconFries
Just as you mentioned I was just about to write about the double url attached to the pdf link could be your issue as this doesnt happen to the url in your first post.with the same.

Re: I need help - I am very confused

Posted: Thu Jun 29, 2023 1:50 pm
by BaconFries
Alan on viewing the source again if you look at the url in the page it is as follows you will notice one of the forward / is missing this could be your issue.

Code: Select all

https:/ashworthvalley.org.uk/Risk_Assessment_Cave_Bus.pdf#view=fitH

Re: I need help - I am very confused

Posted: Thu Jun 29, 2023 1:56 pm
by alan_sh
BF - you are a marvel. I looked and looked and I didn't spot that.

Thank you

Alan

Re: I need help - I am very confused

Posted: Thu Jun 29, 2023 1:59 pm
by BaconFries
Your welcome Alan glad to have helped.