Preview not working

Issues related to previewing and publishing your web site.
Post Reply
TonyC
 
 
Posts: 31
Joined: Sat Nov 04, 2017 11:11 am

Preview not working

Post by TonyC »

I have a number of websites built with WYSIWYG Webbuilder. the preview is working on all but one site.
On this site www.le-duc-gite.com the information box shows up for a couple of seconds then goes off and nothing more. Publishing works perfectly.

I have two laptops, so I tried to preview this site with my second laptop and the preview works. I thought maybe the file was corrupted in the first laptop so I copied the one from my second laptop and pasted it into my other laptop and found the site doesn't preview on this computer.

I downloaded and installed Webbuilder again... no difference.

I really don't know what to try next, any suggestions anybody??
User avatar
Pablo
 
Posts: 21578
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Preview not working

Post by Pablo »

Maybe you did not enable 'preview entire website'?

Related tutorial:
http://wysiwygwebbuilder.com/preview.html
TonyC
 
 
Posts: 31
Joined: Sat Nov 04, 2017 11:11 am

Re: Preview not working

Post by TonyC »

Tried that, still doesn't preview.
User avatar
Pablo
 
Posts: 21578
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Preview not working

Post by Pablo »

Maybe your firewall or virus scanner blocks the page?
Or maybe you have added scripts to the page that require the page to be online?

Note that my virus scanner also blocks the page, so you may have added something to trigger this.
TonyC
 
 
Posts: 31
Joined: Sat Nov 04, 2017 11:11 am

Re: Preview not working

Post by TonyC »

I haven't changed anything on the site since last year.

If it were the firewall I would have thought that the other sites wouldn't have previewed either

Thanks for the thoughts
TonyC
 
 
Posts: 31
Joined: Sat Nov 04, 2017 11:11 am

Re: Preview not working

Post by TonyC »

OK so I just copied the file on to a memory stick ran it on the other computer and it previews fine.

I assume it must be the computer, but I don't understand how it is only affecting one website!!
User avatar
Pablo
 
Posts: 21578
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Preview not working

Post by Pablo »

Did you add any custom/third party scripts to the page?
TonyC
 
 
Posts: 31
Joined: Sat Nov 04, 2017 11:11 am

Re: Preview not working

Post by TonyC »

No. Nothing new added since last year
User avatar
BaconFries
 
 
Posts: 5328
Joined: Thu Aug 16, 2007 7:32 pm

Re: Preview not working

Post by BaconFries »

As Pablos question... You have added custom scripts to the HTML they are the stats counter, Google Map and a cookie script. Please remove these and reinsert one by one this will try and eliminate if any are the cause to your issue. I would also check that all of these scripts are valid before using as the Google Map code has breaks in the code.
User avatar
Pablo
 
Posts: 21578
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Preview not working

Post by Pablo »

No. Nothing new added since last year
But maybe your firewall/virusscanner has been updated and now blocks the content?
User avatar
BaconFries
 
 
Posts: 5328
Joined: Thu Aug 16, 2007 7:32 pm

Re: Preview not working

Post by BaconFries »

Again viewing the source you have a index.js file on your server instead of a index.html or .php. This should not be there and indicates a configuration issue on the server. It could also be you have enabled 'generate external JS file in Tools->Options->HTML.
Either change the server configuration or disable 'generate external JS file' in Tools->Options->HTML and see if that helps.
TonyC
 
 
Posts: 31
Joined: Sat Nov 04, 2017 11:11 am

Re: Preview not working

Post by TonyC »

OK Thanks for all your suggestions, I will give them a try as this works on another laptop I think some can be discounted but I'll try anyway
Thanks again, will let you kkow how I get on
TonyC
 
 
Posts: 31
Joined: Sat Nov 04, 2017 11:11 am

Re: Preview not working

Post by TonyC »

Thanks for all your suggestions.
I have tried them all and nothing solves the problem.

enabled 'preview entire website'
The Firewall - WYSIWYG is allowed through, turned off to test
Virus scanner - allowed through, turned off to test
Removed the "index.js" file
Removed Google Map and a cookie script & Statcounter and Google verification and tested.

Thanks for any other suggestions

It doesn't seem logical to me that my other sites preview OK but this one doesn't and that le-duc-gite.com previews from a copy of the file on a memory stick in another computer.
User avatar
Pablo
 
Posts: 21578
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Preview not working

Post by Pablo »

