File update-112-to-122.php
has 580 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
/**
* DataBase Update Functions - 1.1.2 to 1.2.2 release
*
* @copyright The ImpressCMS Project http://www.impresscms.org/
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_CAPTCHA, 'captcha_casesensitive', '_MD_AM_CAPTCHA_CASESENS', '0', '_MD_AM_CAPTCHA_CASESENSDSC', 'yesno', 'int', 3);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_CAPTCHA, 'captcha_num_chars', '_MD_AM_CAPTCHA_NUMCHARS', '4', '_MD_AM_CAPTCHA_NUMCHARSDSC', 'textbox', 'int', 6);
- Exclude checks
Reference to undeclared constant \ICMS_CONF_CAPTCHA
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_CAPTCHA, 'captcha_background_type', '_MD_AM_CAPTCHA_BGTYPE', '100', '_MD_AM_CAPTCHA_BGTYPEDSC', 'select', 'text', 9);
- Exclude checks
Variable $abortUpdate
is undeclared Open
if (!$abortUpdate) $newDbVersion = 14;
- Exclude checks
Variable $abortUpdate
is undeclared Open
if (!$abortUpdate) $newDbVersion = 12;
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
if (getDbValue(icms::$xoopsDB, 'configcategory', 'confcat_name', 'confcat_name="_MD_AM_CAPTCHA"') == FALSE) {
- Exclude checks
Reference to undeclared constant \ICMS_CONF_CAPTCHA
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_CAPTCHA, 'captcha_casesensitive', '_MD_AM_CAPTCHA_CASESENS', '0', '_MD_AM_CAPTCHA_CASESENSDSC', 'yesno', 'int', 3);
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
if (! icms::$xoopsDB->queryF($sql)) {
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_CAPTCHA, 'captcha_fontsize_min', '_MD_AM_CAPTCHA_FONTMIN', '10', '_MD_AM_CAPTCHA_FONTMINDSC', 'textbox', 'int', 7);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_CAPTCHA, 'captcha_maxattempt', '_MD_AM_CAPTCHA_MAXATTEMP', '8', '_MD_AM_CAPTCHA_MAXATTEMPDSC', 'textbox', 'int', 5);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->updateModuleDBVersion($newDbVersion, 'system');
- Exclude checks
Reference to undeclared constant \ICMS_CONF_CAPTCHA
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_CAPTCHA, 'captcha_fontsize_min', '_MD_AM_CAPTCHA_FONTMIN', '10', '_MD_AM_CAPTCHA_FONTMINDSC', 'textbox', 'int', 7);
- Exclude checks
Reference to undeclared constant \ICMS_CONF_CAPTCHA
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_CAPTCHA, 'captcha_background_num', '_MD_AM_CAPTCHA_BGNUM', '50', '_MD_AM_CAPTCHA_BGNUMDSC', 'textbox', 'int', 10);
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
icms::$xoopsDB->queryF("DELETE FROM `" . icms::$xoopsDB->prefix('config') . "` WHERE (conf_modid='1' AND conf_catid='11')");
- Exclude checks
Call to method __construct
from undeclared class \icms_db_legacy_updater_Table
Open
$table = new icms_db_legacy_updater_Table('users');
- Exclude checks
Call to method deleteFile
from undeclared class \icms_core_Filesystem
Open
icms_core_Filesystem::deleteFile(ICMS_ROOT_PATH . '/preload/customtag.php');
- Exclude checks
Variable $dbVersion
is undeclared Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
if (! icms::$xoopsDB->queryF($sql2)) {
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
icms::$xoopsDB->queryF("UPDATE `" . icms::$xoopsDB->prefix('config') . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'reg_disclaimer'");
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_CAPTCHA, 'captcha_fontsize_max', '_MD_AM_CAPTCHA_FONTMAX', '12', '_MD_AM_CAPTCHA_FONTMAXDSC', 'textbox', 'int', 8);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->updateTable($table);
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
icms::$xoopsDB->queryF("UPDATE `" . icms::$xoopsDB->prefix('config') . "` SET conf_formtype = 'select', conf_valuetype = 'text' WHERE conf_name = 'email_protect'");
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
if (getDbValue(icms::$xoopsDB, 'configcategory', 'confcat_name', 'confcat_name="_MD_AM_PLUGINS"') == FALSE) {
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PLUGINS
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PLUGINS, 'geshi_default', '_MD_AM_GESHI_DEFAULT', 'php', '_MD_AM_GESHI_DEFAULT_DESC', 'select_geshi', 'text', 3);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_USER, 'allow_chguname', '_MD_AM_ALLWCHGUNAME', '0', '_MD_AM_ALLWCHGUNAMEDSC', 'yesno', 'int', 11);
- Exclude checks
Reference to undeclared constant \IM_CONF_CONTENT
Open
$icmsDatabaseUpdater->insertConfig(IM_CONF_CONTENT, 'num_pages', '_MD_AM_CONT_NUMPAGES', '10', '_MD_AM_CONT_NUMPAGESDSC', 'textbox', 'int', 5);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->updateModuleDBVersion($newDbVersion, 'system');
- Exclude checks
Argument 1 (string)
is ?12|?13|?14|?15|?16|?17|?18|?19|?20|?21|?22
but \icms_conv_nr2local()
takes int
defined at /code/htdocs/include/functions.php:1231
Open
echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';
- Exclude checks
Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
Open
echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';
- Exclude checks
Call to method __construct
from undeclared class \icms_db_legacy_updater_Table
Open
$table = new icms_db_legacy_updater_Table('system_mimetype');
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
icms::$xoopsDB->queryF(" INSERT INTO " . icms::$xoopsDB->prefix("configcategory") . " (confcat_id, confcat_name) VALUES (13, '_MD_AM_AUTOTASKS')");
- Exclude checks
Argument 1 (string)
is ?12|?13
but \icms_conv_nr2local()
takes int
defined at /code/htdocs/include/functions.php:1231
Open
echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';
- Exclude checks
Call to method deleteRecursive
from undeclared class \icms_core_Filesystem
Open
icms_core_Filesystem::deleteRecursive(ICMS_ROOT_PATH . '/preload');
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
icms::$xoopsDB->queryF(" INSERT INTO " . icms::$xoopsDB->prefix("configoption") . " VALUES(NULL, '_MD_AM_NOMAILPROTECT', '0', " . $conf_id . ");");
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PERSONA, 'recpubkey', '_MD_AM_RECPUBKEY', '', '_MD_AM_RECPUBKEY_DESC', 'textbox', 'text', 17);
- Exclude checks
Reference to undeclared constant \ICMS_CONF_USER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_USER, 'allow_chguname', '_MD_AM_ALLWCHGUNAME', '0', '_MD_AM_ALLWCHGUNAMEDSC', 'yesno', 'int', 11);
- Exclude checks
Variable $dbVersion
is undeclared Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Variable $dbVersion
is undeclared Open
if ($dbVersion < 11) include 'update-to-112.php';
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
icms::$xoopsDB->queryF("RENAME TABLE `" . icms::$xoopsDB->prefix("smartprofile_visibility") . "` TO `" . icms::$xoopsDB->prefix("profile_visibility") . "`");
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_CAPTCHA, 'captcha_background_type', '_MD_AM_CAPTCHA_BGTYPE', '100', '_MD_AM_CAPTCHA_BGTYPEDSC', 'select', 'text', 9);
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
if (! $result = icms::$xoopsDB->queryF($sql)) {
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
icms::$xoopsDB->queryF("DELETE FROM `" . icms::$xoopsDB->prefix('newblocks') . "` WHERE dirname='waiting'");
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->updateTable($table);
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
$sql2 = "INSERT INTO " . icms::$xoopsDB->prefix('configoption') . " (confop_id, confop_name, confop_value, conf_id)" . " VALUES" . " (NULL, '_MD_AM_BAR', '0', {$config_id}), " . " (NULL, '_MD_AM_CIRCLE', '1', {$config_id}), " . " (NULL, '_MD_AM_LINE', '2', {$config_id}), " . " (NULL, '_MD_AM_RECTANGLE', '3', {$config_id}), " . " (NULL, '_MD_AM_ELLIPSE', '4', {$config_id}), " . " (NULL, '_MD_AM_POLYGON', '5', {$config_id}), " . " (NULL, '_MD_AM_RANDOM', '100', {$config_id})";
- Exclude checks
Call to method createTable
from undeclared class \icms_db_legacy_updater_Table
Open
$table->createTable();
- Exclude checks
Call to method createTable
from undeclared class \icms_db_legacy_updater_Table
Open
$table->createTable();
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
$sql = "INSERT INTO " . icms::$xoopsDB->prefix('configoption') . " (confop_id, confop_name, confop_value, conf_id)" . " VALUES" . " (NULL, '_MD_AM_CAPTCHA_OFF', 'none', {$config_id}), " . " (NULL, '_MD_AM_CAPTCHA_IMG', 'image', {$config_id}), " . " (NULL, '_MD_AM_CAPTCHA_TXT', 'text', {$config_id})";
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
icms::$xoopsDB->queryF(" INSERT INTO " . icms::$xoopsDB->prefix("configoption") . " VALUES(NULL, '_MD_AM_REMAILPROTECT', '2', " . $conf_id . ");");
- Exclude checks
Variable $dbVersion
is undeclared Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Reference to undeclared constant \ICMS_CONF_CAPTCHA
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_CAPTCHA, 'captcha_polygon_point', '_MD_AM_CAPTCHA_POLPNT', '3', '_MD_AM_CAPTCHA_POLPNTDSC', 'textbox', 'int', 11);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(IM_CONF_AUTOTASKS, 'autotasks_system', '_MD_AM_AUTOTASKS_SYSTEM', 'internal', '_MD_AM_AUTOTASKS_SYSTEMDSC', 'autotasksystem', 'text', 1);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_CAPTCHA, 'captcha_polygon_point', '_MD_AM_CAPTCHA_POLPNT', '3', '_MD_AM_CAPTCHA_POLPNTDSC', 'textbox', 'int', 11);
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
icms::$xoopsDB->queryF(" INSERT INTO " . icms::$xoopsDB->prefix("configcategory") . " (confcat_id, confcat_name) VALUES ('12', '_MD_AM_PLUGINS')");
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_CAPTCHA, 'captcha_mode', '_MD_AM_CAPTCHA_MODE', 'image', '_MD_AM_CAPTCHA_MODEDSC', 'select', 'text', 1);
- Exclude checks
Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
Open
echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';
- Exclude checks
Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
Open
echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';
- Exclude checks
Call to method deleteFile
from undeclared class \icms_core_Filesystem
Open
icms_core_Filesystem::deleteFile(ICMS_ROOT_PATH . '/preload/userinfo.php');
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
$config_id = icms::$xoopsDB->getInsertId();
- Exclude checks
Argument 1 (string)
is ?12|?13|?14|?15
but \icms_conv_nr2local()
takes int
defined at /code/htdocs/include/functions.php:1231
Open
echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';
- Exclude checks
Call to method __construct
from undeclared class \icms_db_legacy_updater_Table
Open
$table = new icms_db_legacy_updater_Table('profile_category');
- Exclude checks
Reference to undeclared constant \ICMS_CONF_CAPTCHA
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_CAPTCHA, 'captcha_skip_characters', '_MD_AM_CAPTCHA_SKIPCHAR', serialize(array('o', '0', 'i', 'l', '1')), '_MD_AM_CAPTCHA_SKIPCHARDSC', 'textarea', 'array', 4);
- Exclude checks
Variable $dbVersion
is undeclared Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
Open
echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
$command = array("ALTER TABLE `" . icms::$xoopsDB->prefix("profile_profile") . "` ADD `newemail` varchar(255) NOT NULL default '' AFTER `profile_id`", "ALTER TABLE `" . icms::$xoopsDB->prefix("profile_field") . "` ADD `exportable` int unsigned NOT NULL default 0 AFTER `step_id`", "UPDATE `" . icms::$xoopsDB->prefix('modules') . "` SET dirname='profile' WHERE dirname='smartprofile'");
- Exclude checks
Variable $dbVersion
is undeclared Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Variable $dbVersion
is undeclared Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Argument 1 (string)
is ?12|?13|?14|?15|?16|?17|?18|?19|?20|?21|?22|?24
but \icms_conv_nr2local()
takes int
defined at /code/htdocs/include/functions.php:1231
Open
echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->updateModuleDBVersion($newDbVersion, 'system');
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
icms::$xoopsDB->queryF("DELETE FROM `" . icms::$xoopsDB->prefix('modules') . "` WHERE dirname='waiting'");
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->updateModuleDBVersion($newDbVersion, 'system');
- Exclude checks
Variable $dbVersion
is undeclared Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Call to method __construct
from undeclared class \icms_db_legacy_updater_Table
Open
$table = new icms_db_legacy_updater_Table('system_autotasks');
- Exclude checks
Variable $dbVersion
is undeclared Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
Open
echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';
- Exclude checks
Call to method exists
from undeclared class \icms_db_legacy_updater_Table
Open
if (! $table->exists()) {
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
$sql = "SELECT conf_id FROM `" . icms::$xoopsDB->prefix('config') . "` WHERE conf_name = 'email_protect'";
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
list($conf_id) = icms::$xoopsDB->FetchRow($result);
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
icms::$xoopsDB->queryFromFile(ICMS_ROOT_PATH . "/modules/" . $module->getVar('dirname', 'n') . "/include/upgrade.sql");
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PERSONA, 'recprvkey', '_MD_AM_RECPRVKEY', '', '_MD_AM_RECPRVKEY_DESC', 'textbox', 'text', 17);
- Exclude checks
Call to method setStructure
from undeclared class \icms_db_legacy_updater_Table
Open
$table->setStructure("adsenseid int(11) NOT NULL auto_increment,
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
$config_id = icms::$xoopsDB->getInsertId();
- Exclude checks
Call to method setStructure
from undeclared class \icms_db_legacy_updater_Table
Open
$table->setStructure("ratingid int(11) NOT NULL auto_increment,
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
if (! icms::$xoopsDB->queryF($sql)) {
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PERSONA, 'pagstyle', '_MD_AM_PAGISTYLE', 'default', '_MD_AM_PAGISTYLE_DESC', 'select_paginati', 'text', 24);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF, 'theme_admin_set', '_MD_AM_ADMIN_DTHEME', 'iTheme', '_MD_AM_ADMIN_DTHEME_DESC', 'theme_admin', 'other', 12);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->updateModuleDBVersion($newDbVersion, 'system');
- Exclude checks
Variable $dbVersion
is undeclared Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Argument 1 (string)
is ?12|?13|?14|?15|?16|?17|?18|?19|?20|?21|?22|?24|?25|?26
but \icms_conv_nr2local()
takes int
defined at /code/htdocs/include/functions.php:1231
Open
echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';
- Exclude checks
Call to method __construct
from undeclared class \icms_db_legacy_updater_Table
Open
$table = new icms_db_legacy_updater_Table('system_adsense');
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->updateModuleDBVersion($newDbVersion, 'system');
- Exclude checks
Variable $dbVersion
is undeclared Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Reference to undeclared constant \ICMS_CONF_CAPTCHA
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_CAPTCHA, 'captcha_mode', '_MD_AM_CAPTCHA_MODE', 'image', '_MD_AM_CAPTCHA_MODEDSC', 'select', 'text', 1);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_CAPTCHA, 'captcha_skip_characters', '_MD_AM_CAPTCHA_SKIPCHAR', serialize(array('o', '0', 'i', 'l', '1')), '_MD_AM_CAPTCHA_SKIPCHARDSC', 'textarea', 'array', 4);
- Exclude checks
Reference to undeclared constant \ICMS_CONF_CAPTCHA
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_CAPTCHA, 'captcha_fontsize_max', '_MD_AM_CAPTCHA_FONTMAX', '12', '_MD_AM_CAPTCHA_FONTMAXDSC', 'textbox', 'int', 8);
- Exclude checks
Argument 1 (string)
is ?12|?13|?14|?15|?16
but \icms_conv_nr2local()
takes int
defined at /code/htdocs/include/functions.php:1231
Open
echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';
- Exclude checks
Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
Open
echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PLUGINS
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PLUGINS, 'sanitizer_plugins', '_MD_AM_SELECTSPLUGINS', serialize(array('')), '_MD_AM_SELECTSPLUGINS_DESC', 'select_plugin', 'array', 1);
- Exclude checks
Reference to undeclared constant \ICMS_CONF_USER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_USER, 'delusers', '_MD_AM_DELUSRES', '30', '_MD_AM_DELUSRESDSC', 'textbox', 'int', 6);
- Exclude checks
Call to method __construct
from undeclared class \icms_db_legacy_updater_Table
Open
$table = new icms_db_legacy_updater_Table('icmscontent');
- Exclude checks
Call to method __construct
from undeclared class \icms_db_legacy_updater_Table
Open
$table = new icms_db_legacy_updater_Table('system_rating');
- Exclude checks
Variable $dbVersion
is undeclared Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Call to method __construct
from undeclared class \icms_db_legacy_updater_Table
Open
$table = new icms_db_legacy_updater_Table('config');
- Exclude checks
Reference to undeclared constant \ICMS_CONF_CAPTCHA
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_CAPTCHA, 'captcha_num_chars', '_MD_AM_CAPTCHA_NUMCHARS', '4', '_MD_AM_CAPTCHA_NUMCHARSDSC', 'textbox', 'int', 6);
- Exclude checks
Call to method addNewField
from undeclared class \icms_db_legacy_updater_Table
Open
$table->addNewField('login_name', "varchar(255) NOT NULL default ''");
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PLUGINS, 'sanitizer_plugins', '_MD_AM_SELECTSPLUGINS', serialize(array('')), '_MD_AM_SELECTSPLUGINS_DESC', 'select_plugin', 'array', 1);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->updateModuleDBVersion($newDbVersion, 'system');
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
icms::$xoopsDB->queryF("RENAME TABLE `" . icms::$xoopsDB->prefix("smartprofile_profile") . "` TO `" . icms::$xoopsDB->prefix("profile_profile") . "`");
- Exclude checks
Argument 1 (string)
is ?12|?13|?14|?15|?16|?17|?18|?19|?20
but \icms_conv_nr2local()
takes int
defined at /code/htdocs/include/functions.php:1231
Open
echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';
- Exclude checks
Reference to undeclared constant \ICMS_CONF
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF, 'theme_admin_set', '_MD_AM_ADMIN_DTHEME', 'iTheme', '_MD_AM_ADMIN_DTHEME_DESC', 'theme_admin', 'other', 12);
- Exclude checks
Call to method addNewField
from undeclared class \icms_db_legacy_updater_Table
Open
$table->addNewField('content_seo_description', "text");
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
if (getDbValue(icms::$xoopsDB, 'configcategory', 'confcat_name', 'confcat_name="_MD_AM_AUTOTASKS"') == FALSE) {
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
$config_id = icms::$xoopsDB->getInsertId();
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PLUGINS, 'geshi_default', '_MD_AM_GESHI_DEFAULT', 'php', '_MD_AM_GESHI_DEFAULT_DESC', 'select_geshi', 'text', 3);
- Exclude checks
Argument 1 (string)
is ?12|?13|?14|?15|?16|?17|?18
but \icms_conv_nr2local()
takes int
defined at /code/htdocs/include/functions.php:1231
Open
echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->updateModuleDBVersion($newDbVersion, 'system');
- Exclude checks
Argument 1 (string)
is ?12|?13|?14|?15|?16|?17|?18|?19|?20|?21
but \icms_conv_nr2local()
takes int
defined at /code/htdocs/include/functions.php:1231
Open
echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
icms::$xoopsDB->queryF("DELETE FROM `" . icms::$xoopsDB->prefix('tplfile') . "` WHERE tpl_module='waiting'");
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->updateTable($table);
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_URI_DefinitionID', '_MD_AM_PURIFIER_URI_DEFID', 'system', '_MD_AM_PURIFIER_URI_DEFIDDSC', 'textbox', 'text', $p++);
- Exclude checks
Reference to undeclared constant \ICMS_CONF_CAPTCHA
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_CAPTCHA, 'captcha_skipmember', '_MD_AM_CAPTCHA_SKIPMEMBER', serialize(array('2')), '_MD_AM_CAPTCHA_SKIPMEMBERDSC', 'group_multi', 'array', 2);
- Exclude checks
Reference to undeclared constant \ICMS_CONF_CAPTCHA
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_CAPTCHA, 'captcha_maxattempt', '_MD_AM_CAPTCHA_MAXATTEMP', '8', '_MD_AM_CAPTCHA_MAXATTEMPDSC', 'textbox', 'int', 5);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_CAPTCHA, 'captcha_background_num', '_MD_AM_CAPTCHA_BGNUM', '50', '_MD_AM_CAPTCHA_BGNUMDSC', 'textbox', 'int', 10);
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PERSONA
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PERSONA, 'recprvkey', '_MD_AM_RECPRVKEY', '', '_MD_AM_RECPRVKEY_DESC', 'textbox', 'text', 17);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->updateModuleDBVersion($newDbVersion, 'system');
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
$sql = "INSERT INTO " . icms::$xoopsDB->prefix('configoption') . " (confop_id, confop_name, confop_value, conf_id)" . " VALUES" . " (NULL, '_MD_AM_HIGHLIGHTER_OFF', 'none', {$config_id}), " . " (NULL, '_MD_AM_HIGHLIGHTER_PHP', 'php', {$config_id}), " . " (NULL, '_MD_AM_HIGHLIGHTER_GESHI', 'geshi', {$config_id})";
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(IM_CONF_CONTENT, 'teaser_length', '_MD_AM_CONT_TEASERLENGTH', '500', '_MD_AM_CONT_TEASERLENGTHDSC', 'textbox', 'int', 6);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_SEARCH, 'num_shallow_search', '_MD_AM_NUMINITSRCHRSLTS', '5', '_MD_AM_NUMINITSRCHRSLTSDSC', 'textbox', 'int', 4);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->updateModuleDBVersion($newDbVersion, 'system');
- Exclude checks
Call to method __construct
from undeclared class \icms_db_legacy_updater_Table
Open
$table = new icms_db_legacy_updater_Table('icmscontent');
- Exclude checks
Argument 1 (string)
is ?12|?13|?14|?15|?16|?17|?18|?19|?20|?21|?22|?24|?25
but \icms_conv_nr2local()
takes int
defined at /code/htdocs/include/functions.php:1231
Open
echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';
- Exclude checks
Call to method createTable
from undeclared class \icms_db_legacy_updater_Table
Open
$table->createTable();
- Exclude checks
Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
Open
echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';
- Exclude checks
Reference to undeclared constant \ICMS_CONF
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF, 'sourceeditor_default', '_MD_AM_SRCEDITOR_DEFAULT', 'editarea', '_MD_AM_SRCEDITOR_DEFAULT_DESC', 'editor_source', 'text', 16);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_CAPTCHA, 'captcha_skipmember', '_MD_AM_CAPTCHA_SKIPMEMBER', serialize(array('2')), '_MD_AM_CAPTCHA_SKIPMEMBERDSC', 'group_multi', 'array', 2);
- Exclude checks
Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
Open
echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
icms::$xoopsDB->queryF("UPDATE `" . icms::$xoopsDB->prefix('config') . "` SET conf_valuetype = 'array' WHERE conf_name = 'startpage'");
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
icms::$xoopsDB->queryF("RENAME TABLE `" . icms::$xoopsDB->prefix("smartprofile_category") . "` TO `" . icms::$xoopsDB->prefix("profile_category") . "`");
- Exclude checks
Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
Open
echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
if (! icms::$xoopsDB->queryF($sql)) {
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
icms::$xoopsDB->queryF(" INSERT INTO " . icms::$xoopsDB->prefix("configcategory") . " (confcat_id, confcat_name) VALUES ('11', '_MD_AM_CAPTCHA')");
- Exclude checks
Variable $abortUpdate
is undeclared Open
if (!$abortUpdate) $newDbVersion = 13;
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
icms::$xoopsDB->queryF(" INSERT INTO " . icms::$xoopsDB->prefix("configoption") . " VALUES(NULL, '_MD_AM_GDMAILPROTECT', '1', " . $conf_id . ");");
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PLUGINS
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PLUGINS, 'code_sanitizer', '_MD_AM_SELECTSHIGHLIGHT', 'none', '_MD_AM_SELECTSHIGHLIGHT_DESC', 'select', 'text', 2);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_USER, 'delusers', '_MD_AM_DELUSRES', '30', '_MD_AM_DELUSRESDSC', 'textbox', 'int', 6);
- Exclude checks
Variable $dbVersion
is undeclared Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
Open
echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';
- Exclude checks
Reference to undeclared constant \ICMS_CONF_SEARCH
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_SEARCH, 'num_shallow_search', '_MD_AM_NUMINITSRCHRSLTS', '5', '_MD_AM_NUMINITSRCHRSLTSDSC', 'textbox', 'int', 4);
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PERSONA
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PERSONA, 'use_custom_redirection', '_MD_AM_CUSTOMRED', '0', '_MD_AM_CUSTOMREDDSC', 'yesno', 'int', 9);
- Exclude checks
Call to method setStructure
from undeclared class \icms_db_legacy_updater_Table
Open
$table->setStructure("mimetypeid int(11) NOT NULL auto_increment,
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
icms::$xoopsDB->queryF("INSERT INTO " . icms::$xoopsDB->prefix('configcategory') . " (confcat_id, confcat_name) VALUES ('14', '_MD_AM_PURIFIER')");
- Exclude checks
Call to method fieldExists
from undeclared class \icms_db_legacy_updater_Table
Open
if (! $table->fieldExists('login_name')) {
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
icms::$xoopsDB->queryF("UPDATE `" . icms::$xoopsDB->prefix("users") . "` SET login_name=uname");
- Exclude checks
Call to method name
from undeclared class \icms_db_legacy_updater_Table
Open
$icmsDatabaseUpdater->runQuery("ALTER TABLE `" . $table->name() . "` ADD INDEX login_name(login_name)", 'Successfully altered the index login_name on table users', '');
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(IM_CONF_CONTENT, 'num_pages', '_MD_AM_CONT_NUMPAGES', '10', '_MD_AM_CONT_NUMPAGESDSC', 'textbox', 'int', 5);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->updateModuleDBVersion($newDbVersion, 'system');
- Exclude checks
Argument 1 (string)
is ?12|?13|?14|?15|?16|?17
but \icms_conv_nr2local()
takes int
defined at /code/htdocs/include/functions.php:1231
Open
echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
icms::$xoopsDB->queryF("RENAME TABLE `" . icms::$xoopsDB->prefix("smartprofile_regstep") . "` TO `" . icms::$xoopsDB->prefix("profile_regstep") . "`");
- Exclude checks
Call to method message
from undeclared class \icms_core_Debug
Open
icms_core_Debug::message('An error occurred while executing "' . $sql . '" - ' . icms::$xoopsDB->error());
- Exclude checks
Argument 1 (string)
is ?12|?13|?14|?15|?16|?17|?18|?19
but \icms_conv_nr2local()
takes int
defined at /code/htdocs/include/functions.php:1231
Open
echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';
- Exclude checks
Reference to undeclared constant \ICMS_CONF_SEARCH
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_SEARCH, 'enable_deep_search', '_MD_AM_DODEEPSEARCH', '1', '_MD_AM_DODEEPSEARCHDSC', 'yesno', 'int', 2);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->updateModuleDBVersion($newDbVersion, 'system');
- Exclude checks
Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
Open
echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';
- Exclude checks
Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
Open
echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';
- Exclude checks
Variable $dbVersion
is undeclared Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
Open
echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF, 'sourceeditor_default', '_MD_AM_SRCEDITOR_DEFAULT', 'editarea', '_MD_AM_SRCEDITOR_DEFAULT_DESC', 'editor_source', 'text', 16);
- Exclude checks
Reference to undeclared constant \IM_CONF_AUTOTASKS
Open
$icmsDatabaseUpdater->insertConfig(IM_CONF_AUTOTASKS, 'autotasks_user', '_MD_AM_AUTOTASKS_USER', '', '_MD_AM_AUTOTASKS_USERDSC', 'text', 'text', 4);
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_HTML_DefinitionRev', '_MD_AM_PURIFIER_HTML_DEFREV', '1', '_MD_AM_PURIFIER_HTML_DEFREVDSC', 'textbox', 'int', $p++);
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_HTML_ForbiddenElements', '_MD_AM_PURIFIER_HTML_FORBIDELE', '', '_MD_AM_PURIFIER_HTML_FORBIDELEDSC', 'textsarea', 'array', $p++);
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_HTML_MaxImgLength', '_MD_AM_PURIFIER_HTML_MAXIMGLENGTH', '1200', '_MD_AM_PURIFIER_HTML_MAXIMGLENGTHDSC', 'textbox', 'int', $p++);
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_AutoFormat_PurifierLinkify', '_MD_AM_PURIFIER_AUTO_PURILINKIFY', '0', '_MD_AM_PURIFIER_AUTO_PURILINKIFYDSC', 'yesno', 'int', $p++);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_CSS_Proprietary', '_MD_AM_PURIFIER_CSS_PROPRIETARY', '1', '_MD_AM_PURIFIER_CSS_PROPRIETARYDSC', 'yesno', 'int', $p++);
- Exclude checks
Argument 1 (string)
is ?12|?13|?14|?15|?16|?17|?18|?19|?20|?21|?22|?24|?25|?26|?27|?28|?29|?30
but \icms_conv_nr2local()
takes int
defined at /code/htdocs/include/functions.php:1231
Open
echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';
- Exclude checks
Call to method fieldExists
from undeclared class \icms_db_legacy_updater_Table
Open
if (! $table->fieldExists('imgcat_foldername')) {
- Exclude checks
Reference to undeclared constant \_CPHOME
Open
"NULL, 1, '" . _CPHOME . "', 'admin.php', 1",
- Exclude checks
Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
Open
echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PLUGINS, 'code_sanitizer', '_MD_AM_SELECTSHIGHLIGHT', 'none', '_MD_AM_SELECTSHIGHLIGHT_DESC', 'select', 'text', 2);
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
$result = icms::$xoopsDB->query($sql_find);
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
icms::$xoopsDB->queryF('DELETE FROM `' . icms::$xoopsDB->prefix('block_module_link') . '` WHERE `block_id`=' . $bid);
- Exclude checks
Call to method copyRecursive
from undeclared class \icms_core_Filesystem
Open
if (icms_core_Filesystem::copyRecursive(ICMS_ROOT_PATH . '/preload', ICMS_ROOT_PATH . '/plugins/preloads')) {
- Exclude checks
Variable $dbVersion
is undeclared Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PERSONA
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PERSONA, 'pagstyle', '_MD_AM_PAGISTYLE', 'default', '_MD_AM_PAGISTYLE_DESC', 'select_paginati', 'text', 24);
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
$sql_extract_scopedsc = 'UPDATE ' . icms::$xoopsDB->prefix('config') . ' SET `conf_desc` = "_MD_AM_PURIFIER_FILTER_EXTRACTSTYLEBLKSCOPEDSC"' . ' WHERE `conf_name`="purifier_Filter_ExtractStyleBlocks_Scope"';
- Exclude checks
Argument 1 (string)
is ?12|?13|?14
but \icms_conv_nr2local()
takes int
defined at /code/htdocs/include/functions.php:1231
Open
echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
icms_core_Debug::message('An error occurred while executing "' . $sql . '" - ' . icms::$xoopsDB->error());
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->runQuery("ALTER TABLE `" . $table->name() . "` ADD INDEX login_name(login_name)", 'Successfully altered the index login_name on table users', '');
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->updateModuleDBVersion($newDbVersion, 'system');
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
$result = icms::$xoopsDB->query('SELECT * FROM `' . icms::$xoopsDB->prefix('imagecategory') . '`');
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
$result = icms::$xoopsDB->query($sql);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->updateModuleDBVersion($newDbVersion, 'system');
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_SEARCH, 'enable_deep_search', '_MD_AM_DODEEPSEARCH', '1', '_MD_AM_DODEEPSEARCHDSC', 'yesno', 'int', 2);
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
$result1 = icms::$xoopsDB->query('SELECT imgcat_id FROM `' . icms::$xoopsDB->prefix('image') . '` WHERE image_name="' . $img . '"');
- Exclude checks
Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
Open
echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';
- Exclude checks
Call to method exists
from undeclared class \icms_db_legacy_updater_Table
Open
if (! $table->exists()) {
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PERSONA
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PERSONA, 'recpubkey', '_MD_AM_RECPUBKEY', '', '_MD_AM_RECPUBKEY_DESC', 'textbox', 'text', 17);
- Exclude checks
Argument 1 (string)
is ?12|?13|?14|?15|?16|?17|?18|?19|?20|?21|?22|?24|?25|?26|?27|?28|?29|?30|?32|?33|?34|?35|?36|?37|?38|?39
but \icms_conv_nr2local()
takes int
defined at /code/htdocs/include/functions.php:1231
Open
echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';
- Exclude checks
Reference to undeclared constant \IM_CONF_AUTOTASKS
Open
$icmsDatabaseUpdater->insertConfig(IM_CONF_AUTOTASKS, 'autotasks_system', '_MD_AM_AUTOTASKS_SYSTEM', 'internal', '_MD_AM_AUTOTASKS_SYSTEMDSC', 'autotasksystem', 'text', 1);
- Exclude checks
Variable $dbVersion
is undeclared Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Reference to undeclared constant \IM_CONF_CONTENT
Open
$icmsDatabaseUpdater->insertConfig(IM_CONF_CONTENT, 'teaser_length', '_MD_AM_CONT_TEASERLENGTH', '500', '_MD_AM_CONT_TEASERLENGTHDSC', 'textbox', 'int', 6);
- Exclude checks
Variable $dbVersion
is undeclared Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Call to method handler
from undeclared class \icms
Open
$module_handler = icms::handler('icms_module');
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
icms::$xoopsDB->queryF("RENAME TABLE `" . icms::$xoopsDB->prefix("smartprofile_field") . "` TO `" . icms::$xoopsDB->prefix("profile_field") . "`");
- Exclude checks
Call to method fieldExists
from undeclared class \icms_db_legacy_updater_Table
Open
if (! $table->fieldExists('content_seo_description')) {
- Exclude checks
Call to method fieldExists
from undeclared class \icms_db_legacy_updater_Table
Open
if (! $table->fieldExists('content_seo_keywords')) {
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_URI_Base', '_MD_AM_PURIFIER_URI_BASE', addslashes($host_base), '_MD_AM_PURIFIER_URI_BASEDSC', 'textbox', 'text', $p++);
- Exclude checks
Variable $dbVersion
is undeclared Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Call to method exists
from undeclared class \icms_db_legacy_updater_Table
Open
if ($smartprofile_module && $smartprofile_module->getVar('isactive') && ! $table->exists()) {
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->updateModuleDBVersion($newDbVersion, 'system');
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_URI_DisableExternalResources', '_MD_AM_PURIFIER_URI_DISABLEEXTRES', '0', '_MD_AM_PURIFIER_URI_DISABLEEXTRESDSC', 'yesno', 'int', $p++);
- Exclude checks
Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
Open
echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PERSONA, 'use_custom_redirection', '_MD_AM_CUSTOMRED', '0', '_MD_AM_CUSTOMREDDSC', 'yesno', 'int', 9);
- Exclude checks
Reference to undeclared constant \IM_CONF_AUTOTASKS
Open
$icmsDatabaseUpdater->insertConfig(IM_CONF_AUTOTASKS, 'autotasks_helper_path', '_MD_AM_AUTOTASKS_HELPER_PATH', '/usr/bin/', '_MD_AM_AUTOTASKS_HELPER_PATHDSC', 'text', 'text', 3);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_HTML_ForbiddenAttributes', '_MD_AM_PURIFIER_HTML_FORBIDATTR', '', '_MD_AM_PURIFIER_HTML_FORBIDATTRDSC', 'textsarea', 'array', $p++);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->updateModuleDBVersion($newDbVersion, 'system');
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_URI_DisableResources', '_MD_AM_PURIFIER_URI_DISABLERES', '0', '_MD_AM_PURIFIER_URI_DISABLERESDSC', 'yesno', 'int', $p++);
- Exclude checks
Call to method exists
from undeclared class \icms_db_legacy_updater_Table
Open
if (! $table->exists()) {
- Exclude checks
Call to method addNewField
from undeclared class \icms_db_legacy_updater_Table
Open
$table->addNewField('content_seo_keywords', "text");
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_URI_AllowedSchemes', '_MD_AM_PURIFIER_URI_ALLOWSCHEME', serialize(array('http', 'https', 'mailto', 'ftp', 'nntp', 'news')), '_MD_AM_PURIFIER_URI_ALLOWSCHEMEDSC', 'textsarea', 'array', $p++);
- Exclude checks
Variable $module
is undeclared Open
icms::$xoopsDB->queryFromFile(ICMS_ROOT_PATH . "/modules/" . $module->getVar('dirname', 'n') . "/include/upgrade.sql");
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_Filter_ExtractStyleBlocks', '_MD_AM_PURIFIER_FILTER_EXTRACTSTYLEBLK', '1', '_MD_AM_PURIFIER_FILTER_EXTRACTSTYLEBLKDSC', 'yesno', 'int', $p++);
- Exclude checks
Argument 1 (string)
is ?12|?13|?14|?15|?16|?17|?18|?19|?20|?21|?22|?24|?25|?26|?27
but \icms_conv_nr2local()
takes int
defined at /code/htdocs/include/functions.php:1231
Open
echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_HTML_Doctype', '_MD_AM_PURIFIER_HTML_DOCTYPE', 'XHTML 1.0 Transitional', '_MD_AM_PURIFIER_HTML_DOCTYPEDSC', 'select', 'text', $p++);
- Exclude checks
Call to method exists
from undeclared class \icms_db_legacy_updater_Table
Open
if (! $table->exists()) {
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_Attr_EnableID', '_MD_AM_PURIFIER_ATTR_ENABLEID', '1', '_MD_AM_PURIFIER_ATTR_ENABLEIDDSC', 'yesno', 'int', $p++);
- Exclude checks
Call to method createTable
from undeclared class \icms_db_legacy_updater_Table
Open
$table->createTable();
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_AutoFormat_Linkify', '_MD_AM_PURIFIER_AUTO_LINKIFY', '1', '_MD_AM_PURIFIER_AUTO_LINKIFYDSC', 'yesno', 'int', $p++);
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_CSS_AllowedProperties', '_MD_AM_PURIFIER_CSS_ALLOWPROP', '', '_MD_AM_PURIFIER_CSS_ALLOWPROPDSC', 'textsarea', 'array', $p++);
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
$config_id = icms::$xoopsDB->getInsertId();
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
$sql = "INSERT INTO " . icms::$xoopsDB->prefix('configoption') . " (confop_id, confop_name, confop_value, conf_id)" . " VALUES" . " (NULL, 'PHP-CGI', 'php -f %path%', {$config_id}), " . " (NULL, 'wget', 'wget %url%', {$config_id}), " . " (NULL, 'Lynx', 'lynx --dump %url%', {$config_id})";
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_CSS_DefinitionRev', '_MD_AM_PURIFIER_CSS_DEFREV', '1', '_MD_AM_PURIFIER_CSS_DEFREVDSC', 'textbox', 'int', $p++);
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_URI_DisableExternalResources', '_MD_AM_PURIFIER_URI_DISABLEEXTRES', '0', '_MD_AM_PURIFIER_URI_DISABLEEXTRESDSC', 'yesno', 'int', $p++);
- Exclude checks
Argument 1 (string)
is ?12|?13|?14|?15|?16|?17|?18|?19|?20|?21|?22|?24|?25|?26|?27|?28|?29|?30|?32|?33
but \icms_conv_nr2local()
takes int
defined at /code/htdocs/include/functions.php:1231
Open
echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';
- Exclude checks
Variable $dbVersion
is undeclared Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_CSS_MaxImgLength', '_MD_AM_PURIFIER_CSS_MAXIMGLEN', '1200px', '_MD_AM_PURIFIER_CSS_MAXIMGLENDSC', 'textbox', 'text', $p++);
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_HTML_DefinitionID', '_MD_AM_PURIFIER_HTML_DEFID', 'system', '_MD_AM_PURIFIER_HTML_DEFIDDSC', 'textbox', 'text', $p++);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(IM_CONF_AUTOTASKS, 'autotasks_user', '_MD_AM_AUTOTASKS_USER', '', '_MD_AM_AUTOTASKS_USERDSC', 'text', 'text', 4);
- Exclude checks
Variable $block_positions
was undeclared, but array fields are being added to it. Open
$block_positions [$row ['pname']] = $row ['id'];
- Exclude checks
Variable $dbVersion
is undeclared Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_Filter_YouTube', '_MD_AM_PURIFIER_FILTER_ENABLEYOUTUBE', '1', '_MD_AM_PURIFIER_FILTER_ENABLEYOUTUBEDSC', 'yesno', 'int', $p++);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_HTML_SafeEmbed', '_MD_AM_PURIFIER_HTML_SAFEEMBED', '0', '_MD_AM_PURIFIER_HTML_SAFEEMBEDDSC', 'yesno', 'int', $p++);
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_Core_HiddenElements', '_MD_AM_PURIFIER_CORE_HIDDENELE', serialize(array('script', 'style')), '_MD_AM_PURIFIER_CORE_HIDDENELEDSC', 'textsarea', 'array', $p++);
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_HTML_AttrNameUseCDATA', '_MD_AM_PURIFIER_HTML_ATTRNAMEUSECDATA', '0', '_MD_AM_PURIFIER_HTML_ATTRNAMEUSECDATADSC', 'yesno', 'int', $p++);
- Exclude checks
Call to method __construct
from undeclared class \icms_db_legacy_updater_Table
Open
$table = new icms_db_legacy_updater_Table('users');
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_Core_RemoveInvalidImg', '_MD_AM_PURIFIER_CORE_REMINVIMG', '1', '_MD_AM_PURIFIER_CORE_REMINVIMGDSC', 'yesno', 'int', $p++);
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
$sql_page_update = 'UPDATE `' . icms::$xoopsDB->prefix('block_module_link') . '` SET `module_id`=1, `page_id`=' . $page_id . ' WHERE `block_id`=' . $block_id;
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_AutoFormat_RemoveEmpty', '_MD_AM_PURIFIER_AUTO_REMOVEEMPTY', '0', '_MD_AM_PURIFIER_AUTO_REMOVEEMPTYDSC', 'yesno', 'int', $p++);
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
$page_id = getDbValue(icms::$xoopsDB, 'icmspage', 'page_id', 'page_url="admin.php"');
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_Attr_AllowedFrameTargets', '_MD_AM_PURIFIER_ATTR_ALLOWFRAMETARGET', serialize(array('_blank', '_parent', '_self', '_top')), '_MD_AM_PURIFIER_ATTR_ALLOWFRAMETARGETDSC', 'textsarea', 'array', $p++);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_Attr_ClassUseCDATA', '_MD_AM_PURIFIER_ATTR_CLASSUSECDATA', '1', '_MD_AM_PURIFIER_ATTR_CLASSUSECDATADSC', 'yesno', 'int', $p++);
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_Attr_DefaultInvalidImageAlt', '_MD_AM_PURIFIER_ATTR_DEFINVIMGALT', '', '_MD_AM_PURIFIER_ATTR_DEFINVIMGALTDSC', 'textbox', 'text', $p++);
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
$sql_update = 'UPDATE `' . icms::$xoopsDB->prefix('newblocks') . '` SET `visible`=1, `side`=' . $block_positions [$admin_block [1]] . ' WHERE `bid`=' . $block_id;
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
icms::$xoopsDB->queryF('UPDATE `' . icms::$xoopsDB->prefix('config') . '`' . ' SET `conf_value`="' . addslashes(serialize($start_pages)) . '"' . ' WHERE `conf_name`="startpage"');
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_Attr_IDBlacklist', '_MD_AM_PURIFIER_ATTR_IDBLACKLIST', '', '_MD_AM_PURIFIER_ATTR_IDBLACKLISTDSC', 'textsarea', 'array', $p++);
- Exclude checks
Argument 1 (string)
is ?12|?13|?14|?15|?16|?17|?18|?19|?20|?21|?22|?24|?25|?26|?27|?28|?29|?30|?32|?33|?34
but \icms_conv_nr2local()
takes int
defined at /code/htdocs/include/functions.php:1231
Open
echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';
- Exclude checks
Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
Open
echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_Attr_IDPrefix', '_MD_AM_PURIFIER_ATTR_IDPREFIX', '', '_MD_AM_PURIFIER_ATTR_IDPREFIXDSC', 'textbox', 'text', $p++);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->runQuery($sql_extract_scope, 'Constant _MD_AM_PURIFIER_FILTER_EXTRACTSTYLEBLKSCOPE Updated', 'Unable to update Constant _MD_AM_PURIFIER_FILTER_EXTRACTSTYLEBLKSCOPE', true);
- Exclude checks
Argument 1 (string)
is ?12|?13|?14|?15|?16|?17|?18|?19|?20|?21|?22|?24|?25|?26|?27|?28|?29|?30|?32|?33|?34|?35
but \icms_conv_nr2local()
takes int
defined at /code/htdocs/include/functions.php:1231
Open
echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';
- Exclude checks
Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
Open
echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
$result1 = icms::$xoopsDB->query(
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
'SELECT * FROM `' . icms::$xoopsDB->prefix('image')
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
$result = icms::$xoopsDB->query('SELECT title, side, weight, visible, bcachetime, bid' . ' FROM `' . icms::$xoopsDB->prefix('newblocks') . '` WHERE `show_func`="b_system_waiting_show" AND `func_file`="system_blocks.php"');
- Exclude checks
Call to method name
from undeclared class \icms_db_legacy_updater_Table
Open
$icmsDatabaseUpdater->runQuery("ALTER TABLE `" . $table->name() . "` MODIFY level varchar(3) NOT NULL default '1'", 'Successfully modified field level in table users', '');
- Exclude checks
Variable $dbVersion
is undeclared Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
while (($row1 = icms::$xoopsDB->fetchArray($result1)) && ! $abortUpdate) {
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
icms::$xoopsDB->queryF('UPDATE `' . icms::$xoopsDB->prefix('newblocks') . '` SET `block_type`="S"' . ' WHERE `dirname`="system" AND `block_type`="M"');
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
$result2 = icms::$xoopsDB->query('SELECT imgcat_foldername FROM `' . icms::$xoopsDB->prefix('imagecategory') . '` WHERE imgcat_id="' . $imgcat_id . '"');
- Exclude checks
Variable $dbVersion
is undeclared Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Argument 1 (string)
is ?12|?13|?14|?15|?16|?17|?18|?19|?20|?21|?22|?24|?25|?26|?27|?28|?29|?30|?32|?33|?34|?35|?36|?37
but \icms_conv_nr2local()
takes int
defined at /code/htdocs/include/functions.php:1231
Open
echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';
- Exclude checks
Argument 1 (string)
is ?12|?13|?14|?15|?16|?17|?18|?19|?20|?21|?22|?24|?25|?26|?27|?28|?29|?30|?32
but \icms_conv_nr2local()
takes int
defined at /code/htdocs/include/functions.php:1231
Open
echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';
- Exclude checks
Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
Open
echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';
- Exclude checks
Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
Open
echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';
- Exclude checks
Call to method setData
from undeclared class \icms_db_legacy_updater_Table
Open
$table->setData($new_page);
- Exclude checks
Reference to undeclared constant \ICMS_CONF_MAILER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_MAILER, 'smtpsecure', '_MD_AM_SMTPSECURE', 'ssl', '_MD_AM_SMTPSECUREDESC', 'select', 'text', 7);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_MAILER, 'smtpsecure', '_MD_AM_SMTPSECURE', 'ssl', '_MD_AM_SMTPSECUREDESC', 'select', 'text', 7);
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
$sql_extract_escdsc = 'UPDATE ' . icms::$xoopsDB->prefix('config') . ' SET `conf_desc` = "_MD_AM_PURIFIER_FILTER_EXTRACTSTYLEESCDSC"' . ' WHERE `conf_name`="purifier_Filter_ExtractStyleBlocks_Escaping"';
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
while ($row = icms::$xoopsDB->fetchArray($result)) {
- Exclude checks
Reference to undeclared constant \_FILE_DELETED
Open
echo sprintf(_FILE_DELETED, $file) . '<br />';
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
$sql_extract_scope = 'UPDATE ' . icms::$xoopsDB->prefix('config') . ' SET `conf_title` = "_MD_AM_PURIFIER_FILTER_EXTRACTSTYLEBLKSCOPE"' . ' WHERE `conf_name`="purifier_Filter_ExtractStyleBlocks_Scope"';
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->runQuery($sql_update, $goodmsg, $badmsg, true);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->runQuery($sql_page_update, $goodmsg, $badmsg, true);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->updateModuleDBVersion($newDbVersion, 'system');
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
$start_page = getDbValue(icms::$xoopsDB, 'config', 'conf_value', 'conf_name="startpage"');
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->updateModuleDBVersion($newDbVersion, 'system');
- Exclude checks
Call to method copyRecursive
from undeclared class \icms_core_Filesystem
Open
if (icms_core_Filesystem::copyRecursive(
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->updateModuleDBVersion($newDbVersion, 'system');
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
$sql = 'UPDATE `' . icms::$xoopsDB->prefix( 'config') . '` SET `conf_order`=9 WHERE `conf_name`="sendmailpath"';
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
$config_id = icms::$xoopsDB->getInsertId();
- Exclude checks
Call to method error
from undeclared class \icms_core_Message
Open
icms_core_Message::error(sprintf(_CSSTIDY_VULN, $file));
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->updateModuleDBVersion($newDbVersion, 'system');
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_URI_Base', '_MD_AM_PURIFIER_URI_BASE', addslashes($host_base), '_MD_AM_PURIFIER_URI_BASEDSC', 'textbox', 'text', $p++);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_URI_Disable', '_MD_AM_PURIFIER_URI_DISABLE', '0', '_MD_AM_PURIFIER_URI_DISABLEDSC', 'yesno', 'int', $p++);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_URI_MakeAbsolute', '_MD_AM_PURIFIER_URI_MAKEABS', '0', '_MD_AM_PURIFIER_URI_MAKEABSDSC', 'yesno', 'int', $p++);
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
if (! icms::$xoopsDB->queryF($sql)) {
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_HTML_AllowedAttributes', '_MD_AM_PURIFIER_HTML_ALLOWATTR', serialize($HTML_Allowed_Attr), '_MD_AM_PURIFIER_HTML_ALLOWATTRDSC', 'textsarea', 'array', $p++);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_HTML_MaxImgLength', '_MD_AM_PURIFIER_HTML_MAXIMGLENGTH', '1200', '_MD_AM_PURIFIER_HTML_MAXIMGLENGTHDSC', 'textbox', 'int', $p++);
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_HTML_SafeObject', '_MD_AM_PURIFIER_HTML_SAFEOBJECT', '0', '_MD_AM_PURIFIER_HTML_SAFEOBJECTDSC', 'yesno', 'int', $p++);
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_AutoFormat_DisplayLinkURI', '_MD_AM_PURIFIER_AUTO_DISPLINKURI', '0', '_MD_AM_PURIFIER_AUTO_DISPLINKURIDSC', 'yesno', 'int', $p++);
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_Attr_AllowedFrameTargets', '_MD_AM_PURIFIER_ATTR_ALLOWFRAMETARGET', serialize(array('_blank', '_parent', '_self', '_top')), '_MD_AM_PURIFIER_ATTR_ALLOWFRAMETARGETDSC', 'textsarea', 'array', $p++);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_Attr_DefaultInvalidImage', '_MD_AM_PURIFIER_ATTR_DEFINVIMG', '', '_MD_AM_PURIFIER_ATTR_DEFINVIMGDSC', 'textbox', 'text', $p++);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_CSS_AllowImportant', '_MD_AM_PURIFIER_CSS_ALLOWIMPORTANT', '1', '_MD_AM_PURIFIER_CSS_ALLOWIMPORTANTDSC', 'yesno', 'int', $p++);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->runQuery("ALTER TABLE `" . $table->name() . "` MODIFY level varchar(3) NOT NULL default '1'", 'Successfully modified field level in table users', '');
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
$sql = 'SELECT id, pname FROM ' . icms::$xoopsDB->prefix('block_positions') . ' WHERE pname = "page_topleft_admin"' . ' OR pname = "page_topright_admin"' . ' OR pname = "page_topcenter_admin"';
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->runQuery($sql_welcome_msg_content, 'Welcome message form type successfully updated', 'Unable to update the welcome message form type', true);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->updateModuleDBVersion($newDbVersion, 'system');
- Exclude checks
Argument 1 (string)
is ?12|?13|?14|?15|?16|?17|?18|?19|?20|?21|?22|?24|?25|?26|?27|?28|?29|?30|?32|?33|?34|?35|?36
but \icms_conv_nr2local()
takes int
defined at /code/htdocs/include/functions.php:1231
Open
echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
if (!icms::$xoopsDB->queryF($sql)) $abortUpdate = true;
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_URI_HostBlacklist', '_MD_AM_PURIFIER_URI_BLACKLIST', '', '_MD_AM_PURIFIER_URI_BLACKLISTDSC', 'textsarea', 'array', $p++);
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
if (getDbValue(icms::$xoopsDB, 'configcategory', 'confcat_name', 'confcat_name="_MD_AM_PURIFIER"') == FALSE) {
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_AutoFormat_RemoveEmptyNbspExceptions', '_MD_AM_PURIFIER_AUTO_REMOVEEMPTYNBSPEXCEPT', serialize(array('td', 'th')), '_MD_AM_PURIFIER_AUTO_REMOVEEMPTYNBSPEXCEPTDSC', 'textsarea', 'array', $p++);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_Attr_AllowedClasses', '_MD_AM_PURIFIER_ATTR_ALLOWCLASSES', '', '_MD_AM_PURIFIER_ATTR_ALLOWCLASSESDSC', 'textsarea', 'array', $p++);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_Attr_ForbiddenClasses', '_MD_AM_PURIFIER_ATTR_FORBIDDENCLASSES', '', '_MD_AM_PURIFIER_ATTR_FORBIDDENCLASSESDSC', 'textsarea', 'array', $p++);
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_Attr_ClassUseCDATA', '_MD_AM_PURIFIER_ATTR_CLASSUSECDATA', '1', '_MD_AM_PURIFIER_ATTR_CLASSUSECDATADSC', 'yesno', 'int', $p++);
- Exclude checks
Call to method name
from undeclared class \icms_db_legacy_updater_Table
Open
$icmsDatabaseUpdater->runQuery("ALTER TABLE `" . $table->name() . "` MODIFY conf_name VARCHAR(75) NOT NULL default ''", 'Successfully altered field conf_name in config', '');
- Exclude checks
Call to method addNewField
from undeclared class \icms_db_legacy_updater_Table
Open
$table->addNewField('imgcat_pid', "smallint(5) unsigned NOT NULL default '0'");
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_URI_Disable', '_MD_AM_PURIFIER_URI_DISABLE', '0', '_MD_AM_PURIFIER_URI_DISABLEDSC', 'yesno', 'int', $p++);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->updateModuleDBVersion($newDbVersion, 'system');
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_URI_DisableExternal', '_MD_AM_PURIFIER_URI_DISABLEEXT', '0', '_MD_AM_PURIFIER_URI_DISABLEEXTDSC', 'yesno', 'int', $p++);
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
$sql_find = 'SELECT bid FROM `' . icms::$xoopsDB->prefix('newblocks') . '` WHERE show_func="' . $admin_block [0] . '"';
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_HTML_DefinitionRev', '_MD_AM_PURIFIER_HTML_DEFREV', '1', '_MD_AM_PURIFIER_HTML_DEFREVDSC', 'textbox', 'int', $p++);
- Exclude checks
Call to method handler
from undeclared class \icms
Open
$groups = icms::handler('icms_member_group')->getObjects(NULL, true);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_Filter_ExtractStyleBlocks_Scope', '_MD_AM_PURIFIER_FILTERPARAM_EXTRACTSTYLEBLKSCOPE', '', '_MD_AM_PURIFIER_FILTERPARAM_EXTRACTSTYLEBLKSCOPEDSC', 'textsarea', 'text', $p++);
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
icms::$xoopsDB->queryF("DELETE FROM `" . icms::$xoopsDB->prefix('config') . "` WHERE conf_name='use_hidden'");
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_Core_HiddenElements', '_MD_AM_PURIFIER_CORE_HIDDENELE', serialize(array('script', 'style')), '_MD_AM_PURIFIER_CORE_HIDDENELEDSC', 'textsarea', 'array', $p++);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->runQuery($sql_extract_escdsc, 'Constant _MD_AM_PURIFIER_FILTER_EXTRACTSTYLEESCDSC Updated', 'Unable to update Constant _MD_AM_PURIFIER_FILTER_EXTRACTSTYLEESCDSC', true);
- Exclude checks
Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
Open
echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_AutoFormat_AutoParagraph', '_MD_AM_PURIFIER_AUTO_AUTOPARA', '0', '_MD_AM_PURIFIER_AUTO_AUTOPARADSC', 'yesno', 'int', $p++);
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
'UPDATE `' . icms::$xoopsDB->prefix('imagecategory')
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_Attr_AllowedRel', '_MD_AM_PURIFIER_ATTR_ALLOWREL', serialize(array('external', 'nofollow', 'external nofollow', 'lightbox')), '_MD_AM_PURIFIER_ATTR_ALLOWRELDSC', 'textsarea', 'array', $p++);
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
$sql = "INSERT INTO " . icms::$xoopsDB->prefix('configoption') . " (confop_id, confop_name, confop_value, conf_id)" . " VALUES" . " (NULL, '_MD_AM_PURIFIER_401T', 'HTML 4.01 Transitional', {$config_id}), "
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->updateTable($table);
- Exclude checks
Argument 1 (string)
is ?12|?13|?14|?15|?16|?17|?18|?19|?20|?21|?22|?24|?25|?26|?27|?28|?29|?30|?32|?33|?34|?35|?36|?37|?38|?39|?40
but \icms_conv_nr2local()
takes int
defined at /code/htdocs/include/functions.php:1231
Open
echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
icms::$xoopsDB->queryF('DELETE FROM `' . icms::$xoopsDB->prefix('newblocks') . '` WHERE `bid`=' . $bid);
- Exclude checks
Variable $start_pages
was undeclared, but array fields are being added to it. Open
$start_pages [$groupid] = $start_page;
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
icms::$xoopsDB->queryF('UPDATE `' . icms::$xoopsDB->prefix('config') . '` SET conf_value="' . $new_conf_value . '" WHERE conf_id=' . $conf_id);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->updateModuleDBVersion($newDbVersion, 'system');
- Exclude checks
Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
Open
echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_URI_DefinitionRev', '_MD_AM_PURIFIER_URI_DEFREV', '1', '_MD_AM_PURIFIER_URI_DEFREVDSC', 'textbox', 'int', $p++);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_URI_HostBlacklist', '_MD_AM_PURIFIER_URI_BLACKLIST', '', '_MD_AM_PURIFIER_URI_BLACKLISTDSC', 'textsarea', 'array', $p++);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_HTML_DefinitionID', '_MD_AM_PURIFIER_HTML_DEFID', 'system', '_MD_AM_PURIFIER_HTML_DEFIDDSC', 'textbox', 'text', $p++);
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_Filter_ExtractStyleBlocks_Scope', '_MD_AM_PURIFIER_FILTERPARAM_EXTRACTSTYLEBLKSCOPE', '', '_MD_AM_PURIFIER_FILTERPARAM_EXTRACTSTYLEBLKSCOPEDSC', 'textsarea', 'text', $p++);
- Exclude checks
Call to method setStructure
from undeclared class \icms_db_legacy_updater_Table
Open
$table->setStructure("sat_id int(10) unsigned NOT NULL AUTO_INCREMENT,
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_Core_EscapeNonASCIICharacters', '_MD_AM_PURIFIER_CORE_ESCNONASCIICHARS', '1', '_MD_AM_PURIFIER_CORE_ESCNONASCIICHARSDSC', 'yesno', 'int', $p++);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_AutoFormat_Linkify', '_MD_AM_PURIFIER_AUTO_LINKIFY', '1', '_MD_AM_PURIFIER_AUTO_LINKIFYDSC', 'yesno', 'int', $p++);
- Exclude checks
Reference to undeclared constant \IM_CONF_AUTOTASKS
Open
$icmsDatabaseUpdater->insertConfig(IM_CONF_AUTOTASKS, 'autotasks_helper', '_MD_AM_AUTOTASKS_HELPER', 'wget %url%', '_MD_AM_AUTOTASKS_HELPERDSC', 'select', 'text', 2);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_AutoFormat_Custom', '_MD_AM_PURIFIER_AUTO_CUSTOM', '', '_MD_AM_PURIFIER_AUTO_CUSTOMDSC', 'textsarea', 'array', $p++);
- Exclude checks
Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
Open
echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_Attr_EnableID', '_MD_AM_PURIFIER_ATTR_ENABLEID', '1', '_MD_AM_PURIFIER_ATTR_ENABLEIDDSC', 'yesno', 'int', $p++);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_URI_DefinitionID', '_MD_AM_PURIFIER_URI_DEFID', 'system', '_MD_AM_PURIFIER_URI_DEFIDDSC', 'textbox', 'text', $p++);
- Exclude checks
Variable $dbVersion
is undeclared Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_URI_DisableExternal', '_MD_AM_PURIFIER_URI_DISABLEEXT', '0', '_MD_AM_PURIFIER_URI_DISABLEEXTDSC', 'yesno', 'int', $p++);
- Exclude checks
Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
Open
echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_URI_MakeAbsolute', '_MD_AM_PURIFIER_URI_MAKEABS', '0', '_MD_AM_PURIFIER_URI_MAKEABSDSC', 'yesno', 'int', $p++);
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_HTML_AllowedElements', '_MD_AM_PURIFIER_HTML_ALLOWELE', serialize($HTML_Allowed_Elms), '_MD_AM_PURIFIER_HTML_ALLOWELEDSC', 'textsarea', 'array', $p++);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_HTML_AllowedElements', '_MD_AM_PURIFIER_HTML_ALLOWELE', serialize($HTML_Allowed_Elms), '_MD_AM_PURIFIER_HTML_ALLOWELEDSC', 'textsarea', 'array', $p++);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_Filter_ExtractStyleBlocks_Escaping', '_MD_AM_PURIFIER_FILTERPARAM_EXTRACTSTYLEESC', '1', '_MD_AM_PURIFIER_FILTERPARAM_EXTRACTSTYLEESCDSC', 'yesno', 'int', $p++);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_AutoFormat_AutoParagraph', '_MD_AM_PURIFIER_AUTO_AUTOPARA', '0', '_MD_AM_PURIFIER_AUTO_AUTOPARADSC', 'yesno', 'int', $p++);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_Attr_DefaultInvalidImageAlt', '_MD_AM_PURIFIER_ATTR_DEFINVIMGALT', '', '_MD_AM_PURIFIER_ATTR_DEFINVIMGALTDSC', 'textbox', 'text', $p++);
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_Attr_DefaultImageAlt', '_MD_AM_PURIFIER_ATTR_DEFIMGALT', '', '_MD_AM_PURIFIER_ATTR_DEFIMGALTDSC', 'textbox', 'text', $p++);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_Attr_IDBlacklist', '_MD_AM_PURIFIER_ATTR_IDBLACKLIST', '', '_MD_AM_PURIFIER_ATTR_IDBLACKLISTDSC', 'textsarea', 'array', $p++);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_CSS_AllowTricky', '_MD_AM_PURIFIER_CSS_ALLOWTRICKY', '1', '_MD_AM_PURIFIER_CSS_ALLOWTRICKYDSC', 'yesno', 'int', $p++);
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_CSS_MaxImgLength', '_MD_AM_PURIFIER_CSS_MAXIMGLEN', '1200px', '_MD_AM_PURIFIER_CSS_MAXIMGLENDSC', 'textbox', 'text', $p++);
- Exclude checks
Call to method __construct
from undeclared class \icms_db_legacy_updater_Table
Open
$table = new icms_db_legacy_updater_Table('icmspage');
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
list($title, $side, $weight, $visible, $bcachetime, $bid) = icms::$xoopsDB->fetchRow($result);
- Exclude checks
Variable $dbVersion
is undeclared Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
$sql_extract_esc = 'UPDATE ' . icms::$xoopsDB->prefix('config') . ' SET `conf_formtype` = "textsarea"' . ' WHERE `conf_modid` =0 AND `conf_formtype` = "textarea"';
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
$result = icms::$xoopsDB->query( $sql);
- Exclude checks
Reference to undeclared constant \_CSSTIDY_VULN
Open
icms_core_Message::error(sprintf(_CSSTIDY_VULN, $file));
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(IM_CONF_AUTOTASKS, 'autotasks_helper', '_MD_AM_AUTOTASKS_HELPER', 'wget %url%', '_MD_AM_AUTOTASKS_HELPERDSC', 'select', 'text', 2);
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_URI_Host', '_MD_AM_PURIFIER_URI_HOST', addslashes($host_domain), '_MD_AM_PURIFIER_URI_HOSTDSC', 'textbox', 'text', $p++);
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_URI_AllowedSchemes', '_MD_AM_PURIFIER_URI_ALLOWSCHEME', serialize(array('http', 'https', 'mailto', 'ftp', 'nntp', 'news')), '_MD_AM_PURIFIER_URI_ALLOWSCHEMEDSC', 'textsarea', 'array', $p++);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_HTML_Doctype', '_MD_AM_PURIFIER_HTML_DOCTYPE', 'XHTML 1.0 Transitional', '_MD_AM_PURIFIER_HTML_DOCTYPEDSC', 'select', 'text', $p++);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_Core_EscapeNonASCIICharacters', '_MD_AM_PURIFIER_CORE_ESCNONASCIICHARS', '1', '_MD_AM_PURIFIER_CORE_ESCNONASCIICHARSDSC', 'yesno', 'int', $p++);
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_AutoFormat_Custom', '_MD_AM_PURIFIER_AUTO_CUSTOM', '', '_MD_AM_PURIFIER_AUTO_CUSTOMDSC', 'textsarea', 'array', $p++);
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_Attr_IDPrefixLocal', '_MD_AM_PURIFIER_ATTR_IDPREFIXLOCAL', '', '_MD_AM_PURIFIER_ATTR_IDPREFIXLOCALDSC', 'textbox', 'text', $p++);
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_CSS_AllowImportant', '_MD_AM_PURIFIER_CSS_ALLOWIMPORTANT', '1', '_MD_AM_PURIFIER_CSS_ALLOWIMPORTANTDSC', 'yesno', 'int', $p++);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->updateModuleDBVersion($newDbVersion, 'system');
- Exclude checks
Call to method fieldExists
from undeclared class \icms_db_legacy_updater_Table
Open
if ($table->fieldExists('level')) {
- Exclude checks
Variable $dbVersion
is undeclared Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
$result = icms::$xoopsDB->query($sql);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->runQuery($sql_extract_esc, 'Constant _MD_AM_PURIFIER_FILTER_EXTRACTSTYLEESC Updated', 'Unable to update Constant _MD_AM_PURIFIER_FILTER_EXTRACTSTYLEESC', true);
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
icms::$xoopsDB->queryF(
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->updateModuleDBVersion($newDbVersion, 'system');
- Exclude checks
Variable $dbVersion
is undeclared Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(IM_CONF_AUTOTASKS, 'autotasks_helper_path', '_MD_AM_AUTOTASKS_HELPER_PATH', '/usr/bin/', '_MD_AM_AUTOTASKS_HELPER_PATHDSC', 'text', 'text', 3);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_HTML_ForbiddenElements', '_MD_AM_PURIFIER_HTML_FORBIDELE', '', '_MD_AM_PURIFIER_HTML_FORBIDELEDSC', 'textsarea', 'array', $p++);
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_Filter_ExtractStyleBlocks_Escaping', '_MD_AM_PURIFIER_FILTERPARAM_EXTRACTSTYLEESC', '1', '_MD_AM_PURIFIER_FILTERPARAM_EXTRACTSTYLEESCDSC', 'yesno', 'int', $p++);
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_Core_RemoveInvalidImg', '_MD_AM_PURIFIER_CORE_REMINVIMG', '1', '_MD_AM_PURIFIER_CORE_REMINVIMGDSC', 'yesno', 'int', $p++);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_AutoFormat_DisplayLinkURI', '_MD_AM_PURIFIER_AUTO_DISPLINKURI', '0', '_MD_AM_PURIFIER_AUTO_DISPLINKURIDSC', 'yesno', 'int', $p++);
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_AutoFormat_RemoveEmpty', '_MD_AM_PURIFIER_AUTO_REMOVEEMPTY', '0', '_MD_AM_PURIFIER_AUTO_REMOVEEMPTYDSC', 'yesno', 'int', $p++);
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_Attr_AllowedClasses', '_MD_AM_PURIFIER_ATTR_ALLOWCLASSES', '', '_MD_AM_PURIFIER_ATTR_ALLOWCLASSESDSC', 'textsarea', 'array', $p++);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_Attr_DefaultImageAlt', '_MD_AM_PURIFIER_ATTR_DEFIMGALT', '', '_MD_AM_PURIFIER_ATTR_DEFIMGALTDSC', 'textbox', 'text', $p++);
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_Attr_IDPrefix', '_MD_AM_PURIFIER_ATTR_IDPREFIX', '', '_MD_AM_PURIFIER_ATTR_IDPREFIXDSC', 'textbox', 'text', $p++);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_Attr_IDPrefixLocal', '_MD_AM_PURIFIER_ATTR_IDPREFIXLOCAL', '', '_MD_AM_PURIFIER_ATTR_IDPREFIXLOCALDSC', 'textbox', 'text', $p++);
- Exclude checks
Variable $dbVersion
is undeclared Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
list($imgcat_id) = icms::$xoopsDB->fetchRow($result1);
- Exclude checks
Argument 1 (string)
is ?12|?13|?14|?15|?16|?17|?18|?19|?20|?21|?22|?24|?25|?26|?27|?28|?29|?30|?32|?33|?34|?35|?36|?37|?38
but \icms_conv_nr2local()
takes int
defined at /code/htdocs/include/functions.php:1231
Open
echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
$sql = "INSERT INTO " . icms::$xoopsDB->prefix('configoption') . " (confop_id, confop_name, confop_value, conf_id)"
- Exclude checks
Reference to undeclared constant \ICMS_CONF_MAILER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_MAILER, 'smtpauthport', '_MD_AM_SMTPAUTHPORT', '465', '_MD_AM_SMTPAUTHPORTDESC', 'textbox', 'int', 8);
- Exclude checks
Argument 1 (string)
is ?12|?13|?14|?15|?16|?17|?18|?19|?20|?21|?22|?24|?25|?26|?27|?28
but \icms_conv_nr2local()
takes int
defined at /code/htdocs/include/functions.php:1231
Open
echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->runQuery("ALTER TABLE `" . $table->name() . "` MODIFY conf_name VARCHAR(75) NOT NULL default ''", 'Successfully altered field conf_name in config', '');
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'enable_purifier', '_MD_AM_PURIFIER_ENABLE', '1', '_MD_AM_PURIFIER_ENABLEDSC', 'yesno', 'int', $p++);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_URI_Host', '_MD_AM_PURIFIER_URI_HOST', addslashes($host_domain), '_MD_AM_PURIFIER_URI_HOSTDSC', 'textbox', 'text', $p++);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_HTML_AttrNameUseCDATA', '_MD_AM_PURIFIER_HTML_ATTRNAMEUSECDATA', '0', '_MD_AM_PURIFIER_HTML_ATTRNAMEUSECDATADSC', 'yesno', 'int', $p++);
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_Filter_ExtractStyleBlocks', '_MD_AM_PURIFIER_FILTER_EXTRACTSTYLEBLK', '1', '_MD_AM_PURIFIER_FILTER_EXTRACTSTYLEBLKDSC', 'yesno', 'int', $p++);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_AutoFormat_RemoveEmptyNbspExceptions', '_MD_AM_PURIFIER_AUTO_REMOVEEMPTYNBSPEXCEPT', serialize(array('td', 'th')), '_MD_AM_PURIFIER_AUTO_REMOVEEMPTYNBSPEXCEPTDSC', 'textsarea', 'array', $p++);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_Attr_AllowedRel', '_MD_AM_PURIFIER_ATTR_ALLOWREL', serialize(array('external', 'nofollow', 'external nofollow', 'lightbox')), '_MD_AM_PURIFIER_ATTR_ALLOWRELDSC', 'textsarea', 'array', $p++);
- Exclude checks
Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
Open
echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';
- Exclude checks
Call to method addNewField
from undeclared class \icms_db_legacy_updater_Table
Open
$table->addNewField('imgcat_foldername', "varchar(100) default ''");
- Exclude checks
Variable $dbVersion
is undeclared Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
$sql_welcome_msg_content = 'UPDATE ' . icms::$xoopsDB->prefix('config') . ' SET `conf_formtype` = "textsarea"' . ' WHERE `conf_name`="welcome_msg_content"';
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
while (list($conf_id, $conf_value) = icms::$xoopsDB->fetchRow($result)) {
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_MAILER, 'smtpauthport', '_MD_AM_SMTPAUTHPORT', '465', '_MD_AM_SMTPAUTHPORTDESC', 'textbox', 'int', 8);
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_URI_DefinitionRev', '_MD_AM_PURIFIER_URI_DEFREV', '1', '_MD_AM_PURIFIER_URI_DEFREVDSC', 'textbox', 'int', $p++);
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_URI_DisableResources', '_MD_AM_PURIFIER_URI_DISABLERES', '0', '_MD_AM_PURIFIER_URI_DISABLERESDSC', 'yesno', 'int', $p++);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_HTML_TidyLevel', '_MD_AM_PURIFIER_HTML_TIDYLEVEL', 'medium', '_MD_AM_PURIFIER_HTML_TIDYLEVELDSC', 'select', 'text', $p++);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_HTML_SafeObject', '_MD_AM_PURIFIER_HTML_SAFEOBJECT', '0', '_MD_AM_PURIFIER_HTML_SAFEOBJECTDSC', 'yesno', 'int', $p++);
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_CSS_DefinitionRev', '_MD_AM_PURIFIER_CSS_DEFREV', '1', '_MD_AM_PURIFIER_CSS_DEFREVDSC', 'textbox', 'int', $p++);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_CSS_AllowedProperties', '_MD_AM_PURIFIER_CSS_ALLOWPROP', '', '_MD_AM_PURIFIER_CSS_ALLOWPROPDSC', 'textsarea', 'array', $p++);
- Exclude checks
Call to method fieldExists
from undeclared class \icms_db_legacy_updater_Table
Open
if (! $table->fieldExists('imgcat_pid')) {
- Exclude checks
Call to method addData
from undeclared class \icms_db_legacy_updater_Table
Open
$table->addData();
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
icms::$xoopsDB->queryF('UPDATE `' . icms::$xoopsDB->prefix('newblocks') . '` SET `title`="' . $title . '", `side`=' . $side . ', `weight`=' . $weight . ', `visible`=' . $visible . ', `bcachetime`=' . $bcachetime . ' WHERE `show_func`="b_system_waiting_show" AND `func_file`="system_waiting.php"');
- Exclude checks
Call to method mkdir
from undeclared class \icms_core_Filesystem
Open
$purifier_path = icms_core_Filesystem::mkdir(ICMS_TRUST_PATH . '/cache/htmlpurifier');
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->runQuery($sql_extract_scopedsc, 'Constant _MD_AM_PURIFIER_FILTER_EXTRACTSTYLEBLKSCOPEDSC Updated', 'Unable to update Constant _MD_AM_PURIFIER_FILTER_EXTRACTSTYLEBLKSCOPEDSC', true);
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
while ($row = icms::$xoopsDB->fetchArray($result)) {
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
list($imgcat_foldername) = icms::$xoopsDB->fetchRow($result2);
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
$result = icms::$xoopsDB->query($sql);
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_HTML_TidyLevel', '_MD_AM_PURIFIER_HTML_TIDYLEVEL', 'medium', '_MD_AM_PURIFIER_HTML_TIDYLEVELDSC', 'select', 'text', $p++);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'enable_purifier', '_MD_AM_PURIFIER_ENABLE', '1', '_MD_AM_PURIFIER_ENABLEDSC', 'yesno', 'int', $p++);
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
$config_id = icms::$xoopsDB->getInsertId();
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
$sql = "INSERT INTO " . icms::$xoopsDB->prefix('configoption') . " (confop_id, confop_name, confop_value, conf_id)" . " VALUES" . " (NULL, '_MD_AM_PURIFIER_NONE', 'none', {$config_id}), " . " (NULL, '_MD_AM_PURIFIER_LIGHT', 'light', {$config_id}), " . " (NULL, '_MD_AM_PURIFIER_MEDIUM', 'medium', {$config_id}), " . " (NULL, '_MD_AM_PURIFIER_HEAVY', 'heavy', {$config_id})";
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_HTML_AllowedAttributes', '_MD_AM_PURIFIER_HTML_ALLOWATTR', serialize($HTML_Allowed_Attr), '_MD_AM_PURIFIER_HTML_ALLOWATTRDSC', 'textsarea', 'array', $p++);
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_Attr_DefaultInvalidImage', '_MD_AM_PURIFIER_ATTR_DEFINVIMG', '', '_MD_AM_PURIFIER_ATTR_DEFINVIMGDSC', 'textbox', 'text', $p++);
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_HTML_ForbiddenAttributes', '_MD_AM_PURIFIER_HTML_FORBIDATTR', '', '_MD_AM_PURIFIER_HTML_FORBIDATTRDSC', 'textsarea', 'array', $p++);
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_CSS_AllowTricky', '_MD_AM_PURIFIER_CSS_ALLOWTRICKY', '1', '_MD_AM_PURIFIER_CSS_ALLOWTRICKYDSC', 'yesno', 'int', $p++);
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_HTML_SafeEmbed', '_MD_AM_PURIFIER_HTML_SAFEEMBED', '0', '_MD_AM_PURIFIER_HTML_SAFEEMBEDDSC', 'yesno', 'int', $p++);
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_CSS_Proprietary', '_MD_AM_PURIFIER_CSS_PROPRIETARY', '1', '_MD_AM_PURIFIER_CSS_PROPRIETARYDSC', 'yesno', 'int', $p++);
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->updateModuleDBVersion($newDbVersion, 'system');
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_Filter_YouTube', '_MD_AM_PURIFIER_FILTER_ENABLEYOUTUBE', '1', '_MD_AM_PURIFIER_FILTER_ENABLEYOUTUBEDSC', 'yesno', 'int', $p++);
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
$sql_extract_esc = 'UPDATE ' . icms::$xoopsDB->prefix('config') . ' SET `conf_title` = "_MD_AM_PURIFIER_FILTER_EXTRACTSTYLEESC"' . ' WHERE `conf_name`="purifier_Filter_ExtractStyleBlocks_Escaping"';
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_AutoFormat_PurifierLinkify', '_MD_AM_PURIFIER_AUTO_PURILINKIFY', '0', '_MD_AM_PURIFIER_AUTO_PURILINKIFYDSC', 'yesno', 'int', $p++);
- Exclude checks
Call to method mkdir
from undeclared class \icms_core_Filesystem
Open
if (FALSE === icms_core_Filesystem::mkdir(ICMS_IMANAGER_FOLDER_PATH . '/' . $new_folder)) {
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
$myrow = icms::$xoopsDB->fetchArray($result);
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_AutoFormat_RemoveEmptyNbsp', '_MD_AM_PURIFIER_AUTO_REMOVEEMPTYNBSP', '0', '_MD_AM_PURIFIER_AUTO_REMOVEEMPTYNBSPDSC', 'yesno', 'int', $p++);
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
if (!icms::$xoopsDB->queryF($sql)) $abortUpdate = true;
- Exclude checks
Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
Open
echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_AutoFormat_RemoveEmptyNbsp', '_MD_AM_PURIFIER_AUTO_REMOVEEMPTYNBSP', '0', '_MD_AM_PURIFIER_AUTO_REMOVEEMPTYNBSPDSC', 'yesno', 'int', $p++);
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_Attr_ForbiddenClasses', '_MD_AM_PURIFIER_ATTR_FORBIDDENCLASSES', '', '_MD_AM_PURIFIER_ATTR_FORBIDDENCLASSESDSC', 'textsarea', 'array', $p++);
- Exclude checks
Argument 1 (string)
is ?12|?13|?14|?15|?16|?17|?18|?19|?20|?21|?22|?24|?25|?26|?27|?28|?29
but \icms_conv_nr2local()
takes int
defined at /code/htdocs/include/functions.php:1231
Open
echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->updateModuleDBVersion($newDbVersion, 'system');
- Exclude checks
Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
Open
echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';
- Exclude checks
Call to method __construct
from undeclared class \icms_db_legacy_updater_Table
Open
$table = new icms_db_legacy_updater_Table('imagecategory');
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
list($block_id) = icms::$xoopsDB->fetchRow($result);
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
icms::$xoopsDB->queryF("DELETE FROM `" . icms::$xoopsDB->prefix('config') . "` WHERE conf_name='multi_login_msg'");
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
$result = icms::$xoopsDB->query('SELECT conf_id, conf_value FROM `' . icms::$xoopsDB->prefix('config') . '` WHERE conf_name = "adm_left_logo" or conf_name = "adm_right_logo"');
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->runQuery($sql_extract_esc, 'System Preferences textarea controls set to textsarea', true);
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
$sql = "SELECT conf_id FROM " . icms::$xoopsDB->prefix('config') . " WHERE conf_name='purifier_HTML_Doctype'";
- Exclude checks
Identical blocks of code found in 2 locations. Consider refactoring. Open
$HTML_Allowed_Attr = array('a.class', 'a.href', 'a.id', 'a.name', 'a.rev', 'a.style', 'a.title', 'a.target', 'a.rel', 'abbr.title', 'acronym.title', 'blockquote.cite', 'div.align', 'div.style', 'div.class', 'div.id', 'font.size', 'font.color', 'h1.style', 'h2.style', 'h3.style', 'h4.style', 'h5.style', 'h6.style', 'img.src', 'img.alt', 'img.title', 'img.class', 'img.align', 'img.style', 'img.height', 'img.width', 'li.style', 'ol.style', 'p.style', 'span.style', 'span.class', 'span.id', 'table.class', 'table.id', 'table.border', 'table.cellpadding', 'table.cellspacing', 'table.style', 'table.width', 'td.abbr', 'td.align', 'td.class', 'td.id', 'td.colspan', 'td.rowspan', 'td.style', 'td.valign', 'tr.align', 'tr.class', 'tr.id', 'tr.style', 'tr.valign', 'th.abbr', 'th.align', 'th.class', 'th.id', 'th.colspan', 'th.rowspan', 'th.style', 'th.valign', 'ul.style');
- Read upRead up
Duplicated Code
Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).
Tuning
This issue has a mass of 203.
We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.
The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.
If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.
See codeclimate-duplication
's documentation for more information about tuning the mass threshold in your .codeclimate.yml
.
Refactorings
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
Blank line found at start of control structure Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE" Open
if (getDbValue(icms::$xoopsDB, 'configcategory', 'confcat_name', 'confcat_name="_MD_AM_PLUGINS"') == FALSE) {
- Exclude checks
Tabs must be used to indent lines; spaces are not allowed Open
echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';
- Exclude checks
Expected 1 space after comma in function call; 2 found Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_HTML_AllowedElements', '_MD_AM_PURIFIER_HTML_ALLOWELE', serialize($HTML_Allowed_Elms), '_MD_AM_PURIFIER_HTML_ALLOWELEDSC', 'textsarea', 'array', $p++);
- Exclude checks
Expected 1 space after comma in function call; 2 found Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_HTML_AllowedAttributes', '_MD_AM_PURIFIER_HTML_ALLOWATTR', serialize($HTML_Allowed_Attr), '_MD_AM_PURIFIER_HTML_ALLOWATTRDSC', 'textsarea', 'array', $p++);
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE" Open
if (getDbValue(icms::$xoopsDB, 'configcategory', 'confcat_name', 'confcat_name="_MD_AM_CAPTCHA"') == FALSE) {
- Exclude checks
Expected 1 space after comma in function call; 2 found Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_AutoFormat_RemoveEmptyNbspExceptions', '_MD_AM_PURIFIER_AUTO_REMOVEEMPTYNBSPEXCEPT', serialize(array('td', 'th')), '_MD_AM_PURIFIER_AUTO_REMOVEEMPTYNBSPEXCEPTDSC', 'textsarea', 'array', $p++);
- Exclude checks
Blank line found at start of control structure Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Blank line found at end of control structure Open
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE" Open
if (getDbValue(icms::$xoopsDB, 'configcategory', 'confcat_name', 'confcat_name="_MD_AM_AUTOTASKS"') == FALSE) {
- Exclude checks
Expected 1 space after comma in function call; 2 found Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_URI_AllowedSchemes', '_MD_AM_PURIFIER_URI_ALLOWSCHEME', serialize(array('http', 'https', 'mailto', 'ftp', 'nntp', 'news')), '_MD_AM_PURIFIER_URI_ALLOWSCHEMEDSC', 'textsarea', 'array', $p++);
- Exclude checks
Expected 1 space after comma in function call; 2 found Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_Attr_AllowedFrameTargets', '_MD_AM_PURIFIER_ATTR_ALLOWFRAMETARGET', serialize(array('_blank', '_parent', '_self', '_top')), '_MD_AM_PURIFIER_ATTR_ALLOWFRAMETARGETDSC', 'textsarea', 'array', $p++);
- Exclude checks
Blank line found at start of control structure Open
if (is_writable(ICMS_IMANAGER_FOLDER_PATH)) {
- Exclude checks
Expected 1 space after comma in function call; 2 found Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PLUGINS, 'sanitizer_plugins', '_MD_AM_SELECTSPLUGINS', serialize(array('')), '_MD_AM_SELECTSPLUGINS_DESC', 'select_plugin', 'array', 1);
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE" Open
if (FALSE === $abortUpdate) {
- Exclude checks
Expected 1 space after comma in function call; 2 found Open
$icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'purifier_Core_HiddenElements', '_MD_AM_PURIFIER_CORE_HIDDENELE', serialize(array('script', 'style')), '_MD_AM_PURIFIER_CORE_HIDDENELEDSC', 'textsarea', 'array', $p++);
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE" Open
if (FALSE === icms_core_Filesystem::mkdir(ICMS_IMANAGER_FOLDER_PATH . '/' . $new_folder)) {
- Exclude checks
Blank line found at end of control structure Open
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE" Open
if (getDbValue(icms::$xoopsDB, 'configcategory', 'confcat_name', 'confcat_name="_MD_AM_PURIFIER"') == FALSE) {
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL" Open
$groups = icms::handler('icms_member_group')->getObjects(NULL, true);
- Exclude checks
Tabs must be used to indent lines; spaces are not allowed Open
} else {
- Exclude checks
Inline control structures are not allowed Open
if (!$abortUpdate) $newDbVersion = 22;
- Exclude checks
Inline control structures are not allowed Open
if (!$abortUpdate) $newDbVersion = 16;
- Exclude checks
Inline control structures are not allowed Open
if (!$abortUpdate) $newDbVersion = 18;
- Exclude checks
Inline control structures are not allowed Open
if (!$abortUpdate) $newDbVersion = 20;
- Exclude checks
Inline control structures are not allowed Open
if (!$abortUpdate) $newDbVersion = 17;
- Exclude checks
Inline control structures are not allowed Open
if (!$abortUpdate) $newDbVersion = 19;
- Exclude checks
Inline control structures are not allowed Open
if (!$abortUpdate) $newDbVersion = 37;
- Exclude checks
Inline control structures are not allowed Open
if (!$abortUpdate) $newDbVersion = 38;
- Exclude checks
Inline control structures are not allowed Open
if (!icms::$xoopsDB->queryF($sql)) $abortUpdate = true;
- Exclude checks
Inline control structures are not allowed Open
if (!$abortUpdate) $newDbVersion = 15;
- Exclude checks
Inline control structures are not allowed Open
if (!$abortUpdate) $newDbVersion = 25;
- Exclude checks
Inline control structures are not allowed Open
if (!$abortUpdate) $newDbVersion = 34;
- Exclude checks
Inline control structures are not allowed Open
if (!$abortUpdate) $newDbVersion = 36;
- Exclude checks
Inline control structures are not allowed Open
if (!$abortUpdate) $newDbVersion = 21;
- Exclude checks
Inline control structures are not allowed Open
if (!$abortUpdate) $newDbVersion = 27;
- Exclude checks
Inline control structures are not allowed Open
if (!$result) $abortUpdate = true;
- Exclude checks
Inline control structures are not allowed Open
if (!$abortUpdate) $newDbVersion = 13;
- Exclude checks
Inline control structures are not allowed Open
if (!$abortUpdate) $newDbVersion = 14;
- Exclude checks
Inline control structures are not allowed Open
if (!$abortUpdate) $newDbVersion = 29;
- Exclude checks
Inline control structures are not allowed Open
if ($dbVersion < 11) include 'update-to-112.php';
- Exclude checks
Inline control structures are not allowed Open
if (!$abortUpdate) $newDbVersion = 12;
- Exclude checks
Inline control structures are not allowed Open
if (!$abortUpdate) $newDbVersion = 24;
- Exclude checks
Inline control structures are not allowed Open
if (!$abortUpdate) $newDbVersion = 39;
- Exclude checks
Inline control structures are not allowed Open
if (!$abortUpdate) $newDbVersion = 30;
- Exclude checks
Inline control structures are not allowed Open
if (!$abortUpdate) $newDbVersion = 32;
- Exclude checks
Inline control structures are not allowed Open
if (!$abortUpdate) $newDbVersion = 35;
- Exclude checks
Inline control structures are not allowed Open
if (!icms::$xoopsDB->queryF($sql)) $abortUpdate = true;
- Exclude checks
Inline control structures are not allowed Open
if (!$abortUpdate) $newDbVersion = 33;
- Exclude checks
Inline control structures are not allowed Open
if (!isset($myrow['conf_id'])) $abortUpdate = true;
- Exclude checks
Inline control structures are not allowed Open
if (!$abortUpdate) $newDbVersion = 40;
- Exclude checks
Inline control structures are not allowed Open
if (!$abortUpdate) $newDbVersion = 26;
- Exclude checks
Inline control structures are not allowed Open
if (!$abortUpdate) $newDbVersion = 28;
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
if (! icms::$xoopsDB->queryF($sql)) {
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
}
- Exclude checks
Line indented incorrectly; expected 3 tabs, found 4 Open
}
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
}
- Exclude checks
Line indented incorrectly; expected 2 tabs, found 3 Open
foreach($command as $sql) {
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Expected 1 space after FOREACH keyword; 0 found Open
foreach($command as $sql) {
- Exclude checks
Line indented incorrectly; expected 2 tabs, found 3 Open
}
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
}
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
if (! $table->fieldExists('content_seo_keywords')) {
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
}
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
} else {
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
if ($smartprofile_module && $smartprofile_module->getVar('isactive') && ! $table->exists()) {
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
}
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
}
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
}
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
if (! $table->fieldExists('login_name')) {
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
}
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
}
- Exclude checks
Line indented incorrectly; expected 3 tabs, found 4 Open
if (! $result = icms::$xoopsDB->queryF($sql)) {
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
if (! $table->fieldExists('content_seo_description')) {
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
}
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
}
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
}
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
foreach($admin_blocks as $admin_block) {
- Exclude checks
Expected 1 space after FOREACH keyword; 0 found Open
foreach($admin_blocks as $admin_block) {
- Exclude checks
Line indented incorrectly; expected 2 tabs, found 3 Open
}
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
}
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
if (is_writable(ICMS_PLUGINS_PATH) || (is_dir(ICMS_ROOT_PATH . '/plugins/preloads') && is_writable(ICMS_ROOT_PATH . '/plugins/preloads'))) {
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
}
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
}
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
if (! $table->exists()) {
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
if (getDbValue(icms::$xoopsDB, 'configcategory', 'confcat_name', 'confcat_name="_MD_AM_AUTOTASKS"') == FALSE) {
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
}
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
if ($table->fieldExists('level')) {
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
}
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
if (! $table->fieldExists('imgcat_pid')) {
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
}
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
foreach($groups as $groupid => $group) {
- Exclude checks
Line indented incorrectly; expected 5 tabs, found 6 Open
if (! file_exists(ICMS_IMANAGER_FOLDER_PATH . '/' . $new_folder . '/' . $row1 ['image_name'])
- Exclude checks
Closing parenthesis of a multi-line function call must be on a line by itself Open
ICMS_IMANAGER_FOLDER_PATH . '/' . $new_folder . '/' . $row1['image_name'])
- Exclude checks
Line indented incorrectly; expected 5 tabs, found 7 Open
} else {
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
}
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
}
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
}
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Line indented incorrectly; expected 2 tabs, found 3 Open
if (is_dir(ICMS_ROOT_PATH . '/preload')) {
- Exclude checks
Line indented incorrectly; expected 3 tabs, found 4 Open
if (icms_core_Filesystem::copyRecursive(ICMS_ROOT_PATH . '/preload', ICMS_ROOT_PATH . '/plugins/preloads')) {
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
}
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
}
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
}
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
}
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
if (! $table->fieldExists('imgcat_foldername')) {
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
}
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
if (! icms::$xoopsDB->queryF($sql2)) {
- Exclude checks
Line indented incorrectly; expected 3 tabs, found 4 Open
} else {
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
}
- Exclude checks
Line indented incorrectly; expected 3 tabs, found 4 Open
}
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Line indented incorrectly; expected 4 tabs, found 5 Open
if (FALSE === $abortUpdate) {
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
}
- Exclude checks
Line indented incorrectly; expected 2 tabs, found 3 Open
}
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$result = icms::$xoopsDB->query( $sql);
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
if (getDbValue(icms::$xoopsDB, 'configcategory', 'confcat_name', 'confcat_name="_MD_AM_PURIFIER"') == FALSE) {
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Line indented incorrectly; expected 2 tabs, found 3 Open
while ($row = icms::$xoopsDB->fetchArray($result)) {
- Exclude checks
Line indented incorrectly; expected 3 tabs, found 4 Open
if (empty($row ['imgcat_foldername']) && $row[ 'imgcat_storetype' ] = 'file') {
- Exclude checks
Line indented incorrectly; expected 3 tabs, found 4 Open
} else {
- Exclude checks
Line indented incorrectly; expected 4 tabs, found 5 Open
}
- Exclude checks
Line indented incorrectly; expected 2 tabs, found 3 Open
} else {
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
}
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Line indented incorrectly; expected 3 tabs, found 4 Open
}
- Exclude checks
Expected 1 space after FOREACH keyword; 0 found Open
foreach($new_pages as $new_page) {
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
}
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
if (! icms::$xoopsDB->queryF($sql)) {
- Exclude checks
Line indented incorrectly; expected 3 tabs, found 4 Open
} else {
- Exclude checks
Line indented incorrectly; expected 2 tabs, found 3 Open
}
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
}
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
}
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
}
- Exclude checks
Expected 1 space after FOREACH keyword; 0 found Open
foreach($groups as $groupid => $group) {
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
}
- Exclude checks
Multi-line function call not indented correctly; expected 28 spaces but found 32 Open
ICMS_IMANAGER_FOLDER_PATH . '/' . $new_folder . '/' . $row1['image_name'])
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Line indented incorrectly; expected 5 tabs, found 7 Open
}
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
if (getDbValue(icms::$xoopsDB, 'configcategory', 'confcat_name', 'confcat_name="_MD_AM_PLUGINS"') == FALSE) {
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
}
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
}
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
if (getDbValue(icms::$xoopsDB, 'configcategory', 'confcat_name', 'confcat_name="_MD_AM_CAPTCHA"') == FALSE) {
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
if (! $table->exists()) {
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
}
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
}
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
if (! $table->exists()) {
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
}
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
}
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
}
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
}
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$new_folder = preg_replace( '/[:?".<>\/\\\|\s]/', '_', strtolower($row[ 'imgcat_name' ]));
- Exclude checks
Line indented incorrectly; expected 3 tabs, found 4 Open
}
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
}
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
}
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
if (! icms::$xoopsDB->queryF($sql)) {
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
}
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 2 Open
foreach($new_pages as $new_page) {
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
while ($row = icms::$xoopsDB->fetchArray($result)) {
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
}
- Exclude checks
Line indented incorrectly; expected 5 tabs, found 7 Open
if (icms_core_Filesystem::copyRecursive(
- Exclude checks
Line indented incorrectly; expected 4 tabs, found 5 Open
}
- Exclude checks
Line indented incorrectly; expected 2 tabs, found 3 Open
while (list($conf_id, $conf_value) = icms::$xoopsDB->fetchRow($result)) {
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
}
- Exclude checks
Line indented incorrectly; expected 2 tabs, found 3 Open
if(unlink($file)) {
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
}
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
}
- Exclude checks
Line indented incorrectly; expected 3 tabs, found 4 Open
if (FALSE === icms_core_Filesystem::mkdir(ICMS_IMANAGER_FOLDER_PATH . '/' . $new_folder)) {
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
if (! $table->exists()) {
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
}
- Exclude checks
Line indented incorrectly; expected 4 tabs, found 5 Open
while (($row1 = icms::$xoopsDB->fetchArray($result1)) && ! $abortUpdate) {
- Exclude checks
Line indented incorrectly; expected 2 tabs, found 3 Open
}
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 2 Open
}
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
if (is_writable(ICMS_IMANAGER_FOLDER_PATH)) {
- Exclude checks
Line indented incorrectly; expected 5 tabs, found 6 Open
}
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
if (! icms::$xoopsDB->queryF($sql)) {
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
}
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
}
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$sql = 'UPDATE `' . icms::$xoopsDB->prefix( 'config') . '` SET `conf_order`=9 WHERE `conf_name`="sendmailpath"';
- Exclude checks
Expected 1 space after IF keyword; 0 found Open
if(unlink($file)) {
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
}
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
} else {
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
if (file_exists($file)) {
- Exclude checks
Unexpected spaces found. Open
} else {
- Exclude checks
Unexpected spaces found. Open
echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';
- Exclude checks