dmxAppConnect.js does not load on some ejs pages

Strange problem on 3.0.0 osx Catalina 10.15.5 using NodeJS

dmxAppConnect.js does not load
Had this working, but renamed and moved the app folder and got some issues after that.

Using layout.ejs and content pages. Most of them work fine. But some are unable to load dmxAppConnect.js.

One page that works fine (ccu.ejs) and one that does not (lease.ejs)


      "path": "/ccu",
      "page": "ccu",
      "layout": "main",
      "name": "Ccu",
      "routeType": "content"
    "path": "/lease",
    "page": "lease",
    "layout": "main",
    "name": "Leases",
    "routeType": "content"


<!-- Wappler include head-page="layouts/main" jquery_slim_34="local" bootstrap4="local" is="dmx-app" id="lease" appConnect="local" fontawesome_5="local" components="{dmxFormatter:{},dmxStateManagement:{},dmxBootstrap4TableGenerator:{},dmxBootstrap4PagingGenerator:{},dmxBootstrap4Collapse:{},dmxBrowser:{}}" -->


<!-- Wappler include head-page="layouts/main" jquery_slim_34="local" bootstrap4="local" is="dmx-app" id="rig" appConnect="local" fontawesome_5="local" components="{dmxStateManagement:{},dmxBootstrap4TableGenerator:{},dmxBootstrap4PagingGenerator:{},dmxFormatter:{},dmxBootstrap4Collapse:{},dmxBrowser:{}}" -->

Inspected both pages and script src is identical

script src=“dmxAppConnect/dmxAppConnect.js”/script
base href="/"

ccu.ejs loads Request URL:

And lease.ejs tries to load Request URL:

Any other files where the error can stem from ?

You should switch your project to site root relative paths.

Then open and save your main layout page, so that the paths are corrected.


Tried that earlier, but did not switch back and save the main layout as it did not show any changes.
After switching back and saving it works :+1:

1 Like