Hello.
I’m using “zii.widgets.jui” classes, and I have a problem when the application loads.
File "jquery.min.js" into "jui" assets folder loads several times, then my web loads very slow. It takes about 6 minutes to load. This happens in remote host, not in localhost.
I tried this solutions:
Sol 1
Sol 2
Sol 3
And others but the problem still persists.
For example, if I write this in "main.php":
'components'=>....
...
...
'clientScript'=>array(
'scriptMap'=>array(
(YII_DEBUG ? 'jquery.js' : 'jquery.min.js') => false,
),
),
...
...
The page loads very fast, but the CJuiDialogs(for example) doesn’t loads/shows.
I get this error in Firebug:
ReferenceError: jQuery is not defined
Anyone can help me?
Regards.