htdocs/invite.php
Reference to static property xoopsDB
from undeclared class \icms
Open
Open
icms::$xoopsDB->query($sql);
- Exclude checks
Call to method useMail
from undeclared class \icms_messaging_Handler
Open
Open
$xoopsMailer->useMail();
- Exclude checks
Invalid offset "adminmail"
of array type array{startpage:,template_set:mixed}
Open
Open
$xoopsMailer->setFromEmail($icmsConfig['adminmail']);
- Exclude checks
Reference to static property security
from undeclared class \icms
Open
Open
$stop .= implode('<br />', icms::$security->getErrors()) . "<br />";
- Exclude checks
Call to method stripSlashesGPC
from undeclared class \icms_core_DataFilter
Open
Open
$email = isset($_POST['email']) ? trim(icms_core_DataFilter::stripSlashesGPC($_POST['email'])) : '';
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
Open
$sql = sprintf('INSERT INTO ' . icms::$xoopsDB->prefix('invites') . '
- Exclude checks
Reference to undeclared constant \_US_INVITESENT
Open
Open
echo _US_INVITESENT;
- Exclude checks
Reference to static property user
from undeclared class \icms
Open
Open
is_object(icms::$user) ? icms::$user->getVar('uid') : 0,
- Exclude checks
Call to method setTemplate
from undeclared class \icms_messaging_Handler
Open
Open
$xoopsMailer->setTemplate('invite.tpl');
- Exclude checks
Call to method setFromEmail
from undeclared class \icms_messaging_Handler
Open
Open
$xoopsMailer->setFromEmail($icmsConfig['adminmail']);
- Exclude checks
Reference to undeclared constant \_US_INVITEREGLINK
Open
Open
$xoopsMailer->setSubject(sprintf(_US_INVITEREGLINK, ICMS_URL));
- Exclude checks
Reference to static property security
from undeclared class \icms
Open
Open
if (!icms::$security->check()) {
- Exclude checks
Call to method __construct
from undeclared class \icms_messaging_Handler
Open
Open
$xoopsMailer = new icms_messaging_Handler();
- Exclude checks
Argument 1 (prefix)
is int
but \uniqid()
takes string
Open
Open
$invite_code = substr(md5(uniqid(mt_rand(), 1)), 0, 8);
- Exclude checks
Invalid offset "sitename"
of array type array{startpage:,template_set:mixed}
Open
Open
$xoopsMailer->setFromName($icmsConfig['sitename']);
- Exclude checks
Reference to undeclared constant \_US_INVITEDBERR
Open
Open
$stop .= _US_INVITEDBERR;
- Exclude checks
Variable $invite_form
is undeclared Open
Open
$invite_form->display();
- Exclude checks
Reference to undeclared constant \_US_INVITEBYMEMBER
Open
Open
redirect_header('index.php', 6, _US_INVITEBYMEMBER);
- Exclude checks
Reference to undeclared constant \_US_INVALIDMAIL
Open
Open
$stop .= _US_INVALIDMAIL . '<br />';
- Exclude checks
Argument 2 (more_entropy)
is 1
but \uniqid()
takes bool
Open
Open
$invite_code = substr(md5(uniqid(mt_rand(), 1)), 0, 8);
- Exclude checks
Call to method checkVar
from undeclared class \icms_core_DataFilter
Open
Open
if (!icms_core_DataFilter::checkVar($email, 'email')) {
- Exclude checks
Call to method setFromName
from undeclared class \icms_messaging_Handler
Open
Open
$xoopsMailer->setFromName($icmsConfig['sitename']);
- Exclude checks
Invalid offset "adminmail"
of array type array{startpage:,template_set:mixed}
Open
Open
$xoopsMailer->assign('ADMINMAIL', $icmsConfig['adminmail']);
- Exclude checks
Reference to static property user
from undeclared class \icms
Open
Open
if ($icmsConfigUser['activation_type'] == 3 && $icmsConfigUser['allow_register'] == 0 && !is_object(icms::$user)) {
- Exclude checks
Call to method instance
from undeclared class \icms_form_elements_captcha_Object
Open
Open
$icmsCaptcha = icms_form_elements_captcha_Object::instance();
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
Open
icms::$xoopsDB->quoteString(addslashes($invite_code)),
- Exclude checks
Call to method assign
from undeclared class \icms_messaging_Handler
Open
Open
$xoopsMailer->assign('SITENAME', $icmsConfig['sitename']);
- Exclude checks
Call to method assign
from undeclared class \icms_messaging_Handler
Open
Open
$xoopsMailer->assign('ADMINMAIL', $icmsConfig['adminmail']);
- Exclude checks
Call to method assign
from undeclared class \icms_messaging_Handler
Open
Open
$xoopsMailer->assign('SITEURL', ICMS_URL . "/");
- Exclude checks
Call to method assign
from undeclared class \icms_messaging_Handler
Open
Open
$xoopsMailer->assign('REGISTERLINK', ICMS_URL . '/register.php?code=' . $invite_code);
- Exclude checks
Call to method send
from undeclared class \icms_messaging_Handler
Open
Open
if (!$xoopsMailer->send()) {
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
Open
icms::$xoopsDB->quoteString(addslashes($email)),
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
Open
icms::$xoopsDB->quoteString(addslashes(serialize(array())))
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
Open
if (icms::$xoopsDB->getAffectedRows() == 1) {
- Exclude checks
Call to method setSubject
from undeclared class \icms_messaging_Handler
Open
Open
$xoopsMailer->setSubject(sprintf(_US_INVITEREGLINK, ICMS_URL));
- Exclude checks
Invalid offset "sitename"
of array type array{startpage:,template_set:mixed}
Open
Open
$xoopsMailer->assign('SITENAME', $icmsConfig['sitename']);
- Exclude checks
Call to method assign
from undeclared class \icms_messaging_Handler
Open
Open
$xoopsMailer->assign('USEREMAIL', $email);
- Exclude checks
Call to method setToEmails
from undeclared class \icms_messaging_Handler
Open
Open
$xoopsMailer->setToEmails($email);
- Exclude checks
Reference to undeclared constant \_US_INVITEMAILERR
Open
Open
$stop .= _US_INVITEMAILERR;
- Exclude checks
Variable $invite_form
is undeclared Open
Open
$invite_form->display();
- Exclude checks
Blank line found at end of control structure Open
Open
- Exclude checks
Multi-line function call not indented correctly; expected 16 spaces but found 28 Open
Open
is_object(icms::$user) ? icms::$user->getVar('uid') : 0,
- Exclude checks
Multi-line function call not indented correctly; expected 16 spaces but found 28 Open
Open
icms::$xoopsDB->quoteString(addslashes(serialize(array())))
- Exclude checks
Opening parenthesis of a multi-line function call must be the last content on the line Open
Open
$sql = sprintf('INSERT INTO ' . icms::$xoopsDB->prefix('invites') . '
- Exclude checks
Multi-line function call not indented correctly; expected 12 spaces but found 24 Open
Open
);
- Exclude checks
Multi-line function call not indented correctly; expected 16 spaces but found 28 Open
Open
time(),
- Exclude checks
Multi-line function call not indented correctly; expected 16 spaces but found 28 Open
Open
icms::$xoopsDB->quoteString(addslashes($invite_code)),
- Exclude checks
Multi-line function call not indented correctly; expected 16 spaces but found 28 Open
Open
icms::$xoopsDB->quoteString(addslashes($email)),
- Exclude checks