Dnn.Platform icon indicating copy to clipboard operation
Dnn.Platform copied to clipboard

DNN 9.8.1 SQL and config manager consoles throw JS errors

Open nigelcartviper opened this issue 4 years ago • 5 comments

Upgraded a site to DNN 9.8.1 and the sql console and config manager wont allow data input into the UI, the attached JS errors are being logged.

The same behaviour is observed on a clean install of DNN 9.8.1 using the default Xcillion skin and with no modules etc added to a page.

Untitled

nigelcartviper avatar Jan 13 '21 14:01 nigelcartviper

Can you look at the URLs that are giving a 404 response, post the full URL here, and confirm that the files are in fact missing in the file system?

Thanks!

bdukes avatar Jan 13 '21 14:01 bdukes

Hi,

The 2 files do exist, its just the url's that are incorrect, its currently generating the below:

http://localhost/Resources/Shared/components/MonacoEditor/loader.js http://localhost/Resources/Shared/components/MonacoEditor/editor/editor.main.js

However the site is not running as the default site in IIS, so the correct url's need to include the site alias and then they will resolve:

http://localhost/sitename/Resources/Shared/components/MonacoEditor/loader.js http://localhost/sitename/Resources/Shared/components/MonacoEditor/editor/editor.main.js

nigelcartviper avatar Jan 13 '21 16:01 nigelcartviper

I'm not able to duplicate this on a clean install myself. Maybe it also needs to be tried in Private/Incognito mode (or a different browser)? 🤔

WillStrohl avatar Jan 13 '21 16:01 WillStrohl

Sub-folder installations of DNN platform itself is not something that traditionally has been truly supported. (Granted I know that some have done that)

mitchelsellers avatar Jan 13 '21 16:01 mitchelsellers

Please see https://github.com/dnnsoftware/Dnn.Platform/issues/4538 for more detail. I think it must just be how the module references the root directory.

TopCat6 avatar Mar 04 '21 01:03 TopCat6

Fixed via #5328

bdukes avatar Oct 19 '22 14:10 bdukes