Quantcast
Channel: Yii Framework Forum
Viewing all articles
Browse latest Browse all 18717

Trouble Using Cpasswordhelper

$
0
0
I've installed CPasswordHelper into YiiRoot/framework/utils in order to assist with password authentication.

Initially I got this error after coding the authentication function.

-------> include(CPasswordHelper.php): failed to open stream: No such file or directory

To fix this error I added the following code to the core classes array in YiiBase.php

'CPasswordHelper' => '/utils/CPasswordHelper.php',


After that, I received the following error.

-------> CSecurityManager and its behaviors do not have a method or closure named "generateRandomString".

Now I am stumped. Has anybody had this problem?

Viewing all articles
Browse latest Browse all 18717

Trending Articles