Do not see in modal window the errors - Solucionado

Hello everyone, I am migrating from yii 1.11 to 1.20 and I do not know what to configure so that the syntax errors appear on the screen, that is, there is a case that I am testing with a modal window that instead of going out where the error is Go to the index, I would like these cases to appear where the error is. Do you know if you have to configure something to show this screen with the error information?

El problema estaba en que en yii 1.1.11 el errorhanler lo trataba de otra forma, se ha solucionado cambiando éste código en config/main.php

	'errorHandler'=>array(
		// use 'site/error' action to display errors
		'errorAction'=> (YII_DEBUG) ? null : 'site/error',
	),

cuando estoy en desarrollo necesito que aparezca cualquier error en el código, y sino que vaya a site/error…