Publishing Error..

Issues related to previewing and publishing your web site.
Post Reply
User avatar
Pablo
 
Posts: 23682
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Publishing Error..

Post by Pablo »

Is it possible that the file is too big?
For large videos it is always better to uploads them separate and then use an absolute link to the file.

The page contains invalid code, this make the entire page invalid and this may affect the behavior of scripts and other parts of the page.
Please remove all custom code.
Bernhard
 
 
Posts: 10
Joined: Mon Sep 19, 2016 12:36 am

Re: Publishing Error..

Post by Bernhard »

Hi

What invalid code are you referring to ? - I have not put any special source code here and the web is almost created by your product up to 99,9 %. The only "add ons" is the hit counter yes- also for google analytics - added years ago. Perhabs something has entered in the page recently without my knowledge. Could provide some example so I can trace it.

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

Re: Publishing Error..

Post by Pablo »

You have inserted code inside the body tag:

Code: Select all

//echo file_get_contents('http://www.stofukerfi.is/counter.txt');
Bernhard
 
 
Posts: 10
Joined: Mon Sep 19, 2016 12:36 am

Re: Publishing Error..

Post by Bernhard »

Hi

This code has been there for years - without any problems - but I will test this by removing soon.
Another question: Its about correct script files and their location.
The new version WB upload following files to server:

Into the root (where index file and so is located)
there is one script file. " jqurey -3,4,1 min"

Into the Fancybox folder: "jquery,easing-1,3 pack"
"jquery.fancybox-1,3,4"
"jquery.fancybox-1,3,4 pack"
"jquery.mousewheel-3,0,4 pack"

Kindly could you confirm the correct files and their locations

Regards
Bernhard
User avatar
Pablo
 
Posts: 23682
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Publishing Error..

Post by Pablo »

This code has been there for years - without any problems - but I will test this by removing soon.
I'm sorry, but the code is not correct. You are lucky that the page works at all.

The exact location of the files depends on your settings.
But the files will be placed in the correct folders automatically.
Bernhard
 
 
Posts: 10
Joined: Mon Sep 19, 2016 12:36 am

Re: Publishing Error..

Post by Bernhard »

Hi

" I'm sorry, but the code is not correct. You are lucky that the page works at all...…."

I am also sorry but I removed the wrong code and nothing changed - Fancybox not working in Chrome or Safari (as it did before upgrade).
By the way - I did not manipulate the settings for the script files - same settings as before upgrade.

Anything else I should loo for ?

Regards

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

Re: Publishing Error..

Post by Pablo »

I think the selected jQuery version is not correct.
Fancybox does not support jQuery 3, so you will have to select an older version like 1.7.2
Bernhard
 
 
Posts: 10
Joined: Mon Sep 19, 2016 12:36 am

Re: Publishing Error..

Post by Bernhard »

Hi

Yes that was the case - things work fine know.
How WB selected the wrong script file - I do not know.
Case closed

Thanks

Bernhard
Post Reply