htdocs/resetpass.php
Reference to static property xoopsDB
from undeclared class \icms
Open
Open
if (!icms::$xoopsDB->query($sql)) {
- Exclude checks
Call to method setSubject
from undeclared class \icms_messaging_Handler
Open
Open
$xoopsMailer->setSubject(sprintf(_US_PWDRESET, ICMS_URL));
- Exclude checks
Reference to undeclared constant \_US_SORRYINCORRECTPASS
Open
Open
redirect_header('user.php?op=resetpass', 2, _US_SORRYINCORRECTPASS);
- Exclude checks
Call to method assign
from undeclared class \icms_messaging_Handler
Open
Open
$xoopsMailer->assign('SITEURL', ICMS_URL.'/');
- Exclude checks
Reference to undeclared constant \_US_PWDRESET
Open
Open
$xoopsMailer->setSubject(sprintf(_US_PWDRESET, ICMS_URL));
- Exclude checks
Call to method verifyPass
from undeclared class \icms_core_Password
Open
Open
if (!$icmspass->verifyPass($c_password, icms::$user->getVar('login_name'))) {
- Exclude checks
Reference to static property user
from undeclared class \icms
Open
Open
redirect_header('user.php', 3, sprintf(_US_PWDRESET, icms::$user->getVar('uname')), FALSE);
- Exclude checks
Reference to undeclared constant \_US_SORRYNOTFOUND
Open
Open
redirect_header('user.php', 2, sprintf(_US_SORRYNOTFOUND, 3, ''), FALSE);
- Exclude checks
Call to method setTemplate
from undeclared class \icms_messaging_Handler
Open
Open
$xoopsMailer->setTemplate('resetpass2.tpl');
- Exclude checks
Call to method send
from undeclared class \icms_messaging_Handler
Open
Open
if (!$xoopsMailer->send()) {
- Exclude checks
Variable $password2
is undeclared Open
Open
if ($password == '' || $password2 == '') {
- Exclude checks
Call to method getErrors
from undeclared class \icms_messaging_Handler
Open
Open
echo $xoopsMailer->getErrors();
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
Open
icms::$xoopsDB->prefix('users'),
- Exclude checks
Reference to static property user
from undeclared class \icms
Open
Open
redirect_header('user.php?op=resetpass', 3, sprintf(_US_SORRYMUSTENTERPASS, icms::$user->getVar('uname')), FALSE);
- Exclude checks
Call to method setToUsers
from undeclared class \icms_messaging_Handler
Open
Open
$xoopsMailer->setToUsers(icms::$user->getVar('uid'));
- Exclude checks
Reference to undeclared constant \_US_PASSNOTSAME
Open
Open
redirect_header('user.php?op=resetpass', 3, sprintf(_US_PASSNOTSAME, ''), FALSE);
- Exclude checks
Call to method assign
from undeclared class \icms_messaging_Handler
Open
Open
$xoopsMailer->assign('SITENAME', $icmsConfig['sitename']);
- Exclude checks
Reference to undeclared constant \_US_PWDRESET
Open
Open
redirect_header('user.php', 3, sprintf(_US_PWDRESET, icms::$user->getVar('uname')), FALSE);
- Exclude checks
Variable $password2
is undeclared Open
Open
if ((isset($password)) && ($password !== $password2)) {
- Exclude checks
Reference to static property user
from undeclared class \icms
Open
Open
if (!$icmspass->verifyPass($c_password, icms::$user->getVar('login_name'))) {
- Exclude checks
Call to method encryptPass
from undeclared class \icms_core_Password
Open
Open
$pass = $icmspass->encryptPass($password);
- Exclude checks
Call to method setFromEmail
from undeclared class \icms_messaging_Handler
Open
Open
$xoopsMailer->setFromEmail($icmsConfig['adminmail']);
- Exclude checks
Call to method setFromName
from undeclared class \icms_messaging_Handler
Open
Open
$xoopsMailer->setFromName($icmsConfig['sitename']);
- Exclude checks
Reference to static property user
from undeclared class \icms
Open
Open
(int) icms::$user->getVar('uid')
- Exclude checks
Call to method __construct
from undeclared class \icms_core_Password
Open
Open
$icmspass = new icms_core_Password();
- Exclude checks
Call to method __construct
from undeclared class \icms_messaging_Handler
Open
Open
$xoopsMailer = new icms_messaging_Handler();
- Exclude checks
Call to method useMail
from undeclared class \icms_messaging_Handler
Open
Open
$xoopsMailer->useMail();
- Exclude checks
Call to method checkVarArray
from undeclared class \icms_core_DataFilter
Open
Open
$clean_POST = icms_core_DataFilter::checkVarArray($_POST, $filter_post, FALSE);
- Exclude checks
Reference to undeclared constant \_US_SORRYMUSTENTERPASS
Open
Open
redirect_header('user.php?op=resetpass', 3, sprintf(_US_SORRYMUSTENTERPASS, icms::$user->getVar('uname')), FALSE);
- Exclude checks
Reference to undeclared constant \_US_PWDTOOSHORT
Open
Open
redirect_header('user.php?op=resetpass', 2, sprintf(_US_PWDTOOSHORT, $icmsConfigUser['minpass']), FALSE);
- Exclude checks
Reference to undeclared constant \_US_RESETPWDNG
Open
Open
echo _US_RESETPWDNG;
- Exclude checks
Call to method assign
from undeclared class \icms_messaging_Handler
Open
Open
$xoopsMailer->assign('IP', $_SERVER['REMOTE_ADDR']);
- Exclude checks
Call to method checkVarArray
from undeclared class \icms_core_DataFilter
Open
Open
$clean_GET = icms_core_DataFilter::checkVarArray($_GET, $filter_get, FALSE);
- Exclude checks
Variable $password
is undeclared Open
Open
if ($password == '' || $password2 == '') {
- Exclude checks
Reference to static property user
from undeclared class \icms
Open
Open
if (!icms::$user) {
- Exclude checks
Call to method assign
from undeclared class \icms_messaging_Handler
Open
Open
$xoopsMailer->assign('ADMINMAIL', $icmsConfig['adminmail']);
- Exclude checks
Reference to static property user
from undeclared class \icms
Open
Open
$xoopsMailer->setToUsers(icms::$user->getVar('uid'));
- Exclude checks
Tabs must be used to indent lines; spaces are not allowed Open
Open
$clean_GET = icms_core_DataFilter::checkVarArray($_GET, $filter_get, FALSE);
- Exclude checks
Tabs must be used to indent lines; spaces are not allowed Open
Open
$clean_POST = icms_core_DataFilter::checkVarArray($_POST, $filter_post, FALSE);
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE" Open
Open
redirect_header('user.php?op=resetpass', 3, sprintf(_US_SORRYMUSTENTERPASS, icms::$user->getVar('uname')), FALSE);
- Exclude checks
Tabs must be used to indent lines; spaces are not allowed Open
Open
extract($clean_GET);
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE" Open
Open
redirect_header('user.php', 2, sprintf(_US_SORRYNOTFOUND, 3, ''), FALSE);
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE" Open
Open
redirect_header('user.php', 3, sprintf(_US_PWDRESET, icms::$user->getVar('uname')), FALSE);
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE" Open
Open
$clean_POST = icms_core_DataFilter::checkVarArray($_POST, $filter_post, FALSE);
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE" Open
Open
redirect_header('user.php?op=resetpass', 3, sprintf(_US_PASSNOTSAME, ''), FALSE);
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE" Open
Open
redirect_header('user.php?op=resetpass', 2, sprintf(_US_PWDTOOSHORT, $icmsConfigUser['minpass']), FALSE);
- Exclude checks
Tabs must be used to indent lines; spaces are not allowed Open
Open
extract($clean_POST);
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE" Open
Open
$clean_GET = icms_core_DataFilter::checkVarArray($_GET, $filter_get, FALSE);
- Exclude checks
Inline control structures are not allowed Open
Open
if (isset($_GET['filter_post'])) unset ($_GET['filter_post']);
- Exclude checks
Multi-line function call not indented correctly; expected 8 spaces but found 20 Open
Open
icms::$xoopsDB->prefix('users'),
- Exclude checks
Multi-line function call not indented correctly; expected 8 spaces but found 20 Open
Open
(int) icms::$user->getVar('uid')
- Exclude checks
Opening parenthesis of a multi-line function call must be the last content on the line Open
Open
$sql = sprintf("UPDATE %s SET pass = '%s', pass_expired = '%u' WHERE uid = '%u'",
- Exclude checks
Whitespace found at end of line Open
Open
*
- Exclude checks
Space before opening parenthesis of function call prohibited Open
Open
if (isset($_GET['filter_post'])) unset ($_GET['filter_post']);
- Exclude checks
Multi-line function call not indented correctly; expected 8 spaces but found 20 Open
Open
$pass,
- Exclude checks
Multi-line function call not indented correctly; expected 8 spaces but found 20 Open
Open
0,
- Exclude checks
Unexpected spaces found. Open
Open
extract($clean_GET);
- Exclude checks
Unexpected spaces found. Open
Open
extract($clean_POST);
- Exclude checks
Unexpected spaces found. Open
Open
$clean_GET = icms_core_DataFilter::checkVarArray($_GET, $filter_get, FALSE);
- Exclude checks
Unexpected trailing spaces found. Open
Open
*
- Exclude checks
Unexpected spaces found. Open
Open
$clean_POST = icms_core_DataFilter::checkVarArray($_POST, $filter_post, FALSE);
- Exclude checks