Resource icon

Password Tools 2.3.5

No permission to download
It's not important and not included in the addon. The file comes with the original distribution, but I have excluded it on purpose. You could try to open up the zxcvbn.js with an editor of your choice and delete the last line (it's commented out anyways by default, so just delete the comment) and try if the error pops up again.
 
I'm constantly getting this error with PHP 7.1.0:
Error: [] operator not supported for strings - library/KL/PasswordTools/Zxcvbn/Matchers/L33tMatch.php:54
Generated By: Unknown Account, Yesterday at 11:26 PM
Stack trace:
#0 /library/KL/PasswordTools/Zxcvbn/Matcher.php(31): KL_PasswordTools_Zxcvbn_Matchers_L33tMatch::match('**********', Array)
#1 /library/KL/PasswordTools/Zxcvbn.php(58): KL_PasswordTools_Zxcvbn_Matcher->getMatches('**********', Array)
#2 /library/KL/PasswordTools/DataWriter/User.php(33): KL_PasswordTools_Zxcvbn->passwordStrength('**********', Array)
#3 /library/XenForo/ControllerPublic/Register.php(371): KL_PasswordTools_DataWriter_User->setPassword('**********', '**********', NULL, true)
#4 /library/Siropu/UsernameChange/ControllerPublic/Register.php(32): XenForo_ControllerPublic_Register->actionRegister()
#5 /library/XenForo/FrontController.php(351): Siropu_UsernameChange_ControllerPublic_Register->actionRegister()
#6 /library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#7 /index.php(13): XenForo_FrontController->run()
#8 {main}
 
Last edited:
Changing line 51 of library/KL/PasswordTools/Zxcvbn/Matchers/L33tMatch.php from:
PHP:
$result['sub_display'] = '';
to
PHP:
$result['sub_display'] = array();
seem to solve the issue, I think. Not sure if it's the right choice since I didn't have time to inspect the rest of the code, but at least it works for now.
 
Last edited:
And any body should now find out what your error is? ;)

Add a error description and screenshots please, if you will realy help. :)
 
Hallo, i get this error if a user try to register

Code:
Error Info
[] operator not supported for strings - library/KL/PasswordTools/Zxcvbn/Matchers/L33tMatch.php:54

Stack Trace
#0 /home/mvssmhxj/anzahcraft/library/KL/PasswordTools/Zxcvbn/Matcher.php(31): KL_PasswordTools_Zxcvbn_Matchers_L33tMatch::match('harhar123', Array)
#1 /home/mvssmhxj/anzahcraft/library/KL/PasswordTools/Zxcvbn.php(58): KL_PasswordTools_Zxcvbn_Matcher->getMatches('harhar123', Array)
#2 /home/mvssmhxj/anzahcraft/library/KL/PasswordTools/DataWriter/User.php(33): KL_PasswordTools_Zxcvbn->passwordStrength('harhar123', Array)
#3 /home/mvssmhxj/anzahcraft/library/XenForo/ControllerPublic/Register.php(371): KL_PasswordTools_DataWriter_User->setPassword('harhar123', 'harhar123', NULL, true)
#4 /home/mvssmhxj/anzahcraft/library/XenForo/FrontController.php(351): XenForo_ControllerPublic_Register->actionRegister()
#5 /home/mvssmhxj/anzahcraft/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#6 /home/mvssmhxj/anzahcraft/index.php(13): XenForo_FrontController->run()
#7 {main}

