I am getting the following error and have not found much information about it, how can it be solved?. I would appreciate any help, all the other jquery is working properly.
The stylesheet jquery-ui-1.8.custom.css
was not loaded because its MIme type, "text /html",is not "text/css"
I am not sure what I am doing wrong here is a piece of the code.
echo $this->Html->css('jquery-iu-1.8.16.custom');
echo $this->Html->css('jquery.rating');
echo $this->Html->css('dark.datetimepicker');
echo $this->Html->css('admintable');
echo $this->Html->css('pager');
echo $this->Html->css('specialtablemenu');
echo $this->Html->css('stylemaincontent');
echo $this->Html->css('stylessidemenu');
echo $this->Html->css('stylestopmenu');
echo $this->Html->script('jquery.js');
echo $this->Html->script('jquery.min.js');
echo $this->Html->script('jquery-ui-1.8.16.custom.min.js');
echo $this->Html->script('jquery.rating.js');
echo $this->Html->script('jquery.MetaData.js');
echo $this->Html->script('jquery.rating.pack.js');
echo $this->Html->script('jquery.validate.js');
echo $this->Html->script('javascript.js');
echo $this->Html->script('ui.datetimepicker.js');
echo $this->Html->script('paging.js');
echo $this->Html->script('adminpager.js');
echo $this->Html->script('recipetabs.js');
You can try this for css
and for javascript file
no extension needed to load css and js, and make sure that css’s are in css folder under webroot and js’s are in js folder under webroot.
Thank you.