YII User db connection problem

I want to user Yii User. I had no issues with my app prior to this.

I created a modules directory under protected.

I have copied all the files to: modules/user

I have copied the following code in config/main

#…

    // autoloading model and component classes


    'import'=>array(


            'application.models.*',


            'application.components.*',


            'application.modules.user.models.*',


            'application.modules.user.components.*',


    ),

#…

    'modules'=>array(


            'user',


    ),

#…

    // application components


    'components'=>array(

#…

            'user'=>array(


                    // enable cookie-based authentication


                    'allowAutoLogin'=>true,


                    'loginUrl' => array('/user/login'),


            ),

#…

    ),

#…

When i go to my app, i get the following error message: DbConnection.connectionString cannot be empty.

If i remove the pasted code above in config/main, the error goes away. Any advice? Any known issues?

And where is your db component configuration? See example in demo applications.

SOLVED -

Have to specify the table names in config main

'modules'=>array(


	// user management module


	'user'=> array (


		'tableUsers'=>'tbl_users',


		'tableProfiles'=>'tbl_profiles',


		'tableProfileFields'=>'tbl_profiles_fields',


		),