Install Joomla 3.7.2
No console errors
GET http://localhost/media/system/core.js
3.7.2
Path is incorrectly defined in libraries/cms/html/behavior.php on line 90:-
JHtml::_('script', 'system/core.js', array('version' => 'auto', 'relative' => true));
Should be system/js/core.js
Labels |
Added:
?
|
Category | ⇒ | JavaScript Libraries |
JHtml::_('script', 'system/core.js', array('version' => 'auto', 'relative' => true));
Result:
<script src="/media/system/js/core.js?b7d620c1ef135c749d6325a89e00d321"></script>
Also JHtml detect if file exists in the filesystem, if doesn't exist it will not create a HTML tag.
@grantg182 can you please check the filter exist in your system:
/media/system/js/core.js
Working fine in my testbed.
Status | New | ⇒ | Discussion |
@grantg182 - have you by any chance made any core changes to Joomla? Or using any plugins that may alter the core behaviour?
It has been several months since the last response and from the comments above it has not been replicated - this can always be re-opened if required
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-08-20 10:38:02 |
Closed_By | ⇒ | brianteeman |
Relative == true means no need to use the
/js/