Flip Clock not working in 4.1.2

CMS Version

4.1.2 in Custom install. Windows IIS, PHP 8.2.10, MySQL 8.3.

Player Type

Issue visible in layout designer, not got as far as player deployments.

Player Version

n/a

Issue

Flip Clock not displaying in layout designer. No errors in PHP error log. Nothing that stands out in the Xibo logs (even with maximum logging enabled).

Loading the designer page in Edge with Developer Mode on, i can see the following errors:

  • GET http ://localhost/module/asset/flipclock.css?preview=1 net::ERR_ABORTED 404 (Not Found)
  • GET http ://localhost/module/asset/flipclock.js?preview=1 net::ERR_ABORTED 404 (Not Found)
  • jQuery.Deferred exception: $(…).FlipClock is not a function TypeError: $(…).FlipClock is not a function at onRender_3
  • Uncaught TypeError: $(…).FlipClock is not a function

I’ve replicated the issue on 3 different installations:

  1. An upgraded from 3.7 to 4.1.2.
  2. A clean install into a new DB and Virtual Site on the same server.
  3. A completely clean, fresh install into IIS on different computer (Windows 10).

The last install, i documented my entire installation process here: Installing Xibo 4.2 on IIS (work in progress) | NetMuppet

Can anyone with a “supported” installation confirm that the flip clock does actually work in a cleanish 4.1.2 install?

How can i further my troubleshooting?

Many thanks

Sorry for the late reply - yes I can confirm that flipclock works in a supported docker installation (fresh and upgrades).

As for what could be wrong, if you’re getting a 404 not found on that URL, I wonder if there are is perhaps a SendFile directive isn’t working. That URL resolves to here in the code which is usually a SendFile directive if you have that configured?

Thanks for the reply Dan. To be honest, as much as i like to try and sleuth my way through these things, i don’t understand this and searching for sendfile directives doesn’t get me any closer. There’s nothing about sendfile in my php configs, nor anything that i can find in IIS.

I did find what appears to be a plugin providing sendfile support for iis 7 ( GitHub - stakach/IIS-X-Sendfile-plugin: Provides X-Sendfile functionality for IIS7.x) but i have no idea if this is relevant to this.

Point being, i don’t really have anything configured beyond Windows, IIS, PHP, MySQL, ZeroMQ and PHP Manager, so unless i’m missing a step, i don’t think i’ve added some unknown extra ingredient to break things.

Just to note that although i initially encountered this on my production Windows server (sharing a few other services), i have exactly the same issue on a completely clean Windows 11 built.

Anyhoo, as always, very much appreciate the product and the assistance where it can be offered.

Matt