Hello!
I checked my site and found two more errors:
When prompted to fogot the password.
1. The first mistake. In the
forgot_form.htt file
Line number 13
<form action="{WB_URL}/account/forgot.php" method="post" class="account" autocomplete="off">
Variable value
{WB_URL} not defined in the file
forgot_form.php .
Therefore, the wrong path to the form verification file
forgot.php is called in the form.
I have Wb located in the subdectoria, and here the root path is called.
The solution is to add a line to the file
forgot_form.php$template->set_var('WB_URL', WB_URL);
Now the correct path to the form validation file
forgot.php is called.
2. The second mistake. It immediately appeared in the file
forgot_form.phpPHP Fatal error: require_once(): Failed opening required '/public_html/wb-test/framework/PasswordHash.php'
This is the code that causes the error.
require_once(WB_PATH.'/framework/PasswordHash.php');
$pwh = new PasswordHash(0, true);