If you need to load the script, do it in your controller, before the page is rendered, because Yii needs to put that script in a certain position of your layout/view.
If you call it after the page starts processing, then it have no use.
Also, there is no need to call registerCoreScript();
I have tried the same code in the controller class, but nothing when this code line is executed the process stops. It can be some kind of abnormal termination in php.
It is very weird as you say as that should’t be a problem at all. I do render my main scripts (CORE) normally in my main layout. In fact, there I register any site-related files and I have no problems at all.
First of all, lets try this:
Do just register your core file (Yii:app()->clientScript->registerCoreScript(‘jquery’); ) and comment the rest of the registrations. We are going to go step by step in your code to find out what really happens and if it is really the registerCoreScript that fails.
Make sure, before testing, that your assets folder (www/assets) is writable.