Login Tools PHP Error $newpassword

Issues related to the Login tools of WYSIWYG Web Builder.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/login_basics.html
http://www.wysiwygwebbuilder.com/login_tools.html

TIP:
A lot of information about the login tools can be found in the help/manual.
Also checkout the demo template that is include with the software.
Post Reply
cjcollinson
 
 
Posts: 2
Joined: Tue Jun 20, 2017 9:20 pm

Login Tools PHP Error $newpassword

Post by cjcollinson »

Hi,
I'm using the login tools demo and it fails to send a email notification when a new user signs up and I get the following php error when I try to reset the password using the password recovery tools.

Any help would be appreciated

[14-Mar-2018 18:21:01 UTC] PHP Notice: Undefined variable: newpassword in /home/lightnin/public_html/englishtaekwondo.co.uk/logindemo/forgot_password.php on line 36
User avatar
Pablo
 
Posts: 21508
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Login Tools PHP Error $newpassword

Post by Pablo »

This usually means that the PHP warning level on the server is set high, so it checks all variables.

You can either turn off error reporting on the server or add this code at the start of the page:

Code: Select all

<?php
$newpassword = '';
?>
cjcollinson
 
 
Posts: 2
Joined: Tue Jun 20, 2017 9:20 pm

Re: Login Tools PHP Error $newpassword

Post by cjcollinson »

Hi

Thanks for the response, did you mean the start of each php page ?

Thanks for your help

BR

Chris
User avatar
Pablo
 
Posts: 21508
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Login Tools PHP Error $newpassword

Post by Pablo »

I meant the start of the page with the 'password recovery' object.
Post Reply