ImpressCMS/impresscms

View on GitHub
htdocs/modules/system/include/update-112-to-122.php

Summary

Maintainability
D
1 day
Test Coverage

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/
Severity: Major
Found in htdocs/modules/system/include/update-112-to-122.php - About 1 day to fix

    Variable $icmsDatabaseUpdater is undeclared
    Open

            $icmsDatabaseUpdater->insertConfig(ICMS_CONF_CAPTCHA, 'captcha_casesensitive', '_MD_AM_CAPTCHA_CASESENS', '0', '_MD_AM_CAPTCHA_CASESENSDSC', 'yesno', 'int', 3);

    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);

    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);

    Variable $abortUpdate is undeclared
    Open

        if (!$abortUpdate) $newDbVersion = 14;

    Variable $abortUpdate is undeclared
    Open

        if (!$abortUpdate) $newDbVersion = 12;

    Reference to static property xoopsDB from undeclared class \icms
    Open

            if (getDbValue(icms::$xoopsDB, 'configcategory', 'confcat_name', 'confcat_name="_MD_AM_CAPTCHA"') == FALSE) {

    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);

    Reference to static property xoopsDB from undeclared class \icms
    Open

            if (! icms::$xoopsDB->queryF($sql)) {

    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);

    Variable $icmsDatabaseUpdater is undeclared
    Open

            $icmsDatabaseUpdater->insertConfig(ICMS_CONF_CAPTCHA, 'captcha_maxattempt', '_MD_AM_CAPTCHA_MAXATTEMP', '8', '_MD_AM_CAPTCHA_MAXATTEMPDSC', 'textbox', 'int', 5);

    Variable $icmsDatabaseUpdater is undeclared
    Open

            $icmsDatabaseUpdater->updateModuleDBVersion($newDbVersion, 'system');

    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);

    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);

    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')");

    Call to method __construct from undeclared class \icms_db_legacy_updater_Table
    Open

            $table = new icms_db_legacy_updater_Table('users');

    Call to method deleteFile from undeclared class \icms_core_Filesystem
    Open

                    icms_core_Filesystem::deleteFile(ICMS_ROOT_PATH . '/preload/customtag.php');

    Variable $dbVersion is undeclared
    Open

        if ($dbVersion < $newDbVersion) {

    Reference to static property xoopsDB from undeclared class \icms
    Open

            if (! icms::$xoopsDB->queryF($sql2)) {

    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'");

    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);

    Variable $icmsDatabaseUpdater is undeclared
    Open

                $icmsDatabaseUpdater->updateTable($table);

    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'");

    Reference to static property xoopsDB from undeclared class \icms
    Open

            if (getDbValue(icms::$xoopsDB, 'configcategory', 'confcat_name', 'confcat_name="_MD_AM_PLUGINS"') == FALSE) {

    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);

    Variable $icmsDatabaseUpdater is undeclared
    Open

            $icmsDatabaseUpdater->insertConfig(ICMS_CONF_USER, 'allow_chguname', '_MD_AM_ALLWCHGUNAME', '0', '_MD_AM_ALLWCHGUNAMEDSC', 'yesno', 'int', 11);

    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);

    Variable $icmsDatabaseUpdater is undeclared
    Open

            $icmsDatabaseUpdater->updateModuleDBVersion($newDbVersion, 'system');

    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 />';

    Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
    Open

            echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';

    Call to method __construct from undeclared class \icms_db_legacy_updater_Table
    Open

            $table = new icms_db_legacy_updater_Table('system_mimetype');

    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')");

    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 />';

    Call to method deleteRecursive from undeclared class \icms_core_Filesystem
    Open

                        icms_core_Filesystem::deleteRecursive(ICMS_ROOT_PATH . '/preload');

    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 . ");");

    Variable $icmsDatabaseUpdater is undeclared
    Open

            $icmsDatabaseUpdater->insertConfig(ICMS_CONF_PERSONA, 'recpubkey', '_MD_AM_RECPUBKEY', '', '_MD_AM_RECPUBKEY_DESC', 'textbox', 'text', 17);

    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);

    Variable $dbVersion is undeclared
    Open

        if ($dbVersion < $newDbVersion) {

    Variable $dbVersion is undeclared
    Open

        if ($dbVersion < 11) include 'update-to-112.php';

    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") . "`");

    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);

    Reference to static property xoopsDB from undeclared class \icms
    Open

                    if (! $result = icms::$xoopsDB->queryF($sql)) {

    Reference to static property xoopsDB from undeclared class \icms
    Open

            icms::$xoopsDB->queryF("DELETE FROM `" . icms::$xoopsDB->prefix('newblocks') . "` WHERE dirname='waiting'");

    Variable $icmsDatabaseUpdater is undeclared
    Open

                $icmsDatabaseUpdater->updateTable($table);

    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})";

    Call to method createTable from undeclared class \icms_db_legacy_updater_Table
    Open

                $table->createTable();

    Call to method createTable from undeclared class \icms_db_legacy_updater_Table
    Open

                $table->createTable();

    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})";

    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 . ");");

    Variable $dbVersion is undeclared
    Open

        if ($dbVersion < $newDbVersion) {

    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);

    Variable $icmsDatabaseUpdater is undeclared
    Open

            $icmsDatabaseUpdater->insertConfig(IM_CONF_AUTOTASKS, 'autotasks_system', '_MD_AM_AUTOTASKS_SYSTEM', 'internal', '_MD_AM_AUTOTASKS_SYSTEMDSC', 'autotasksystem', 'text', 1);

    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);

    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')");

    Variable $icmsDatabaseUpdater is undeclared
    Open

            $icmsDatabaseUpdater->insertConfig(ICMS_CONF_CAPTCHA, 'captcha_mode', '_MD_AM_CAPTCHA_MODE', 'image', '_MD_AM_CAPTCHA_MODEDSC', 'select', 'text', 1);

    Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
    Open

            echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';

    Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
    Open

            echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';

    Call to method deleteFile from undeclared class \icms_core_Filesystem
    Open

                    icms_core_Filesystem::deleteFile(ICMS_ROOT_PATH . '/preload/userinfo.php');

    Reference to static property xoopsDB from undeclared class \icms
    Open

            $config_id = icms::$xoopsDB->getInsertId();

    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 />';

    Call to method __construct from undeclared class \icms_db_legacy_updater_Table
    Open

            $table = new icms_db_legacy_updater_Table('profile_category');

    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);

    Variable $dbVersion is undeclared
    Open

        if ($dbVersion < $newDbVersion) {

    Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
    Open

            echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';

    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'");

    Variable $dbVersion is undeclared
    Open

        if ($dbVersion < $newDbVersion) {

    Variable $dbVersion is undeclared
    Open

        if ($dbVersion < $newDbVersion) {

    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 />';

    Variable $icmsDatabaseUpdater is undeclared
    Open

            $icmsDatabaseUpdater->updateModuleDBVersion($newDbVersion, 'system');

    Reference to static property xoopsDB from undeclared class \icms
    Open

            icms::$xoopsDB->queryF("DELETE FROM `" . icms::$xoopsDB->prefix('modules') . "` WHERE dirname='waiting'");

    Variable $icmsDatabaseUpdater is undeclared
    Open

            $icmsDatabaseUpdater->updateModuleDBVersion($newDbVersion, 'system');

    Variable $dbVersion is undeclared
    Open

        if ($dbVersion < $newDbVersion) {

    Call to method __construct from undeclared class \icms_db_legacy_updater_Table
    Open

            $table = new icms_db_legacy_updater_Table('system_autotasks');

    Variable $dbVersion is undeclared
    Open

        if ($dbVersion < $newDbVersion) {

    Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
    Open

            echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';

    Call to method exists from undeclared class \icms_db_legacy_updater_Table
    Open

            if (! $table->exists()) {

    Reference to static property xoopsDB from undeclared class \icms
    Open

            $sql = "SELECT conf_id FROM `" . icms::$xoopsDB->prefix('config') . "` WHERE conf_name = 'email_protect'";

    Reference to static property xoopsDB from undeclared class \icms
    Open

            list($conf_id) = icms::$xoopsDB->FetchRow($result);

    Reference to static property xoopsDB from undeclared class \icms
    Open

            icms::$xoopsDB->queryFromFile(ICMS_ROOT_PATH . "/modules/" . $module->getVar('dirname', 'n') . "/include/upgrade.sql");

    Variable $icmsDatabaseUpdater is undeclared
    Open

            $icmsDatabaseUpdater->insertConfig(ICMS_CONF_PERSONA, 'recprvkey', '_MD_AM_RECPRVKEY', '', '_MD_AM_RECPRVKEY_DESC', 'textbox', 'text', 17);

    Call to method setStructure from undeclared class \icms_db_legacy_updater_Table
    Open

                $table->setStructure("adsenseid int(11) NOT NULL auto_increment,

    Reference to static property xoopsDB from undeclared class \icms
    Open

            $config_id = icms::$xoopsDB->getInsertId();

    Call to method setStructure from undeclared class \icms_db_legacy_updater_Table
    Open

                $table->setStructure("ratingid int(11) NOT NULL auto_increment,

    Reference to static property xoopsDB from undeclared class \icms
    Open

            if (! icms::$xoopsDB->queryF($sql)) {

    Variable $icmsDatabaseUpdater is undeclared
    Open

            $icmsDatabaseUpdater->insertConfig(ICMS_CONF_PERSONA, 'pagstyle', '_MD_AM_PAGISTYLE', 'default', '_MD_AM_PAGISTYLE_DESC', 'select_paginati', 'text', 24);

    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);

    Variable $icmsDatabaseUpdater is undeclared
    Open

            $icmsDatabaseUpdater->updateModuleDBVersion($newDbVersion, 'system');

    Variable $dbVersion is undeclared
    Open

        if ($dbVersion < $newDbVersion) {

    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 />';

    Call to method __construct from undeclared class \icms_db_legacy_updater_Table
    Open

            $table = new icms_db_legacy_updater_Table('system_adsense');

    Variable $icmsDatabaseUpdater is undeclared
    Open

            $icmsDatabaseUpdater->updateModuleDBVersion($newDbVersion, 'system');

    Variable $dbVersion is undeclared
    Open

        if ($dbVersion < $newDbVersion) {

    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);

    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);

    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);

    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 />';

    Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
    Open

            echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';

    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);

    Reference to undeclared constant \ICMS_CONF_USER
    Open

            $icmsDatabaseUpdater->insertConfig(ICMS_CONF_USER, 'delusers', '_MD_AM_DELUSRES', '30', '_MD_AM_DELUSRESDSC', 'textbox', 'int', 6);

    Call to method __construct from undeclared class \icms_db_legacy_updater_Table
    Open

            $table = new icms_db_legacy_updater_Table('icmscontent');

    Call to method __construct from undeclared class \icms_db_legacy_updater_Table
    Open

            $table = new icms_db_legacy_updater_Table('system_rating');

    Variable $dbVersion is undeclared
    Open

        if ($dbVersion < $newDbVersion) {

    Call to method __construct from undeclared class \icms_db_legacy_updater_Table
    Open

            $table = new icms_db_legacy_updater_Table('config');

    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);

    Call to method addNewField from undeclared class \icms_db_legacy_updater_Table
    Open

                $table->addNewField('login_name', "varchar(255) NOT NULL default ''");

    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);

    Variable $icmsDatabaseUpdater is undeclared
    Open

            $icmsDatabaseUpdater->updateModuleDBVersion($newDbVersion, 'system');

    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") . "`");

    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 />';

    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);

    Call to method addNewField from undeclared class \icms_db_legacy_updater_Table
    Open

                $table->addNewField('content_seo_description', "text");

    Reference to static property xoopsDB from undeclared class \icms
    Open

            if (getDbValue(icms::$xoopsDB, 'configcategory', 'confcat_name', 'confcat_name="_MD_AM_AUTOTASKS"') == FALSE) {

    Reference to static property xoopsDB from undeclared class \icms
    Open

            $config_id = icms::$xoopsDB->getInsertId();

    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);

    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 />';

    Variable $icmsDatabaseUpdater is undeclared
    Open

            $icmsDatabaseUpdater->updateModuleDBVersion($newDbVersion, 'system');

    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 />';

    Reference to static property xoopsDB from undeclared class \icms
    Open

            icms::$xoopsDB->queryF("DELETE FROM `" . icms::$xoopsDB->prefix('tplfile') . "` WHERE tpl_module='waiting'");

    Variable $icmsDatabaseUpdater is undeclared
    Open

                $icmsDatabaseUpdater->updateTable($table);

    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++);

    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);

    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);

    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);

    Reference to undeclared constant \ICMS_CONF_PERSONA
    Open

            $icmsDatabaseUpdater->insertConfig(ICMS_CONF_PERSONA, 'recprvkey', '_MD_AM_RECPRVKEY', '', '_MD_AM_RECPRVKEY_DESC', 'textbox', 'text', 17);

    Variable $icmsDatabaseUpdater is undeclared
    Open

            $icmsDatabaseUpdater->updateModuleDBVersion($newDbVersion, 'system');

    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})";

    Variable $icmsDatabaseUpdater is undeclared
    Open

            $icmsDatabaseUpdater->insertConfig(IM_CONF_CONTENT, 'teaser_length', '_MD_AM_CONT_TEASERLENGTH', '500', '_MD_AM_CONT_TEASERLENGTHDSC', 'textbox', 'int', 6);

    Variable $icmsDatabaseUpdater is undeclared
    Open

            $icmsDatabaseUpdater->insertConfig(ICMS_CONF_SEARCH, 'num_shallow_search', '_MD_AM_NUMINITSRCHRSLTS', '5', '_MD_AM_NUMINITSRCHRSLTSDSC', 'textbox', 'int', 4);

    Variable $icmsDatabaseUpdater is undeclared
    Open

            $icmsDatabaseUpdater->updateModuleDBVersion($newDbVersion, 'system');

    Call to method __construct from undeclared class \icms_db_legacy_updater_Table
    Open

            $table = new icms_db_legacy_updater_Table('icmscontent');

    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 />';

    Call to method createTable from undeclared class \icms_db_legacy_updater_Table
    Open

                $table->createTable();

    Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
    Open

            echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';

    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);

    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);

    Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
    Open

            echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';

    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'");

    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") . "`");

    Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
    Open

            echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';

    Reference to static property xoopsDB from undeclared class \icms
    Open

            if (! icms::$xoopsDB->queryF($sql)) {

    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')");

    Variable $abortUpdate is undeclared
    Open

        if (!$abortUpdate) $newDbVersion = 13;

    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 . ");");

    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);

    Variable $icmsDatabaseUpdater is undeclared
    Open

            $icmsDatabaseUpdater->insertConfig(ICMS_CONF_USER, 'delusers', '_MD_AM_DELUSRES', '30', '_MD_AM_DELUSRESDSC', 'textbox', 'int', 6);

    Variable $dbVersion is undeclared
    Open

        if ($dbVersion < $newDbVersion) {

    Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
    Open

            echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';

    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);

    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);

    Call to method setStructure from undeclared class \icms_db_legacy_updater_Table
    Open

                $table->setStructure("mimetypeid int(11) NOT NULL auto_increment,

    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')");

    Call to method fieldExists from undeclared class \icms_db_legacy_updater_Table
    Open

            if (! $table->fieldExists('login_name')) {

    Reference to static property xoopsDB from undeclared class \icms
    Open

                icms::$xoopsDB->queryF("UPDATE `" . icms::$xoopsDB->prefix("users") . "` SET login_name=uname");

    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', '');

    Variable $icmsDatabaseUpdater is undeclared
    Open

            $icmsDatabaseUpdater->insertConfig(IM_CONF_CONTENT, 'num_pages', '_MD_AM_CONT_NUMPAGES', '10', '_MD_AM_CONT_NUMPAGESDSC', 'textbox', 'int', 5);

    Variable $icmsDatabaseUpdater is undeclared
    Open

            $icmsDatabaseUpdater->updateModuleDBVersion($newDbVersion, 'system');

    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 />';

    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") . "`");

    Call to method message from undeclared class \icms_core_Debug
    Open

                        icms_core_Debug::message('An error occurred while executing "' . $sql . '" - ' . icms::$xoopsDB->error());

    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 />';

    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);

    Variable $icmsDatabaseUpdater is undeclared
    Open

            $icmsDatabaseUpdater->updateModuleDBVersion($newDbVersion, 'system');

    Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
    Open

            echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';

    Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
    Open

            echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';

    Variable $dbVersion is undeclared
    Open

        if ($dbVersion < $newDbVersion) {

    Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
    Open

            echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';

    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);

    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);

    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++);

    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++);

    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++);

    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++);

    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++);

    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 />';

    Call to method fieldExists from undeclared class \icms_db_legacy_updater_Table
    Open

            if (! $table->fieldExists('imgcat_foldername')) {

    Reference to undeclared constant \_CPHOME
    Open

                "NULL, 1, '" . _CPHOME . "', 'admin.php', 1",

    Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
    Open

            echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';

    Variable $icmsDatabaseUpdater is undeclared
    Open

            $icmsDatabaseUpdater->insertConfig(ICMS_CONF_PLUGINS, 'code_sanitizer', '_MD_AM_SELECTSHIGHLIGHT', 'none', '_MD_AM_SELECTSHIGHLIGHT_DESC', 'select', 'text', 2);

    Reference to static property xoopsDB from undeclared class \icms
    Open

                $result = icms::$xoopsDB->query($sql_find);

    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);

    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')) {

    Variable $dbVersion is undeclared
    Open

        if ($dbVersion < $newDbVersion) {

    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);

    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"';

    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 />';

    Reference to static property xoopsDB from undeclared class \icms
    Open

                        icms_core_Debug::message('An error occurred while executing "' . $sql . '" - ' . icms::$xoopsDB->error());

    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', '');

    Variable $icmsDatabaseUpdater is undeclared
    Open

            $icmsDatabaseUpdater->updateModuleDBVersion($newDbVersion, 'system');

    Reference to static property xoopsDB from undeclared class \icms
    Open

                $result = icms::$xoopsDB->query('SELECT * FROM `' . icms::$xoopsDB->prefix('imagecategory') . '`');

    Reference to static property xoopsDB from undeclared class \icms
    Open

            $result = icms::$xoopsDB->query($sql);

    Variable $icmsDatabaseUpdater is undeclared
    Open

            $icmsDatabaseUpdater->updateModuleDBVersion($newDbVersion, 'system');

    Variable $icmsDatabaseUpdater is undeclared
    Open

            $icmsDatabaseUpdater->insertConfig(ICMS_CONF_SEARCH, 'enable_deep_search', '_MD_AM_DODEEPSEARCH', '1', '_MD_AM_DODEEPSEARCHDSC', 'yesno', 'int', 2);

    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 . '"');

    Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
    Open

            echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';

    Call to method exists from undeclared class \icms_db_legacy_updater_Table
    Open

            if (! $table->exists()) {

    Reference to undeclared constant \ICMS_CONF_PERSONA
    Open

            $icmsDatabaseUpdater->insertConfig(ICMS_CONF_PERSONA, 'recpubkey', '_MD_AM_RECPUBKEY', '', '_MD_AM_RECPUBKEY_DESC', 'textbox', 'text', 17);

    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 />';

    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);

    Variable $dbVersion is undeclared
    Open

        if ($dbVersion < $newDbVersion) {

    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);

    Variable $dbVersion is undeclared
    Open

        if ($dbVersion < $newDbVersion) {

    Call to method handler from undeclared class \icms
    Open

            $module_handler = icms::handler('icms_module');

    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") . "`");

    Call to method fieldExists from undeclared class \icms_db_legacy_updater_Table
    Open

            if (! $table->fieldExists('content_seo_description')) {

    Call to method fieldExists from undeclared class \icms_db_legacy_updater_Table
    Open

            if (! $table->fieldExists('content_seo_keywords')) {

    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++);

    Variable $dbVersion is undeclared
    Open

        if ($dbVersion < $newDbVersion) {

    Call to method exists from undeclared class \icms_db_legacy_updater_Table
    Open

            if ($smartprofile_module && $smartprofile_module->getVar('isactive') && ! $table->exists()) {

    Variable $icmsDatabaseUpdater is undeclared
    Open

            $icmsDatabaseUpdater->updateModuleDBVersion($newDbVersion, 'system');

    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++);

    Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
    Open

            echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';

    Variable $icmsDatabaseUpdater is undeclared
    Open

            $icmsDatabaseUpdater->insertConfig(ICMS_CONF_PERSONA, 'use_custom_redirection', '_MD_AM_CUSTOMRED', '0', '_MD_AM_CUSTOMREDDSC', 'yesno', 'int', 9);

    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);

    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++);

    Variable $icmsDatabaseUpdater is undeclared
    Open

            $icmsDatabaseUpdater->updateModuleDBVersion($newDbVersion, 'system');

    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++);

    Call to method exists from undeclared class \icms_db_legacy_updater_Table
    Open

            if (! $table->exists()) {

    Call to method addNewField from undeclared class \icms_db_legacy_updater_Table
    Open

                $table->addNewField('content_seo_keywords', "text");

    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++);

    Variable $module is undeclared
    Open

            icms::$xoopsDB->queryFromFile(ICMS_ROOT_PATH . "/modules/" . $module->getVar('dirname', 'n') . "/include/upgrade.sql");

    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++);

    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 />';

    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++);

    Call to method exists from undeclared class \icms_db_legacy_updater_Table
    Open

            if (! $table->exists()) {

    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++);

    Call to method createTable from undeclared class \icms_db_legacy_updater_Table
    Open

                $table->createTable();

    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++);

    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++);

    Reference to static property xoopsDB from undeclared class \icms
    Open

            $config_id = icms::$xoopsDB->getInsertId();

    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})";

    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++);

    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++);

    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 />';

    Variable $dbVersion is undeclared
    Open

        if ($dbVersion < $newDbVersion) {

    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++);

    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++);

    Variable $icmsDatabaseUpdater is undeclared
    Open

            $icmsDatabaseUpdater->insertConfig(IM_CONF_AUTOTASKS, 'autotasks_user', '_MD_AM_AUTOTASKS_USER', '', '_MD_AM_AUTOTASKS_USERDSC', 'text', 'text', 4);

    Variable $block_positions was undeclared, but array fields are being added to it.
    Open

                $block_positions [$row ['pname']] = $row ['id'];

    Variable $dbVersion is undeclared
    Open

        if ($dbVersion < $newDbVersion) {

    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++);

    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++);

    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++);

    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++);

    Call to method __construct from undeclared class \icms_db_legacy_updater_Table
    Open

            $table = new icms_db_legacy_updater_Table('users');

    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++);

    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;

    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++);

    Reference to static property xoopsDB from undeclared class \icms
    Open

            $page_id = getDbValue(icms::$xoopsDB, 'icmspage', 'page_id', 'page_url="admin.php"');

    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++);

    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++);

    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++);

    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;

    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"');

    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++);

    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 />';

    Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
    Open

            echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';

    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++);

    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);

    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 />';

    Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
    Open

            echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';

    Reference to static property xoopsDB from undeclared class \icms
    Open

                        $result1 = icms::$xoopsDB->query(

    Reference to static property xoopsDB from undeclared class \icms
    Open

                            'SELECT * FROM `' . icms::$xoopsDB->prefix('image')

    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"');

    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', '');

    Variable $dbVersion is undeclared
    Open

        if ($dbVersion < $newDbVersion) {

    Reference to static property xoopsDB from undeclared class \icms
    Open

                        while (($row1 = icms::$xoopsDB->fetchArray($result1)) && ! $abortUpdate) {

    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"');

    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 . '"');

    Variable $dbVersion is undeclared
    Open

        if ($dbVersion < $newDbVersion) {

    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 />';

    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 />';

    Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
    Open

            echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';

    Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
    Open

            echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';

    Call to method setData from undeclared class \icms_db_legacy_updater_Table
    Open

                $table->setData($new_page);

    Reference to undeclared constant \ICMS_CONF_MAILER
    Open

            $icmsDatabaseUpdater->insertConfig(ICMS_CONF_MAILER, 'smtpsecure', '_MD_AM_SMTPSECURE', 'ssl', '_MD_AM_SMTPSECUREDESC', 'select', 'text', 7);

    Variable $icmsDatabaseUpdater is undeclared
    Open

            $icmsDatabaseUpdater->insertConfig(ICMS_CONF_MAILER, 'smtpsecure', '_MD_AM_SMTPSECURE', 'ssl', '_MD_AM_SMTPSECUREDESC', 'select', 'text', 7);

    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"';

    Reference to static property xoopsDB from undeclared class \icms
    Open

            while ($row = icms::$xoopsDB->fetchArray($result)) {

    Reference to undeclared constant \_FILE_DELETED
    Open

                    echo sprintf(_FILE_DELETED, $file) . '<br />';

    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"';

    Variable $icmsDatabaseUpdater is undeclared
    Open

                $icmsDatabaseUpdater->runQuery($sql_update, $goodmsg, $badmsg, true);

    Variable $icmsDatabaseUpdater is undeclared
    Open

                $icmsDatabaseUpdater->runQuery($sql_page_update, $goodmsg, $badmsg, true);

    Variable $icmsDatabaseUpdater is undeclared
    Open

            $icmsDatabaseUpdater->updateModuleDBVersion($newDbVersion, 'system');

    Reference to static property xoopsDB from undeclared class \icms
    Open

            $start_page = getDbValue(icms::$xoopsDB, 'config', 'conf_value', 'conf_name="startpage"');

    Variable $icmsDatabaseUpdater is undeclared
    Open

            $icmsDatabaseUpdater->updateModuleDBVersion($newDbVersion, 'system');

    Call to method copyRecursive from undeclared class \icms_core_Filesystem
    Open

                                if (icms_core_Filesystem::copyRecursive(

    Variable $icmsDatabaseUpdater is undeclared
    Open

            $icmsDatabaseUpdater->updateModuleDBVersion($newDbVersion, 'system');

    Reference to static property xoopsDB from undeclared class \icms
    Open

            $sql = 'UPDATE `' . icms::$xoopsDB->prefix( 'config') . '` SET `conf_order`=9 WHERE `conf_name`="sendmailpath"';

    Reference to static property xoopsDB from undeclared class \icms
    Open

            $config_id = icms::$xoopsDB->getInsertId();

    Call to method error from undeclared class \icms_core_Message
    Open

                    icms_core_Message::error(sprintf(_CSSTIDY_VULN, $file));

    Variable $icmsDatabaseUpdater is undeclared
    Open

            $icmsDatabaseUpdater->updateModuleDBVersion($newDbVersion, 'system');

    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++);

    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++);

    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++);

    Reference to static property xoopsDB from undeclared class \icms
    Open

            if (! icms::$xoopsDB->queryF($sql)) {

    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++);

    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++);

    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++);

    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++);

    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++);

    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++);

    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++);

    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', '');

    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"';

    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);

    Variable $icmsDatabaseUpdater is undeclared
    Open

            $icmsDatabaseUpdater->updateModuleDBVersion($newDbVersion, 'system');

    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 />';

    Reference to static property xoopsDB from undeclared class \icms
    Open

            if (!icms::$xoopsDB->queryF($sql)) $abortUpdate = true;

    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++);

    Reference to static property xoopsDB from undeclared class \icms
    Open

            if (getDbValue(icms::$xoopsDB, 'configcategory', 'confcat_name', 'confcat_name="_MD_AM_PURIFIER"') == FALSE) {

    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++);

    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++);

    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++);

    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++);

    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', '');

    Call to method addNewField from undeclared class \icms_db_legacy_updater_Table
    Open

                $table->addNewField('imgcat_pid', "smallint(5) unsigned NOT NULL default '0'");

    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++);

    Variable $icmsDatabaseUpdater is undeclared
    Open

            $icmsDatabaseUpdater->updateModuleDBVersion($newDbVersion, 'system');

    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++);

    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] . '"';

    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++);

    Call to method handler from undeclared class \icms
    Open

            $groups = icms::handler('icms_member_group')->getObjects(NULL, true);

    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++);

    Reference to static property xoopsDB from undeclared class \icms
    Open

            icms::$xoopsDB->queryF("DELETE FROM `" . icms::$xoopsDB->prefix('config') . "` WHERE conf_name='use_hidden'");

    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++);

    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);

    Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
    Open

            echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';

    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++);

    Reference to static property xoopsDB from undeclared class \icms
    Open

                                'UPDATE `' . icms::$xoopsDB->prefix('imagecategory')

    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++);

    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}), "

    Variable $icmsDatabaseUpdater is undeclared
    Open

            $icmsDatabaseUpdater->updateTable($table);

    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 />';

    Reference to static property xoopsDB from undeclared class \icms
    Open

            icms::$xoopsDB->queryF('DELETE FROM `' . icms::$xoopsDB->prefix('newblocks') . '` WHERE `bid`=' . $bid);

    Variable $start_pages was undeclared, but array fields are being added to it.
    Open

                $start_pages [$groupid] = $start_page;

    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);

    Variable $icmsDatabaseUpdater is undeclared
    Open

            $icmsDatabaseUpdater->updateModuleDBVersion($newDbVersion, 'system');

    Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
    Open

            echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';

    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++);

    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++);

    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++);

    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++);

    Call to method setStructure from undeclared class \icms_db_legacy_updater_Table
    Open

                $table->setStructure("sat_id int(10) unsigned NOT NULL AUTO_INCREMENT,

    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++);

    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++);

    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);

    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++);

    Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
    Open

            echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';

    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++);

    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++);

    Variable $dbVersion is undeclared
    Open

        if ($dbVersion < $newDbVersion) {

    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++);

    Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
    Open

            echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';

    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++);

    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++);

    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++);

    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++);

    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++);

    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++);

    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++);

    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++);

    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++);

    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++);

    Call to method __construct from undeclared class \icms_db_legacy_updater_Table
    Open

            $table = new icms_db_legacy_updater_Table('icmspage');

    Reference to static property xoopsDB from undeclared class \icms
    Open

            list($title, $side, $weight, $visible, $bcachetime, $bid) = icms::$xoopsDB->fetchRow($result);

    Variable $dbVersion is undeclared
    Open

        if ($dbVersion < $newDbVersion) {

    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"';

    Reference to static property xoopsDB from undeclared class \icms
    Open

            $result = icms::$xoopsDB->query( $sql);

    Reference to undeclared constant \_CSSTIDY_VULN
    Open

                    icms_core_Message::error(sprintf(_CSSTIDY_VULN, $file));

    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);

    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++);

    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++);

    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++);

    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++);

    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++);

    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++);

    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++);

    Variable $icmsDatabaseUpdater is undeclared
    Open

            $icmsDatabaseUpdater->updateModuleDBVersion($newDbVersion, 'system');

    Call to method fieldExists from undeclared class \icms_db_legacy_updater_Table
    Open

            if ($table->fieldExists('level')) {

    Variable $dbVersion is undeclared
    Open

        if ($dbVersion < $newDbVersion) {

    Reference to static property xoopsDB from undeclared class \icms
    Open

            $result = icms::$xoopsDB->query($sql);

    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);

    Reference to static property xoopsDB from undeclared class \icms
    Open

                            icms::$xoopsDB->queryF(

    Variable $icmsDatabaseUpdater is undeclared
    Open

            $icmsDatabaseUpdater->updateModuleDBVersion($newDbVersion, 'system');

    Variable $dbVersion is undeclared
    Open

        if ($dbVersion < $newDbVersion) {

    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);

    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++);

    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++);

    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++);

    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++);

    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++);

    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++);

    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++);

    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++);

    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++);

    Variable $dbVersion is undeclared
    Open

        if ($dbVersion < $newDbVersion) {

    Reference to static property xoopsDB from undeclared class \icms
    Open

                    list($imgcat_id) = icms::$xoopsDB->fetchRow($result1);

    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 />';

    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)"

    Reference to undeclared constant \ICMS_CONF_MAILER
    Open

            $icmsDatabaseUpdater->insertConfig(ICMS_CONF_MAILER, 'smtpauthport', '_MD_AM_SMTPAUTHPORT', '465', '_MD_AM_SMTPAUTHPORTDESC', 'textbox', 'int', 8);

    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 />';

    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', '');

    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++);

    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++);

    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++);

    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++);

    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++);

    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++);

    Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
    Open

            echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';

    Call to method addNewField from undeclared class \icms_db_legacy_updater_Table
    Open

                $table->addNewField('imgcat_foldername', "varchar(100) default ''");

    Variable $dbVersion is undeclared
    Open

        if ($dbVersion < $newDbVersion) {

    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"';

    Reference to static property xoopsDB from undeclared class \icms
    Open

                while (list($conf_id, $conf_value) = icms::$xoopsDB->fetchRow($result)) {

    Variable $icmsDatabaseUpdater is undeclared
    Open

            $icmsDatabaseUpdater->insertConfig(ICMS_CONF_MAILER, 'smtpauthport', '_MD_AM_SMTPAUTHPORT', '465', '_MD_AM_SMTPAUTHPORTDESC', 'textbox', 'int', 8);

    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++);

    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++);

    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++);

    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++);

    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++);

    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++);

    Call to method fieldExists from undeclared class \icms_db_legacy_updater_Table
    Open

            if (! $table->fieldExists('imgcat_pid')) {

    Call to method addData from undeclared class \icms_db_legacy_updater_Table
    Open

            $table->addData();

    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"');

    Call to method mkdir from undeclared class \icms_core_Filesystem
    Open

            $purifier_path = icms_core_Filesystem::mkdir(ICMS_TRUST_PATH . '/cache/htmlpurifier');

    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);

    Reference to static property xoopsDB from undeclared class \icms
    Open

                while ($row = icms::$xoopsDB->fetchArray($result)) {

    Reference to static property xoopsDB from undeclared class \icms
    Open

                    list($imgcat_foldername) = icms::$xoopsDB->fetchRow($result2);

    Reference to static property xoopsDB from undeclared class \icms
    Open

            $result = icms::$xoopsDB->query($sql);

    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++);

    Variable $icmsDatabaseUpdater is undeclared
    Open

            $icmsDatabaseUpdater->insertConfig(ICMS_CONF_PURIFIER, 'enable_purifier', '_MD_AM_PURIFIER_ENABLE', '1', '_MD_AM_PURIFIER_ENABLEDSC', 'yesno', 'int', $p++);

    Reference to static property xoopsDB from undeclared class \icms
    Open

            $config_id = icms::$xoopsDB->getInsertId();

    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})";

    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++);

    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++);

    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++);

    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++);

    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++);

    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++);

    Variable $icmsDatabaseUpdater is undeclared
    Open

            $icmsDatabaseUpdater->updateModuleDBVersion($newDbVersion, 'system');

    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++);

    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"';

    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++);

    Call to method mkdir from undeclared class \icms_core_Filesystem
    Open

                    if (FALSE === icms_core_Filesystem::mkdir(ICMS_IMANAGER_FOLDER_PATH . '/' . $new_folder)) {

    Reference to static property xoopsDB from undeclared class \icms
    Open

            $myrow = icms::$xoopsDB->fetchArray($result);

    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++);

    Reference to static property xoopsDB from undeclared class \icms
    Open

            if (!icms::$xoopsDB->queryF($sql)) $abortUpdate = true;

    Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
    Open

            echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';

    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++);

    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++);

    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 />';

    Variable $icmsDatabaseUpdater is undeclared
    Open

            $icmsDatabaseUpdater->updateModuleDBVersion($newDbVersion, 'system');

    Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
    Open

            echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';

    Call to method __construct from undeclared class \icms_db_legacy_updater_Table
    Open

            $table = new icms_db_legacy_updater_Table('imagecategory');

    Reference to static property xoopsDB from undeclared class \icms
    Open

                list($block_id) = icms::$xoopsDB->fetchRow($result);

    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'");

    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"');

    Variable $icmsDatabaseUpdater is undeclared
    Open

            $icmsDatabaseUpdater->runQuery($sql_extract_esc, 'System Preferences textarea controls set to textsarea', true);

    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'";

    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');
    Severity: Major
    Found in htdocs/modules/system/include/update-112-to-122.php and 1 other location - About 5 hrs to fix
    htdocs/install/makedata.php on lines 638..639

    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

    Further Reading

    Blank line found at start of control structure
    Open

        if ($dbVersion < $newDbVersion) {

    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) {

    Tabs must be used to indent lines; spaces are not allowed
    Open

            echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';

    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++);

    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++);

    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) {

    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++);

    Blank line found at start of control structure
    Open

        if ($dbVersion < $newDbVersion) {

    Blank line found at end of control structure
    Open

    
    

    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) {

    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++);

    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++);

    Blank line found at start of control structure
    Open

            if (is_writable(ICMS_IMANAGER_FOLDER_PATH)) {

    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);

    TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
    Open

                        if (FALSE === $abortUpdate) {

    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++);

    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)) {

    Blank line found at end of control structure
    Open

    
    

    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) {

    TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
    Open

            $groups = icms::handler('icms_member_group')->getObjects(NULL, true);

    Tabs must be used to indent lines; spaces are not allowed
    Open

                                 } else {

    Inline control structures are not allowed
    Open

        if (!$abortUpdate) $newDbVersion = 22;

    Inline control structures are not allowed
    Open

        if (!$abortUpdate) $newDbVersion = 16;

    Inline control structures are not allowed
    Open

        if (!$abortUpdate) $newDbVersion = 18;

    Inline control structures are not allowed
    Open

        if (!$abortUpdate) $newDbVersion = 20;

    Inline control structures are not allowed
    Open

        if (!$abortUpdate) $newDbVersion = 17;

    Inline control structures are not allowed
    Open

        if (!$abortUpdate) $newDbVersion = 19;

    Inline control structures are not allowed
    Open

        if (!$abortUpdate) $newDbVersion = 37;

    Inline control structures are not allowed
    Open

        if (!$abortUpdate) $newDbVersion = 38;

    Inline control structures are not allowed
    Open

            if (!icms::$xoopsDB->queryF($sql)) $abortUpdate = true;

    Inline control structures are not allowed
    Open

        if (!$abortUpdate) $newDbVersion = 15;

    Inline control structures are not allowed
    Open

        if (!$abortUpdate) $newDbVersion = 25;

    Inline control structures are not allowed
    Open

        if (!$abortUpdate) $newDbVersion = 34;

    Inline control structures are not allowed
    Open

        if (!$abortUpdate) $newDbVersion = 36;

    Inline control structures are not allowed
    Open

        if (!$abortUpdate) $newDbVersion = 21;

    Inline control structures are not allowed
    Open

        if (!$abortUpdate) $newDbVersion = 27;

    Inline control structures are not allowed
    Open

            if (!$result) $abortUpdate = true;

    Inline control structures are not allowed
    Open

        if (!$abortUpdate) $newDbVersion = 13;

    Inline control structures are not allowed
    Open

        if (!$abortUpdate) $newDbVersion = 14;

    Inline control structures are not allowed
    Open

        if (!$abortUpdate) $newDbVersion = 29;

    Inline control structures are not allowed
    Open

        if ($dbVersion < 11) include 'update-to-112.php';

    Inline control structures are not allowed
    Open

        if (!$abortUpdate) $newDbVersion = 12;

    Inline control structures are not allowed
    Open

        if (!$abortUpdate) $newDbVersion = 24;

    Inline control structures are not allowed
    Open

        if (!$abortUpdate) $newDbVersion = 39;

    Inline control structures are not allowed
    Open

        if (!$abortUpdate) $newDbVersion = 30;

    Inline control structures are not allowed
    Open

        if (!$abortUpdate) $newDbVersion = 32;

    Inline control structures are not allowed
    Open

        if (!$abortUpdate) $newDbVersion = 35;

    Inline control structures are not allowed
    Open

            if (!icms::$xoopsDB->queryF($sql)) $abortUpdate = true;

    Inline control structures are not allowed
    Open

        if (!$abortUpdate) $newDbVersion = 33;

    Inline control structures are not allowed
    Open

            if (!isset($myrow['conf_id'])) $abortUpdate = true;

    Inline control structures are not allowed
    Open

        if (!$abortUpdate) $newDbVersion = 40;

    Inline control structures are not allowed
    Open

        if (!$abortUpdate) $newDbVersion = 26;

    Inline control structures are not allowed
    Open

        if (!$abortUpdate) $newDbVersion = 28;

    Line indented incorrectly; expected 1 tabs, found 2
    Open

            if (! icms::$xoopsDB->queryF($sql)) {

    Line indented incorrectly; expected 1 tabs, found 2
    Open

            }

    Line indented incorrectly; expected 3 tabs, found 4
    Open

                    }

    Line indented incorrectly; expected 1 tabs, found 2
    Open

            }

    Line indented incorrectly; expected 2 tabs, found 3
    Open

                foreach($command as $sql) {

    Line indented incorrectly; expected 0 tabs, found 1
    Open

        if ($dbVersion < $newDbVersion) {

    Expected 1 space after FOREACH keyword; 0 found
    Open

                foreach($command as $sql) {

    Line indented incorrectly; expected 2 tabs, found 3
    Open

                }

    Line indented incorrectly; expected 0 tabs, found 1
    Open

        }

    Line indented incorrectly; expected 1 tabs, found 2
    Open

            if (! $table->fieldExists('content_seo_keywords')) {

    Line indented incorrectly; expected 0 tabs, found 1
    Open

        }

    Line indented incorrectly; expected 1 tabs, found 2
    Open

            } else {

    Line indented incorrectly; expected 1 tabs, found 2
    Open

            if ($smartprofile_module && $smartprofile_module->getVar('isactive') && ! $table->exists()) {

    Line indented incorrectly; expected 0 tabs, found 1
    Open

        if ($dbVersion < $newDbVersion) {

    Line indented incorrectly; expected 0 tabs, found 1
    Open

        }

    Line indented incorrectly; expected 1 tabs, found 2
    Open

            }

    Line indented incorrectly; expected 0 tabs, found 1
    Open

        }

    Line indented incorrectly; expected 1 tabs, found 2
    Open

            if (! $table->fieldExists('login_name')) {

    Line indented incorrectly; expected 1 tabs, found 2
    Open

            }

    Line indented incorrectly; expected 0 tabs, found 1
    Open

        }

    Line indented incorrectly; expected 3 tabs, found 4
    Open

                    if (! $result = icms::$xoopsDB->queryF($sql)) {

    Line indented incorrectly; expected 1 tabs, found 2
    Open

            if (! $table->fieldExists('content_seo_description')) {

    Line indented incorrectly; expected 0 tabs, found 1
    Open

        if ($dbVersion < $newDbVersion) {

    Line indented incorrectly; expected 0 tabs, found 1
    Open

        }

    Line indented incorrectly; expected 1 tabs, found 2
    Open

            }

    Line indented incorrectly; expected 0 tabs, found 1
    Open

        if ($dbVersion < $newDbVersion) {

    Line indented incorrectly; expected 1 tabs, found 2
    Open

            }

    Line indented incorrectly; expected 1 tabs, found 2
    Open

            foreach($admin_blocks as $admin_block) {

    Expected 1 space after FOREACH keyword; 0 found
    Open

            foreach($admin_blocks as $admin_block) {

    Line indented incorrectly; expected 2 tabs, found 3
    Open

                }

    Line indented incorrectly; expected 1 tabs, found 2
    Open

            }

    Line indented incorrectly; expected 0 tabs, found 1
    Open

        if ($dbVersion < $newDbVersion) {

    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'))) {

    Line indented incorrectly; expected 1 tabs, found 2
    Open

            }

    Line indented incorrectly; expected 0 tabs, found 1
    Open

        }

    Line indented incorrectly; expected 1 tabs, found 2
    Open

            if (! $table->exists()) {

    Line indented incorrectly; expected 1 tabs, found 2
    Open

            if (getDbValue(icms::$xoopsDB, 'configcategory', 'confcat_name', 'confcat_name="_MD_AM_AUTOTASKS"') == FALSE) {

    Line indented incorrectly; expected 0 tabs, found 1
    Open

        }

    Line indented incorrectly; expected 1 tabs, found 2
    Open

            if ($table->fieldExists('level')) {

    Line indented incorrectly; expected 0 tabs, found 1
    Open

        if ($dbVersion < $newDbVersion) {

    Line indented incorrectly; expected 1 tabs, found 2
    Open

            }

    Line indented incorrectly; expected 1 tabs, found 2
    Open

            if (! $table->fieldExists('imgcat_pid')) {

    Line indented incorrectly; expected 0 tabs, found 1
    Open

        }

    Line indented incorrectly; expected 1 tabs, found 2
    Open

            foreach($groups as $groupid => $group) {

    Line indented incorrectly; expected 5 tabs, found 6
    Open

                            if (! file_exists(ICMS_IMANAGER_FOLDER_PATH . '/' . $new_folder . '/' . $row1 ['image_name'])

    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'])

    Line indented incorrectly; expected 5 tabs, found 7
    Open

                                 } else {

    Line indented incorrectly; expected 1 tabs, found 2
    Open

            }

    Line indented incorrectly; expected 0 tabs, found 1
    Open

        if ($dbVersion < $newDbVersion) {

    Line indented incorrectly; expected 0 tabs, found 1
    Open

        }

    Line indented incorrectly; expected 1 tabs, found 2
    Open

            }

    Line indented incorrectly; expected 0 tabs, found 1
    Open

        if ($dbVersion < $newDbVersion) {

    Line indented incorrectly; expected 2 tabs, found 3
    Open

                if (is_dir(ICMS_ROOT_PATH . '/preload')) {

    Line indented incorrectly; expected 3 tabs, found 4
    Open

                    if (icms_core_Filesystem::copyRecursive(ICMS_ROOT_PATH . '/preload', ICMS_ROOT_PATH . '/plugins/preloads')) {

    Line indented incorrectly; expected 1 tabs, found 2
    Open

            }

    Line indented incorrectly; expected 0 tabs, found 1
    Open

        if ($dbVersion < $newDbVersion) {

    Line indented incorrectly; expected 1 tabs, found 2
    Open

            }

    Line indented incorrectly; expected 1 tabs, found 2
    Open

            }

    Line indented incorrectly; expected 0 tabs, found 1
    Open

        if ($dbVersion < $newDbVersion) {

    Line indented incorrectly; expected 1 tabs, found 2
    Open

            }

    Line indented incorrectly; expected 1 tabs, found 2
    Open

            if (! $table->fieldExists('imgcat_foldername')) {

    Line indented incorrectly; expected 0 tabs, found 1
    Open

        }

    Line indented incorrectly; expected 1 tabs, found 2
    Open

            if (! icms::$xoopsDB->queryF($sql2)) {

    Line indented incorrectly; expected 3 tabs, found 4
    Open

                    } else {

    Line indented incorrectly; expected 1 tabs, found 2
    Open

            }

    Line indented incorrectly; expected 3 tabs, found 4
    Open

                    }

    Line indented incorrectly; expected 0 tabs, found 1
    Open

        if ($dbVersion < $newDbVersion) {

    Line indented incorrectly; expected 4 tabs, found 5
    Open

                        if (FALSE === $abortUpdate) {

    Line indented incorrectly; expected 1 tabs, found 2
    Open

            }

    Line indented incorrectly; expected 2 tabs, found 3
    Open

                }

    Space after opening parenthesis of function call prohibited
    Open

            $result = icms::$xoopsDB->query( $sql);

    Line indented incorrectly; expected 0 tabs, found 1
    Open

        if ($dbVersion < $newDbVersion) {

    Line indented incorrectly; expected 0 tabs, found 1
    Open

        if ($dbVersion < $newDbVersion) {

    Line indented incorrectly; expected 1 tabs, found 2
    Open

            if (getDbValue(icms::$xoopsDB, 'configcategory', 'confcat_name', 'confcat_name="_MD_AM_PURIFIER"') == FALSE) {

    Line indented incorrectly; expected 0 tabs, found 1
    Open

        if ($dbVersion < $newDbVersion) {

    Line indented incorrectly; expected 2 tabs, found 3
    Open

                while ($row = icms::$xoopsDB->fetchArray($result)) {

    Line indented incorrectly; expected 3 tabs, found 4
    Open

                    if (empty($row ['imgcat_foldername']) && $row[ 'imgcat_storetype' ] = 'file') {

    Line indented incorrectly; expected 3 tabs, found 4
    Open

                    } else {

    Line indented incorrectly; expected 4 tabs, found 5
    Open

                        }

    Line indented incorrectly; expected 2 tabs, found 3
    Open

                } else {

    Line indented incorrectly; expected 0 tabs, found 1
    Open

        }

    Line indented incorrectly; expected 0 tabs, found 1
    Open

        if ($dbVersion < $newDbVersion) {

    Line indented incorrectly; expected 3 tabs, found 4
    Open

                    }

    Expected 1 space after FOREACH keyword; 0 found
    Open

            foreach($new_pages as $new_page) {

    Line indented incorrectly; expected 0 tabs, found 1
    Open

        if ($dbVersion < $newDbVersion) {

    Line indented incorrectly; expected 0 tabs, found 1
    Open

        }

    Line indented incorrectly; expected 0 tabs, found 1
    Open

        if ($dbVersion < $newDbVersion) {

    Line indented incorrectly; expected 0 tabs, found 1
    Open

        if ($dbVersion < $newDbVersion) {

    Line indented incorrectly; expected 0 tabs, found 1
    Open

        if ($dbVersion < $newDbVersion) {

    Line indented incorrectly; expected 1 tabs, found 2
    Open

            if (! icms::$xoopsDB->queryF($sql)) {

    Line indented incorrectly; expected 3 tabs, found 4
    Open

                    } else {

    Line indented incorrectly; expected 2 tabs, found 3
    Open

                }

    Line indented incorrectly; expected 0 tabs, found 1
    Open

        if ($dbVersion < $newDbVersion) {

    Line indented incorrectly; expected 1 tabs, found 2
    Open

            }

    Line indented incorrectly; expected 0 tabs, found 1
    Open

        if ($dbVersion < $newDbVersion) {

    Line indented incorrectly; expected 1 tabs, found 2
    Open

            }

    Line indented incorrectly; expected 0 tabs, found 1
    Open

        }

    Expected 1 space after FOREACH keyword; 0 found
    Open

            foreach($groups as $groupid => $group) {

    Line indented incorrectly; expected 0 tabs, found 1
    Open

        }

    Multi-line function call not indented correctly; expected 28 spaces but found 32
    Open

                                    ICMS_IMANAGER_FOLDER_PATH . '/' . $new_folder . '/' . $row1['image_name'])

    Line indented incorrectly; expected 0 tabs, found 1
    Open

        if ($dbVersion < $newDbVersion) {

    Line indented incorrectly; expected 5 tabs, found 7
    Open

                                }

    Line indented incorrectly; expected 1 tabs, found 2
    Open

            if (getDbValue(icms::$xoopsDB, 'configcategory', 'confcat_name', 'confcat_name="_MD_AM_PLUGINS"') == FALSE) {

    Line indented incorrectly; expected 0 tabs, found 1
    Open

        }

    Line indented incorrectly; expected 0 tabs, found 1
    Open

        }

    Line indented incorrectly; expected 1 tabs, found 2
    Open

            if (getDbValue(icms::$xoopsDB, 'configcategory', 'confcat_name', 'confcat_name="_MD_AM_CAPTCHA"') == FALSE) {

    Line indented incorrectly; expected 1 tabs, found 2
    Open

            if (! $table->exists()) {

    Line indented incorrectly; expected 0 tabs, found 1
    Open

        }

    Line indented incorrectly; expected 0 tabs, found 1
    Open

        }

    Line indented incorrectly; expected 1 tabs, found 2
    Open

            if (! $table->exists()) {

    Line indented incorrectly; expected 1 tabs, found 2
    Open

            }

    Line indented incorrectly; expected 0 tabs, found 1
    Open

        }

    Line indented incorrectly; expected 0 tabs, found 1
    Open

        if ($dbVersion < $newDbVersion) {

    Line indented incorrectly; expected 1 tabs, found 2
    Open

            }

    Line indented incorrectly; expected 0 tabs, found 1
    Open

        }

    Line indented incorrectly; expected 0 tabs, found 1
    Open

        if ($dbVersion < $newDbVersion) {

    Space after opening parenthesis of function call prohibited
    Open

                        $new_folder =  preg_replace( '/[:?".<>\/\\\|\s]/', '_', strtolower($row[ 'imgcat_name' ]));

    Line indented incorrectly; expected 3 tabs, found 4
    Open

                    }

    Line indented incorrectly; expected 1 tabs, found 2
    Open

            }

    Line indented incorrectly; expected 0 tabs, found 1
    Open

        }

    Line indented incorrectly; expected 0 tabs, found 1
    Open

        if ($dbVersion < $newDbVersion) {

    Line indented incorrectly; expected 1 tabs, found 2
    Open

            if (! icms::$xoopsDB->queryF($sql)) {

    Line indented incorrectly; expected 1 tabs, found 2
    Open

            }

    Line indented incorrectly; expected 0 tabs, found 2
    Open

            foreach($new_pages as $new_page) {

    Line indented incorrectly; expected 1 tabs, found 2
    Open

            while ($row = icms::$xoopsDB->fetchArray($result)) {

    Line indented incorrectly; expected 1 tabs, found 2
    Open

            }

    Line indented incorrectly; expected 5 tabs, found 7
    Open

                                if (icms_core_Filesystem::copyRecursive(

    Line indented incorrectly; expected 4 tabs, found 5
    Open

                        }

    Line indented incorrectly; expected 2 tabs, found 3
    Open

                while (list($conf_id, $conf_value) = icms::$xoopsDB->fetchRow($result)) {

    Line indented incorrectly; expected 0 tabs, found 1
    Open

        }

    Line indented incorrectly; expected 2 tabs, found 3
    Open

                if(unlink($file)) {

    Line indented incorrectly; expected 1 tabs, found 2
    Open

            }

    Line indented incorrectly; expected 1 tabs, found 2
    Open

            }

    Line indented incorrectly; expected 3 tabs, found 4
    Open

                    if (FALSE === icms_core_Filesystem::mkdir(ICMS_IMANAGER_FOLDER_PATH . '/' . $new_folder)) {

    Line indented incorrectly; expected 1 tabs, found 2
    Open

            if (! $table->exists()) {

    Line indented incorrectly; expected 0 tabs, found 1
    Open

        }

    Line indented incorrectly; expected 4 tabs, found 5
    Open

                        while (($row1 = icms::$xoopsDB->fetchArray($result1)) && ! $abortUpdate) {

    Line indented incorrectly; expected 2 tabs, found 3
    Open

                }

    Line indented incorrectly; expected 0 tabs, found 2
    Open

            }

    Line indented incorrectly; expected 1 tabs, found 2
    Open

            if (is_writable(ICMS_IMANAGER_FOLDER_PATH)) {

    Line indented incorrectly; expected 5 tabs, found 6
    Open

                            }

    Line indented incorrectly; expected 1 tabs, found 2
    Open

            if (! icms::$xoopsDB->queryF($sql)) {

    Line indented incorrectly; expected 0 tabs, found 1
    Open

        }

    Line indented incorrectly; expected 0 tabs, found 1
    Open

        if ($dbVersion < $newDbVersion) {

    Line indented incorrectly; expected 0 tabs, found 1
    Open

        }

    Space after opening parenthesis of function call prohibited
    Open

            $sql = 'UPDATE `' . icms::$xoopsDB->prefix( 'config') . '` SET `conf_order`=9 WHERE `conf_name`="sendmailpath"';

    Expected 1 space after IF keyword; 0 found
    Open

                if(unlink($file)) {

    Line indented incorrectly; expected 0 tabs, found 1
    Open

        }

    Line indented incorrectly; expected 0 tabs, found 1
    Open

        if ($dbVersion < $newDbVersion) {

    Line indented incorrectly; expected 1 tabs, found 2
    Open

            } else {

    Line indented incorrectly; expected 1 tabs, found 2
    Open

            if (file_exists($file)) {

    Unexpected spaces found.
    Open

                                 } else {

    Unexpected spaces found.
    Open

            echo sprintf(_DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local($newDbVersion)) . '<br />';

    There are no issues that match your filters.

    Category
    Status