I want to create Password Strength Meter.I am following the estrongpassword For YII I used Estrongpassword extension. I put this extension in extension folder and wrote the code as below:
<div class="row">
<?php echo $form->labelEx($model,'password'); ?>
<?php
$this->widget('ext.EStrongPassword.EStrongPassword',
array('form'=>$form, 'model'=>$model, 'attribute'=>'password'));
?>
<?php echo $form->error($model,'password'); ?>
when i checked my file its thorughs me ERROR as written below:
Alias "ext.EStrongPassword.EStrongPassword" is invalid. Make sure it points to an existing PHP file and the file is readable.
I wondering how to configure it,please help me. Thanks in advance.
The code is correct and shouldn't cause any problems. Here are a few things you can try:
protected/extensions
and make sure that the directory EStrongPassword
(case sensitive) existsext
in your script refers to protected/extensions
path)The file should be at:
protected/extensions/EStrongPassword/EStrongPassword.php
Hope this helps!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With