Forgot password error

7 posts by 2 authors in: Forums > CMS Builder
Last Post: May 16, 2018   (RSS)

By gversion - May 13, 2018

Hello,

I am not using the "fullname" field any more in the "accounts" table. When a user submits the password reset form an error is displayed:

E_NOTICE: Undefined index: fullname

#0 _errorlog_logErrorRecord() called at [/opt/bitnami/apache2/htdocs/cmsb/lib/errorlog_functions.php:62]
#1 _errorlog_catchRuntimeErrors() called at [/opt/bitnami/apache2/htdocs/cmsb/lib/login_functions.php:194]
#2 forgotPassword() called at [/opt/bitnami/apache2/htdocs/cmsb/admin.php:29]

Can someone please tell me how to fix this?

Thank you,

Greg

By leo - May 16, 2018

Hi Greg,

I recommend you to search in your existing pages for the keyword fullname and comment out any code that could throw undefined index error.

Thanks,

Leo - PHP Programmer (in training)
interactivetools.com

By gversion - May 16, 2018

Hi Leo,

Do you mean I should search core CMSB pages? I am just using the default Admin "forgot password" form, I'm not using a bespoke built password reset form.

Thanks,

Greg

By leo - May 16, 2018 - edited: May 16, 2018

Hi Greg,

If you are still using the default forgot password page generated by membership plugin, you just need to get a new one without fullname field involved.

If that doesn't work, you can add fullname field back and set it to be admin only so the other user's won't see it.

Leo - PHP Programmer (in training)
interactivetools.com

By gversion - May 16, 2018

Hi Leo,

Thanks for the speedy reply. I am actually referring to the page at /cmsb/admin.php?menu=forgotPassword

This is forgot password form for the CMSB Admin, it's not generated by the Website Membership plugin.

Thanks,

Greg

By leo - May 16, 2018

Then I would recommend add fullname field back and hide it from normal users :D

Leo - PHP Programmer (in training)
interactivetools.com