Home Page Broken

So my home page does not work anymore and I am not sure why. There is supposed to be a slider but it just displays the pics one on top of another, it has repeated the same information twice; so it has contacts us info and then some links to other pages on the site then the same contact us info. This is the code I was able to find for the base template on the site which I believe is the template the home page is using. There is another template that we use for other children. I am not a website designer or anything so please any help is really appreciated.

<html>
<head>
<title>[[++site_name]] - [[*pagetitle]]</title>
<base href="[[++site_url]]" />
</head>
<body>
<h2>Chunk Selector</h2>
<hr>
Output Filter: [[*chunkSelector:notempty=`Hello[[$[[*chunkSelector]]]]`]]
<hr>
Raw: [[$[[*chunkSelector]]]]
<hr>
[[*content]]
</body>
</html>

This sounds more like a problem with Javascript or CSS. Maybe the referenced Javascript file can’t be loaded.


In the browser there is functionality called “Developer Tools”. It can usually be opened with F12 or Ctrl + Shift + I (depends on the browser and the operation system).

Can you open these “Developer Tools” and see if there are any errors in the tab named “Console”?

So when I clicked on console there is nothing there.

There was a message there in like a notification box

  1. Audit usage of navigator.userAgent, navigator.appVersion, and navigator.platform

  2. A page or script is accessing at least one of navigator.userAgent, navigator.appVersion, and navigator.platform. Starting in Chrome 101, the amount of information available in the User Agent string will be reduced.

To fix this issue, replace the usage of navigator.userAgent, navigator.appVersion, and navigator.platform with feature detection, progressive enhancement, or migrate to navigator.userAgentData.

Note that for performance reasons, only the first access to one of the properties is shown.

You may have done this already but, for clarity, it’s worth pointing out that you’ll need to reload the page with Developer Tools open to see any errors that are occuring when the page loads.

Can you share a link with us?

I hope this is the right link:

https://armymuseumhalifax.ca/manager/?a=system/file/edit&file=js%2Funslider.js&wctx=mgr&source=4

When I go to your homepage, I can see that the jQuery library can’t be loaded.

Error message (in the “Console” tab of the “Developer tools”):

Blocked loading mixed active content "http://code.jquery.com/jquery-latest.min.js"

The problem is, that your homepage uses https and this link uses http.


So, try to change this code on your site to use https instead:

<script src="http://code.jquery.com/jquery-latest.min.js"></script>

Thank you for your help

@halftrainedharry is correct the jQuery is not being loaded. You could change the call to

<script src="https://code.jquery.com/jquery-latest.min.js"></script>

OR

<script src="//code.jquery.com/jquery-latest.min.js"></script>

The second way will let the browser determine http or https based on which is most appropriate.

Roy