JHtml: :jquery not supported. File not found.

Question: JHtml: :jquery not supported. File not found

 

Answer:

Hi,
update your version of Joomla

or alternatively, in
components/com_extrawatch/view/adminheader.php

change:

<?php
if (@get_class($extraWatch->env) == "ExtraWatchJoomlaEnv") { //only Joomla
if (@defined('JVERSION') && function_exists('version_compare') && version_compare(JVERSION, '3.0.0', '>')) {
JHtml::_('jquery.framework'); //this should make sure that jQuery is loaded first
} else if(!JFactory::getApplication()->get('jquery')) { // if JHtml::_('jquery.framework'); is not supported
JFactory::getApplication()->set('jquery',true);
$doc = JFactory::getDocument();
$doc->addScript('http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js');
}
}
?>

to

<?php
JFactory::getApplication()->set('jquery',true);
$doc = JFactory::getDocument();
$doc->addScript('http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js');
?>

ExtraWatch is proudly featured at:

This widget is powered by website.informer.com

X

Drop us your message