Page 1 of 1

Website errors when viewing local build in v21

Posted: Tue Apr 02, 2019 11:55 pm
by cfurlin
In v21, I see strange behavior in my output (mobile buttons, etc.) and inspecting the page in my browser shows the follwing errors:

Code: Select all

[Error] Not allowed to load local resource: file:///Users/cfurlin/Build/out/webcontent/oxygen-webhelp/lib/bootstrap/css/bootstrap-theme.min.css (index.html, line 31)
[Error] Not allowed to load local resource: file://www.google-analytics.com/analytics.js
(anonymous function) (index.html:49)
Global Code (index.html:50)
[Error] Not allowed to load local resource: file:///Users/cfurlin/Build/out/webcontent/oxygen-webhelp/lib/bootstrap/js/bootstrap.min.js
[Error] Not allowed to load local resource: file:///Users/cfurlin/Build/out/webcontent/oxygen-webhelp/lib/bootstrap/css/bootstrap.min.css.map
[Error] Not allowed to request resource
[Error] Cannot load file:///Users/cfurlin/Build/out/webcontent/oxygen-webhelp/lib/bootstrap/css/bootstrap.min.css.map due to access control checks.
[Error] Not allowed to load local resource: file:///Users/cfurlin/Build/out/webcontent/oxygen-webhelp/lib/bootstrap/js/bootstrap.bundle.min.js.map
[Error] Not allowed to request resource
[Error] Cannot load file:///Users/cfurlin/Build/out/webcontent/oxygen-webhelp/lib/bootstrap/js/bootstrap.bundle.min.js.map due to access control checks.
None of these errors occur when I build and view locally (from the same directory) in v20.

Anyone know what might be causing this?

EDIT: From what I can tell, it must be a difference between using DITA-OT2.x and DITA-OT3.x but for the life of me I don't know what I need to change to fix the issue.

Re: Website errors when viewing local build in v21

Posted: Thu Apr 04, 2019 3:24 pm
by cosmin_andrei
Hello,

Thank you for contacting us!

To further investigate this issue, could you please try in a clean installation of Oxygen XML with the built-in DITA-OT on our sample project flowers.ditamap to check if you reproduce the problem.

Also, please try this procedure on your project and check if the problem persist.

Re: Website errors when viewing local build in v21

Posted: Fri Apr 12, 2019 4:53 pm
by cfurlin
Sorry for the late reply.

I did solve the issue. I'm using a custom template I created and hadn't refactored it for v21. Once I did that, everything built just fine.