web opening in notepad

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
User avatar
davehappen
 
 
Posts: 238
Joined: Mon Apr 06, 2020 5:20 am

web opening in notepad

Post 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
User avatar
Pablo
 
Posts: 21712
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: web opening in notepad

Post 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
User avatar
davehappen
 
 
Posts: 238
Joined: Mon Apr 06, 2020 5:20 am

Re: web opening in notepad

Post 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
User avatar
Pablo
 
Posts: 21712
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: web opening in notepad

Post 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.
User avatar
davehappen
 
 
Posts: 238
Joined: Mon Apr 06, 2020 5:20 am

Re: web opening in notepad

Post by davehappen »

ok will check further
many thanks
User avatar
davehappen
 
 
Posts: 238
Joined: Mon Apr 06, 2020 5:20 am

Re: web opening in notepad

Post 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
User avatar
Pablo
 
Posts: 21712
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: web opening in notepad

Post 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
User avatar
davehappen
 
 
Posts: 238
Joined: Mon Apr 06, 2020 5:20 am

Re: web opening in notepad

Post by davehappen »

that was a screen shot from the published page.
this has all started since i updated to wwb 17
User avatar
Pablo
 
Posts: 21712
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: web opening in notepad

Post 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.
Post Reply