Error With Cadvancedarbehavior

this is my code:

config/main.php




'import'=>array(

		'application.models.*',

		'application.components.*',

		'application.extensions.CAdvancedArBehavior',

	),



i add this behavior to each model


public function behaviors(){

          return array( 'CAdvancedArBehavior' => array(

            'class' => 'application.extensions.CAdvancedArBehavior'));

          }

but when i run my application:

CException


Alias "application.extensions.CAdvancedArBehavior" is invalid. Make sure it points to an existing PHP file and the file is readable.

i need help with this error… i have a MANY_MANY relations but doesn’t work.

Hi

Are you sure the extension is in corrected path ?

check also the capital-lower letters both file/folder and in your code.

thanks KonApaz i had not create a CAdvancedArBehavior.php in /extensions… that was the error.