Solved Templates

Using the Nuron Template and two files seem to be missing and giving an error on all pages

Asked by Neil 3 years ago Last activity 3 years ago

I have noticed that there are two Errors on the page when it loads. Is this fixable as I am almost ready to launch the web site?

Error] Failed to load resource: the server responded with a status of 404 (Not Found) (bootstrap.min.css.map, line 0).

[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (bootstrap.bundle.min.js.map, line 0)

I have put the URLs that it's looking for and not finding below in the hidden content.

Accepted answer

Marked as the solution
Paul Frankowski Senior Staff
3 years ago · edited

As I told you before - Have you edited bootstrap.min.css file? As I remember .map is "requested" only from it.

info_1629_2023.gif

it will help unless you don't have others bootstrap files loaded.

5 more replies

Neil Asked this

Actually on the home page it's missing 4 files - Isn't bootstrap included in the template upload?

[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (bootstrap.min.css.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (bootstrap.bundle.min.js.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (bootstrap.min.css.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (bootstrap.bundle.min.js.map, line 0)

Paul Frankowski Senior Staff
3 years ago · edited

Hi Neil,

Nothing to worry, it's crazy Bootstrap default code. Not needed files.

Edit this file: templates\nuron\js\bootstrap.bundle.min.js

and remove/delete comment line at the very bottom

//# sourceMappingURL=bootstrap.bundle.min.js.map

This same step inside CSS file:

templates/nuron/css/bootstrap.min.css file, remove comment line at the very bottom.

SAVE changes, clear Joomla cache and that's all in 90sec.


In general files from comments shouldn't be loaded even requested, but somehow ... you know ://

Neil Asked this

Thanks Paul

That certainly helped reduce the number of errors, but still have this one on every page.

[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (bootstrap.min.css.map, line 0)

Neil Asked this

All sorted - thanks Paul

Log in to reply.