I can no longer preview multiple pages.

Issues related to previewing and publishing your web site.
Post Reply
Mariasol
 
 
Posts: 40
Joined: Tue Feb 08, 2022 9:19 am

I can no longer preview multiple pages.

Post by Mariasol »

Hi,
I can no longer preview multiple pages.

in the project I open several linked pages but when I click on one of the links the page opens with an error "ERR_FILE_NOT_FOUND"

I checked the links: they are correct
in the preview button is checked "preview of currently open pages"
I didn't change anything in the options.
I also tried in other browsers
it also doesn't work by checking "preview whole site"

this should be a bug in wb17 because when i open another project in wb16 it works
Can you help me ?
THANKS
User avatar
BaconFries
 
 
Posts: 5936
Joined: Thu Aug 16, 2007 7:32 pm

Re: I can no longer preview multiple pages.

Post by BaconFries »

Perhaps the page you are trying to view is php. You cannot "Preview" pages set to .php locally they must be published to your server that should support php. ERR_FILE_NOT_FOUND indicates that the browser can't find or hasn't access to the file. Please ensure that all files are uploaded to the server and that the path to them exists and try again. Note if this was a "Bug" in WB17 it would have been fixed by now.
User avatar
Pablo
 
Posts: 23441
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: I can no longer preview multiple pages.

Post by Pablo »

Make sure you select 'preview entire website'. You cannot preview pages if they do not exist.
Mariasol
 
 
Posts: 40
Joined: Tue Feb 08, 2022 9:19 am

Re: I can no longer preview multiple pages.

Post by Mariasol »

thank you very much for answering me bacon frites.
actually there are only php pages that do not open, html without problem.
how to ensure that all files are uploaded to the server and that the path exists?
when I preview a page in php it displays well (html extension) the path is: file:///C:/Users/pierr/AppData/Local/Temp/preview/boutiques.html
but when I click on a link to another page in php the path is with an extension in php: file:///C:/Users/pierr/AppData/Local/Temp/preview/mode.php
I do not understand very well.
User avatar
BaconFries
 
 
Posts: 5936
Joined: Thu Aug 16, 2007 7:32 pm

Re: I can no longer preview multiple pages.

Post by BaconFries »

file:///C:/Users/pierr/AppData/Local/Temp/preview/mode.php
As previously mentioned if any the pages the extension to .php (your example mode.php,) then you cannot "Preview" locally you are re to "Publish" to your host,/server so to be able to view. Also this is not a "Bug" it is how it simply works.
Mariasol
 
 
Posts: 40
Joined: Tue Feb 08, 2022 9:19 am

Re: I can no longer preview multiple pages.

Post by Mariasol »

yes but until yesterday I did not have this problem when previewing the pages were automatically transformed into html in the preview.
now there is only the first page which is put in html not the others via a link.
I probably changed a parameter when closing the program yesterday
User avatar
KingSparta
 
 
Posts: 299
Joined: Tue Dec 08, 2020 6:00 pm
Location: Earth

Re: I can no longer preview multiple pages.

Post by KingSparta »

recently I had a problem Viewing preview pages, I turned off Micrsofts Virus program and the preview problem was fixed.
Retired military, Airborne, Air Assault, and Helicopter Flight Wings.
Enjoys model trains, the internet, and ham radio. Located in Fayetteville, NC, USA.
https://MyAAGrapevines.com
pmacdonald
 
 
Posts: 31
Joined: Wed Feb 23, 2022 7:03 pm

Re: I can no longer preview multiple pages.

Post by pmacdonald »

Is it possible you checked this feature in the Options setup?

Image

From the Help:
Remove PHP code during preview
Many of the advanced features of WYSIWYG Web Builder use PHP code. As you may know, browsers cannot interpret PHP code and usually will display errors or nothing at all! Previewing the layout of such a webpage on a server is not always convenient, so that's why we introduced this option. If this option is enabled then all PHP code will be removed during preview, so you can view the layout. Of course you will still be to publish the page to a PHP enabled web server to fully test the (dynamic) behavior of the page.

Note:
During preview the software will rename the page's file extension from .php to .html.
This means that if other pages link to this page then the browser will not find the page since it has a different extension.
Post Reply