My firewall blocks your website so I cannot see what you have done. But the fact that it is blocked makes me think that there is some code on the page that flagged it as suspicious.

Also note that if the page contains links to https scripts (like Google, Facebook) then it may take a while before the browser loads the page in local preview.
TonyC
 
 
Posts: 31
Joined: Sat Nov 04, 2017 11:11 am

Re: Preview not working

Post by TonyC »

I thought that the preview would open and just the scripts would take time to preview.

If I sent you a zipped folder of the site would you be able to have see more?

Thanks
User avatar
Pablo
 
Posts: 21578
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Preview not working

Post by Pablo »

If I sent you a zipped folder of the site would you be able to have see more?
I will need a copy of the project file.

Related FAQ:
viewtopic.php?f=10&t=82134
TonyC
 
 
Posts: 31
Joined: Sat Nov 04, 2017 11:11 am

Re: Preview not working

Post by TonyC »

Hi Pablo,
Don't know if I have done this right or not, can you try please

ftp://romneyma@romneymarshguesthouses.c ... _04_04.wbs

Thanks
User avatar
Pablo
 
Posts: 21578
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Preview not working

Post by Pablo »

I'm sorry, but I cannot access your website. It is blocked by my firewall with a malware warning.
Can you please upload the file to a different server?
TonyC
 
 
Posts: 31
Joined: Sat Nov 04, 2017 11:11 am

Re: Preview not working

Post by TonyC »

Hi Pablo,

Sorry for the delay, I don't seem to be able to get a link working from a new server.

Rgds
Tony
TonyC
 
 
Posts: 31
Joined: Sat Nov 04, 2017 11:11 am

Re: Preview not working

Post by TonyC »

Could you give this one a try please?

ftp://b7_23869555@ftp.byethost7.com/htd ... uc2_04.wbs

Thanks
User avatar
Pablo
 
Posts: 21578
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Preview not working

Post by Pablo »

The download asks for a password :(
bkjohns
 
 
Posts: 290
Joined: Wed Nov 14, 2018 5:54 pm

Re: Preview not working

Post by bkjohns »

Put your project file up on a free file sharing site like We Transfer or similar. Works great and you can take it down when you want to stop access to it.
As for Pablo's firewall blocking your site - dump the counter if it is a 'free' web hosted version - those are laced with links and junk.

Are your WWB versions all the same on the other computers? Are all extensions used on all computers? Can you preview any single page successfully or are all of them not working?
TonyC
 
 
Posts: 31
Joined: Sat Nov 04, 2017 11:11 am

Re: Preview not working

Post by TonyC »

Thanks for the suggestions I will give We Transfer a try

The site previews OK on another laptop, with the counter.
All extensions are used on both laptops
The preview doesn't work on all pages
Just checked the WWB versions,
I have version 14.3.2 (Feb 14 2019) on the computer that the preview works OK and I have version 14.3.4 (May 2 2019) on the computer that doesn't preview.
Could there be a problem with version 14.3.4 ??
User avatar
Pablo
 
Posts: 21578
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Preview not working

Post by Pablo »

Could there be a problem with version 14.3.4 ??
No, I think it is related to either your settings or browser.
TonyC
 
 
Posts: 31
Joined: Sat Nov 04, 2017 11:11 am

Re: Preview not working

Post by TonyC »

No, I think it is related to either your settings or browser.
I am using Chrome and have just reset the settings to original defaults.
Still not previewing
TonyC
 
 
Posts: 31
Joined: Sat Nov 04, 2017 11:11 am

Re: Preview not working

Post by TonyC »

This is a link to we transfer for the project file, can you please try that?

https://we.tl/b-5wSjh4V5DB

Thanks
User avatar
Pablo
 
Posts: 21578
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Preview not working

Post by Pablo »

I can preview the pages without any problems on my computer.

Note that I had to change the preview folder in Tools->Options->Files & Folder because it was configured to a OneDrive shortcut.
So maybe this shortcut also does not exist on your computer?

Also, there are several references to third party scripts (like Google Maps, Stat-counter) so these may be blocked by your firewall.
Anyway, I can ensure you that the problem in not in WWB.
TonyC
 
 
Posts: 31
Joined: Sat Nov 04, 2017 11:11 am

Re: Preview not working

Post by TonyC »

OK, Problem solved. I got there in the end with your help.

I changed the preview folder that goes to one drive shortcut to the Le Duc website and it previews perfectly.
Thank you all for your patience and help.

Regards
Tony
Post Reply