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
same as this http://www.yiiframew...onend-behavior/
I don't understand where is the problem ..
SOLVED:
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
.......................
Page 1 of 1
Installing yii-user management module Alias "user.UserModule" is invalid fro new diirctory structure
Share this topic:
Page 1 of 1

Help











