Page 1 of 1

web opening in notepad

Posted: Tue Sep 28, 2021 3:54 am
by davehappen
Hi all, a site i have has been working no problem, I came to look at it today and it wont open, when i republish it and check preview it opens in notepad????
Any ideas as to whats happening, its a one pager file format .php

Re: web opening in notepad

Posted: Tue Sep 28, 2021 6:00 am
by Pablo
It sounds like you have associated HTML to open with notepad.
This is a system configuration issue.

See also:
https://wysiwygwebbuilder.com/preview.html

Re: web opening in notepad

Posted: Tue Sep 28, 2021 7:04 am
by davehappen
Hi Pablo, just checked https://1drv.ms/u/s!Ar_qzWsihagxh4I_vXU ... A?e=WZi1mR
it looks like all is correct
just opened another site after updating to wwb17

Re: web opening in notepad

Posted: Tue Sep 28, 2021 7:34 am
by Pablo
If the HTML page opens in notepad then this means that the file type is not correctly setup in your system.
This is unrelated to WWB17.

Re: web opening in notepad

Posted: Tue Sep 28, 2021 7:36 am
by davehappen
ok will check further
many thanks

Re: web opening in notepad

Posted: Tue Sep 28, 2021 8:28 am
by davehappen
Hi Pablo, ive got the sit loading but am getting this https://1drv.ms/u/s!Ar_qzWsihagxh4JX2i_ ... w?e=zvyNFx
The form is in a layergrid and the page is php

Re: web opening in notepad

Posted: Tue Sep 28, 2021 9:02 am
by Pablo
This is the PHP code of the form. You cannot preview PHP, you will need to publish the page.

Related FAQ:
viewtopic.php?f=10&t=32967

Re: web opening in notepad

Posted: Tue Sep 28, 2021 9:05 am
by davehappen
that was a screen shot from the published page.
this has all started since i updated to wwb 17

Re: web opening in notepad

Posted: Tue Sep 28, 2021 9:09 am
by Pablo
This has nothing to do with WB17.
This is PHP code and it should be processed by the server.
Make sure the page extension is PHP and that the server supports PHP.

If you need further assistance then please include the URL of the page.