ImpressCMS/impresscms

View on GitHub

Showing 47,251 of 47,256 total issues

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

Call to method setStructure from undeclared class \icms_db_legacy_updater_Table
Open

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

Reference to undeclared constant \_DATABASEUPDATER_MSG_QUERY_FAILED
Open

    if ($table->fieldExists("background_color")) $icmsDatabaseUpdater->runQuery($sql = "ALTER TABLE `" . $table->name() . "` CHANGE background_color color_background varchar(6) NOT NULL default ''", sprintf(_DATABASEUPDATER_MSG_QUERY_SUCCESSFUL, $sql), sprintf(_DATABASEUPDATER_MSG_QUERY_FAILED, $sql));

Reference to static property xoopsDB from undeclared class \icms
Open

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

Reference to undeclared constant \_DATABASEUPDATER_MSG_QUERY_SUCCESSFUL
Open

    if ($table->fieldExists("link_color")) $icmsDatabaseUpdater->runQuery($sql = "ALTER TABLE `" . $table->name() . "` CHANGE link_color color_link varchar(6) NOT NULL default ''", sprintf(_DATABASEUPDATER_MSG_QUERY_SUCCESSFUL, $sql), sprintf(_DATABASEUPDATER_MSG_QUERY_FAILED, $sql));

Call to method fieldExists from undeclared class \icms_db_legacy_updater_Table
Open

    if ($table->fieldExists("text_color")) $icmsDatabaseUpdater->runQuery($sql = "ALTER TABLE `" . $table->name() . "` CHANGE text_color color_text varchar(6) NOT NULL default ''", sprintf(_DATABASEUPDATER_MSG_QUERY_SUCCESSFUL, $sql), sprintf(_DATABASEUPDATER_MSG_QUERY_FAILED, $sql));

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

            $start_pages [$groupid] = $start_page;

Reference to undeclared constant \_DATABASEUPDATER_MSG_QUERY_FAILED
Open

    $icmsDatabaseUpdater->runQuery($sql = "UPDATE `" . $table->name() . "` SET conf_order = conf_order + 1 WHERE conf_order >= " . $p . " AND conf_catid = " . ICMS_CONF_PURIFIER, sprintf(_DATABASEUPDATER_MSG_QUERY_SUCCESSFUL, $sql), sprintf(_DATABASEUPDATER_MSG_QUERY_FAILED, $sql));

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

Call to method name from undeclared class \icms_db_legacy_updater_Table
Open

    $sql = "UPDATE `" . $table->name() . "` SET conf_formtype = 'textarea' WHERE conf_name = 'footer';";

Variable $icmsDatabaseUpdater is undeclared
Open

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

Reference to undeclared constant \_DATABASEUPDATER_MSG_QUERY_SUCCESSFUL
Open

    $icmsDatabaseUpdater->runQuery($sql, sprintf(_DATABASEUPDATER_MSG_QUERY_SUCCESSFUL, $sql), sprintf(_DATABASEUPDATER_MSG_QUERY_FAILED, $sql));

Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
Open

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

Call to method createTable from undeclared class \icms_db_legacy_updater_Table
Open

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

Call to method setStructure from undeclared class \icms_db_legacy_updater_Table
Open

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

Call to method __construct from undeclared class \icms_db_legacy_updater_Table
Open

    $table = new icms_db_legacy_updater_Table('group_permission');

Call to method addAlteredField from undeclared class \icms_db_legacy_updater_Table
Open

    $table->addAlteredField('gperm_modid', "SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0'", 'gperm_modid');
Severity
Category
Status
Source
Language