I m trying to install yii user management module
and i got error
Alias "user.UserModule" is invalid. Make sure it points to an existing PHP file and the file is readable.
I have extracted files under protected/modules folder
also try with extracting files under protected/ folder
but in both case it display issue …
see my config/main.php setting
‘import’=>array(
'application.models.*',
'application.components.*',
#user module starts
'application.modules.user.models.*',
'application.modules.user.components.*',
#user module ends
),
‘modules’=>array(
'user'=>array(
'returnUrl'=>array('/site/index'),
'debug' => true,
),
),
‘components’=>array(
'user'=>array(
// enable cookie-based authentication
'allowAutoLogin'=>true,
'loginUrl'=>array('/user/login'),
),
‘db’=>array(
'connectionString' => 'mysql:host=localhost;dbname=dbname',
'emulatePrepare' => true,
'username' => 'root',
'password' => '',
'charset' => 'utf8',
'tablePrefix' => '',
),
I have different directory structure and used file to run applicaiton WebApplicationEndBehavior.php
I don’t understand where is the problem …
[size="6"]SOLVED[/size]:
when we extract we have folder directory structure like
user
avatar
role
profile
user
registration
…
we need to place all directory inside user to modules/
so in module will be like
protected/
modules/
avatar
role
profile
user
registration
.......................