Clientscript & Assetmanager

hello,

When this code runs:

Yii::app()->clientScript->registerCoreScript("jquery")

i see this message:

Failed to load resource: the server responded with a status of 404 (Not Found)

   localhost/project/assets/f1f65891/jquery.js

What’s the problem?

Why doesn’t Yii generate the requested javascript file into the assets folder?

(the assets folder exists, but it isn’t properly populated)

Make sure the assets folder is writeable. Set the permissions to 0777 to test it.

Thank you for the reply.

I’ve set the permissions to 0777. Nothing happened.

I also deleted all the files inside the "assets" folder.

Yii generates succefully them (for example the "f1f65891" folder), except the "assets/f1f65891/jquery.js".

Why is this happening?

Have you customised the clientScript component in any way in your application config?

I had an older version of Yii.

I replaced it with 1.1.13 and it worked.