Request State
Array
(
    [url] => https://anzahcraft.de/register/register
    [_GET] => Array
        (
        )

    [_POST] => Array
        (
            [username] => 
            [5fce44837ca4b28a025d0c17bae71635] => xxx
            [79b0d57cabde6ad93879a7066cb5ca73] => xxx
            [password] => ********
            [699c5cfaf8d1021c8ecf2c02a17435cc] => male
            [dob_month] => x
            [dob_day] => xx
            [dob_year] => xxxx
            [b23a87bfa74b878241bdc2946d7d6bd5] => Array
                (
                    [locationla] => 
                    [locationln] => 
                    [bg9jyxrpb25syq] => 
                )

            [custom_fields_shown] => Array
                (
                    [0] => locationla
                    [1] => locationln
                    [2] => bg9jyxrpb25syq
                )

            [0dc83e211863635d544b9107aa20f45c] => Europe/Amsterdam
            [g-recaptcha-response] => 03AHJ_VutWZbm5WRm0OKLp25z9b_S_SEB9n9Yp0ro_AeWC_cJZCxNcOY-mCoRPPvTrLeYNcdhv5Jq3pK6aQFXVTBxIqROYG3TSKP3gXKnKqtZoyz7sCZArFy2hFN9XC8sXVlk_wIhGrCU6_bbT5j8gKw9fXrBl26-CUmlAMzsYPrXVGb75rbmDefsOD-Zo4o-QknceIuLAzzMfBwE5zfsLHKxdsLZ2uSu9n5PM3t4p5NrCs3d9z60pitQkJ_eVyrFdy4TFRGo1s2L5OCVqc8uCZ5Lix0yN2FEfAd2cr5RBf1XyPTFPC_xf8sZeoypnXPgGEu29VAwP2a-tAGRDLi-k9OuZ4JpzgpL-GEbtGWbuRx-mJ3HlJHqKn1rwS08q6MiNk6qxCsgCye0zqzT4U2jUfCiH4gxkFXeFCTehelZ2oMIqdF8WaC7pMyUdGELFQ3oJeHEGevXTjLLnRc_8hB1kcou8wCeweySyqbo8pnNWOWYe8I8CwOwfo9_KFtJKKZ-X4QCbXWVFIIG4S_a5o0k5z3VkMfoNtKXBYYLhJhTV8GBwf73prq-ITPkQ_AYaYET3D9cCHn44Ndinis-fYVeo4qzSLKSLsezhteHRl2KIcKgtcpZdR8PmFBQ7KCX_RhYxPS5VxJVeF8MP-y47MF-lknKkmhhXAAd2dzLNqUYjgI98mEp6kuOKkTNwqklvGgOB7Ez01n0g6Qrb3SuL4DYNfV2rPy9Hh_6qIehgQBcLxYhRM5ddPrIMPON4av-TDr-uMS3Z9n8Tdb184EAOvziU05C_CCfG65uA1d-SqJeMQZ2c12X_-GjJNyzzH6s0hIc3CVmj6pgx1BKlIaRpem4DmroxrE2Kv1LsEn6TtaZNDZOC6jFdAMMoJ-5SPzsQI6IvCunlO_ccV7LcrriUGp-qI6LGAV_JStgLc6QcQQcZkI9E9e3nCJDCxB4V83Yc3ZyDiF9vg-ev95cN0jXVZiVRz6nRyiYu-KkJc7d9_5fG60Y72Snc5JOQrq1oblTW_UJ_JdD3fWmV5KW3N4PdSXe7UsNMMFUd8sL0ZZa66Z0YR64GuxRKbqU0145rSaSmZkc5HjbIfPFO_m5SBgru-EgCOBWrG5nI2LjhoM2rv7zPieuXmcRLW-rFfQg
            [agree] => 1
            [_xfToken] => ********
            [reg_key] => e0cc4300433598d03e81226b7d50ee6f
        )

)
 
Just installed this,... really like!! Thanks.

I am on a fresh install unmodified of this.

I noticed both on my phone as well as desktop pc, the green bar (it does change colors as expected) is always just a little square below input box to the left.
Chrome on both desktop and android.

It isnt like your screenshots.

Untitled.webp
 
Hm, that looks kinda weird indeed. Just a quick checklist to narrow down the issue:
  • Does it work on the registration-page?
  • Are there any addons that modify the same page?
  • Are you using a custom theme or is that default xenforo? (Custom includes modifications from yourself)
  • Is it a local installation or web-accessible?
 
Hm, that looks kinda weird indeed. Just a quick checklist to narrow down the issue:
  • Does it work on the registration-page?
  • Are there any addons that modify the same page?
  • Are you using a custom theme or is that default xenforo? (Custom includes modifications from yourself)
  • Is it a local installation or web-accessible?
. Problem shows up on registration page, and stock change your password page.
. registration, stock user cp password page. I do use the addon that puts a sidebar on user cp. Also an addon to remove b date from registration.
.oem xf theme.
.online and available.

Pm sent with addy.
 
Last edited:
@Mark T don't know what happened there, but you're lacking a full css rule:
Code:
#passwordStrengthMeter .difficultyBar {
    background-color: rgb(150,150,150);
    padding: 0;
    margin: 0;
    float: left;
    display: block;
    transition: background 200ms;
    will-change: background;
    width: 24%;
    height: 100%;
}

Insert it, and it will work.
 
Top Bottom