I already posted this in the german sub-forum a week ago but until now there is no answer. I will try to translate my original post as good as possible;)
[i]
[/i]
[font="arial, verdana, tahoma, sans-serif"][size="2"]I found out that for special logged in users registerCoreScript/registerClientScript does not work. When the user is logged out, everything works fine, also for the majority of the users logged in (Until know this is only a dev-project with 10 "self-made" users). But when I login as a special user (i will call him "A") it does not work. [/size][/font][font="arial, verdana, tahoma, sans-serif"][size="2"]layout/main.php
<?php Yii::app()->clientScript->registerCoreScript('jquery'); ?>
view:
<?php Yii::app()->clientScript->registerScriptFile(Yii::app()->request->baseUrl.'/js/main.js'); ?>
So i deleted A in the DB, but then the problem appears with user B logged in. Before I deleted A, everything was fine with B…[/size][/font][font="arial, verdana, tahoma, sans-serif"][size="2"]When i dump Yii::app()->clientScript after the registration of the coreScript, the variables show me that it was registered successfully, but it does not appear in the HTML code.[/size][/font]
[size="2"]Can someone explain me this behavior?[/size]