WebsiteBaker Support (2.8.x) > Templates, Menus & Design

lot's of console errors, how to fix them?

(1/2) > >>

Roych:
Hello


I'm getting a lot of console errors and I can't figure out how to fix them, I tried everithing but errors a re still there any help would be really appreciated. The site is actualy working OK.


site is: [size=78%]http://jazz-it.net/[/size]


Thank you


R

jacobi22:
Firebug means: you dont have a subfolder, called js - on the intro-page
the same on the subpages


--- Quote ---NetworkError: 404 Not Found - http://jazz-it.net/si/predstavitev/js/jquery.easing.1.3.js"
--- End quote ---

search for a file, called jquery.easing.1.3.js in folder http://jazz-it.net/si/predstavitev/js/

do you have a folder like this?

Ruud:
In the file http://jazz-it.net/templates/jazzintro/js/script.js all of these other scripts are loaded (or tried to load).
This is done using a relative path, soseen from the page where the browser is.
This does not work, and is not needed too because they are loaded in the html in the correct way.

So either fix all include() lines in the script.js and remove them from the template html, or remove them from script.js (might give some side effects!)

Roych:

--- Quote from: Ruud on January 26, 2016, 03:49:48 PM ---In the file http://jazz-it.net/templates/jazzintro/js/script.js all of these other scripts are loaded (or tried to load).
This is done using a relative path, soseen from the page where the browser is.
This does not work, and is not needed too because they are loaded in the html in the correct way.

So either fix all include() lines in the script.js and remove them from the template html, or remove them from script.js (might give some side effects!)

--- End quote ---


I tried to fix this but, when I delete it from the template some of the scripts stop working.


how to corectly fix include() lines, right now they all look like ...

--- Code: ---include('js/jquery.easing.1.3.js');
--- End code ---


If I delete the script.js then some scripts stop working.


Not really sure how to do that.


Thank you
R



Ruud:
Replace all lines like

--- Code: ---include('js/jquery.easing.1.3.js');
--- End code ---
into

--- Code: ---include('http://jazz-it.net/templates/jazzintro/js/jquery.easing.1.3.js');
--- End code ---
Only the includes that start with "js/" (I have seen at least one other)

Next, you should remove all scripts in the index.php that are now loaded this way.

Navigation

[0] Message Index

[#] Next page

Go to full version