Closed GoogleCodeExporter closed 8 years ago
Insert 'tablePrefix' => 'tbl_' to db configuration (protected/config/main.php)
'db'=>array(
...
'tablePrefix' => 'tbl_',
),
Original comment by mish...@gmail.com
on 25 Feb 2010 at 9:06
Now also its not working.. Please help me..
I made changes in (protected/config/main.php) as
replaced UserIdentity.php and
// application components
'components'=>array(
'User'=>array(
'class' => 'User',
'hash' => 'md5', #
encrypting method (php hash function)
'sendActivationMail' => true, # send
activation email
'loginNotActiv' => false, # allow
access for non-activated users
'autoLogin' => true, #
automatically login from registration
'registrationUrl' => array('user/registration'), #
registration path
'recoveryUrl' => array('user/recovery'), #
recovery password path
'loginUrl' => array('user/login'), # login
form path
'returnUrl' => array('user/profile'), # page
after login
'returnLogoutUrl' => array('user/login'), # page
after logout
),
/*'db'=>array(
'connectionString' => 'sqlite:protected/data/testdrive.db',
),
// uncomment the following to use a MySQL database
*/
'db'=>array(
'connectionString' => 'mysql:host=localhost;dbname=pmanager',
'emulatePrepare' => true,
'username' => 'root',
'password' => '',
'charset' => 'utf8',
'tablePrefix' => 'tbl_',
),
Controller, Model and View files were created by using Command prompt for User,
Profile and ProfileField ..
After that replaced the files with corresponding given
files(http://code.google.com/p/yii-user/downloads/list) --(featured version)
But still getting error.... I am attaching the entire files one second.. Please
help
me to fix the error... I am trying to study Yii Framework... Its looks very
nice @ my
first site... But I need to implement some extensions for my future
applications.
Regards,
Rejeesh
Original comment by rejeesh....@gmail.com
on 25 Feb 2010 at 10:23
Attachments:
You do not replace the files!
To install just create a new project and then copy the files from the archive,
replacing UserIdentity.php (used
command prompt does not require)
Original comment by mish...@gmail.com
on 25 Feb 2010 at 1:29
Dear mishamx,
Thank you very much... I have fixed the error... anyway its a great work...
Regards,
Rejeesh
Original comment by rejeesh....@gmail.com
on 26 Feb 2010 at 3:32
Original issue reported on code.google.com by
rejeesh....@gmail.com
on 25 Feb 2010 at 6:19