Page 1 of 1
I can no longer preview multiple pages.
Posted: Sun Apr 30, 2023 6:11 pm
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
Re: I can no longer preview multiple pages.
Posted: Sun Apr 30, 2023 7:47 pm
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.
Re: I can no longer preview multiple pages.
Posted: Sun Apr 30, 2023 8:12 pm
by Pablo
Make sure you select 'preview entire website'. You cannot preview pages if they do not exist.
Re: I can no longer preview multiple pages.
Posted: Sun Apr 30, 2023 9:05 pm
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.
Re: I can no longer preview multiple pages.
Posted: Sun Apr 30, 2023 9:54 pm
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.
Re: I can no longer preview multiple pages.
Posted: Sun Apr 30, 2023 10:02 pm
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
Re: I can no longer preview multiple pages.
Posted: Mon May 01, 2023 1:33 am
by KingSparta
recently I had a problem Viewing preview pages, I turned off Micrsofts Virus program and the preview problem was fixed.
Re: I can no longer preview multiple pages.
Posted: Tue May 02, 2023 2:05 pm
by pmacdonald
Is it possible you checked this feature in the Options setup?
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.