ImpressCMS/impresscms

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

Summary

Maintainability
F
3 days
Test Coverage

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'allow_annon_view_prof', '_MD_AM_ALLOW_ANONYMOUS_VIEW_PROFILE', '1', '_MD_AM_ALLOW_ANONYMOUS_VIEW_PROFILE_DESC', 'yesno', 'int', 36 );

Reference to undeclared constant \IM_CONF_CONTENT
Open

        $icmsDatabaseUpdater->insertConfig ( IM_CONF_CONTENT, 'default_page', '_MD_AM_DEFAULT_CONTPAGE', '0', '_MD_AM_DEFAULT_CONTPAGEDSC', 'select_pages', 'int', 1 );

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'email_cor', '_MD_AM_EMAILCOLOR', '#000000', '_MD_AM_EMAILCOLOR_DESC', 'color', 'text', 14 );

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'shadow_x', '_MD_AM_SHADOWX', '2', '_MD_AM_SHADOWX_DESC', 'textbox', 'int', 16 );

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'shorten_url', '_MD_AM_SHORTURL', '0', '_MD_AM_SHORTURLDSC', 'yesno', 'int', 18 );

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'show_impresscms_menu', '_MD_AM_SHOW_ICMSMENU', '1', '_MD_AM_SHOW_ICMSMENU_DESC', 'yesno', 'int', 22 );

Call to method add from undeclared class \icms_db_criteria_Compo
Open

        $criteria->add ( new icms_db_criteria_Item ( 'conf_catid', ICMS_CONF_PERSONA ) );

Call to method addNewField from undeclared class \icms_db_legacy_updater_Table
Open

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

Variable $icmsDatabaseUpdater is undeclared
Open

            $icmsDatabaseUpdater->updateTable ( $table );

Variable $dbVersion is undeclared
Open

    if ($dbVersion < $newDbVersion) {

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'use_jsjalali', '_MD_AM_JALALICAL', '0', '_MD_AM_JALALICALDSC', 'yesno', 'int', 23 );

Call to method __construct from undeclared class \icms_db_legacy_updater_Table
Open

        $table = new icms_db_legacy_updater_Table ( 'modules' );

Call to method name from undeclared class \icms_db_legacy_updater_Table
Open

        $icmsDatabaseUpdater->runQuery ( "ALTER TABLE `" . $table->name () . "` MODIFY pass_expired tinyint(1) unsigned NOT NULL default 0", 'Successfully altered field pass_expired in table users', '' );

Reference to static property xoopsDB from undeclared class \icms
Open

            $sql = "SELECT bid FROM `" . icms::$xoopsDB->prefix ( 'newblocks' ) . "` WHERE show_func='b_social_bookmarks'";

Reference to static property xoopsDB from undeclared class \icms
Open

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

Variable $dbVersion is undeclared
Open

    if ($dbVersion <= $newDbVersion) {

Reference to undeclared constant \ICMS_CONF_USER
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'welcome_msg', '_MD_AM_WELCOMEMSG', 0, '_MD_AM_WELCOMEMSGDSC', 'yesno', 'int', 3 );

Reference to undeclared constant \ICMS_CONF_USER
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'sig_max_length', '_MD_AM_SIGMAXLENGTH', '255', '_MD_AM_SIGMAXLENGTHDSC', 'textbox', 'int', 4 );

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->insertConfig ( IM_CONF_CONTENT, 'default_page', '_MD_AM_DEFAULT_CONTPAGE', '0', '_MD_AM_DEFAULT_CONTPAGEDSC', 'select_pages', 'int', 1 );

Reference to undeclared constant \ICMS_CONF_USER
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'avatar_allow_gravatar', '_MD_AM_GRAVATARALLOW', '1', '_MD_AM_GRAVATARALWDSC', 'yesno', 'int', 15 );

Reference to undeclared constant \ICMS_CONF_PERSONA
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'email_font_len', '_MD_AM_EMAILLEN', '12', '_MD_AM_EMAILLEN_DESC', 'textbox', 'int', 13 );

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'rss_local', '_MD_AM_RSSLOCAL', 'http://www.impresscms.org/modules/smartsection/backend.php', '_MD_AM_RSSLOCAL_DESC', 'textbox', 'text', 7 );

Call to method add from undeclared class \icms_db_criteria_Compo
Open

        $criteria->add ( new icms_db_criteria_Item ( 'conf_order', 3, '>' ) );

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'shadow_y', '_MD_AM_SHADOWY', '2', '_MD_AM_SHADOWY_DESC', 'textbox', 'int', 17 );

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'editre_block', '_MD_AM_EDITREMOVEBLOCK', '1', '_MD_AM_EDITREMOVEBLOCKDSC', 'yesno', 'int', 8 );

Call to method addNewField from undeclared class \icms_db_legacy_updater_Table
Open

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

Reference to undeclared constant \ICMS_CONF_PERSONA
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'email_protect', '_MD_AM_EMAILPROTECT', '0', '_MD_AM_EMAILPROTECTDSC', 'yesno', 'int', 11 );

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'use_captcha', '_MD_AM_USECAPTCHA', 1, '_MD_AM_USECAPTCHADSC', 'yesno', 'int', 3 );

Call to method fieldExists from undeclared class \icms_db_legacy_updater_Table
Open

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

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->runQuery ( 'UPDATE ' . $table->name () . ' SET module_id=0, page_id=1 WHERE module_id=-1', 'Block Visibility Restructured Successfully', 'Failed in Restructure the Block Visibility' );

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, 'search_user_date', '_MD_AM_SEARCH_USERDATE', '1', '_MD_AM_SEARCH_USERDATE', 'yesno', 'int', 2 );

Call to method __construct from undeclared class \icms_db_criteria_Item
Open

        $criteria->add ( new icms_db_criteria_Item ( 'conf_name', 'rss_local' ) );

Variable $dbVersion is undeclared
Open

    if ($dbVersion < $newDbVersion) {

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->insertConfig ( IM_CONF_CONTENT, 'show_subs', '_MD_AM_CONT_SHOWSUBS', '1', '_MD_AM_CONT_SHOWSUBSDSC', 'yesno', 'int', 3 );

Call to method __construct from undeclared class \icms_db_criteria_Item
Open

        $criteria->add ( new icms_db_criteria_Item ( 'conf_name', 'google_analytics' ) );

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_PERSONA, 'adm_right_logo', '_MD_AM_RLOGOADM', '', '_MD_AM_RLOGOADM_DESC', 'select_image', 'text', 4 );

Reference to static property xoopsDB from undeclared class \icms
Open

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

Reference to static property xoopsDB from undeclared class \icms
Open

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

Reference to static property xoopsDB from undeclared class \icms
Open

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

Reference to undeclared constant \ICMS_CONF_PERSONA
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'shadow_x', '_MD_AM_SHADOWX', '2', '_MD_AM_SHADOWX_DESC', 'textbox', 'int', 16 );

Variable $abortUpdate is undeclared
Open

    if (!$abortUpdate) $newDbVersion = 7;

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'bad_emails'" );

Call to method name from undeclared class \icms_db_legacy_updater_Table
Open

        $icmsDatabaseUpdater->runQuery ( 'INSERT INTO ' . $table->name () . ' (imgcat_id, imgcat_name, imgcat_maxsize, imgcat_maxwidth, imgcat_maxheight, imgcat_display, imgcat_weight, imgcat_type, imgcat_storetype) VALUES (NULL, "Logos", 350000, 350, 80, 1, 0, "C", "file")', 'Successfully created Logos imagecategory', 'Problems when try to create Logos imagecategory' );

Call to method handler from undeclared class \icms
Open

        $configitem_handler = icms::handler('icms_config_item');

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->runQuery ( 'INSERT INTO ' . $table->name () . ' VALUES(0,1,' . $categ_id . ',1,"imgcat_write")', '', '' );

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'smtphost'" );

Variable $dbVersion is undeclared
Open

    if ($dbVersion < $newDbVersion) {

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->runQuery ( 'INSERT INTO ' . $table->name () . ' VALUES(0,1,' . $categ_id . ',1,"imgcat_read")', '', '' );

Call to method fieldExists from undeclared class \icms_db_legacy_updater_Table
Open

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

Call to method addNewField from undeclared class \icms_db_legacy_updater_Table
Open

            $table->addNewField ( 'enc_type', "tinyint(2) UNSIGNED NOT NULL default 0" );

Reference to static property xoopsDB from undeclared class \icms
Open

        if (getDbValue ( icms::$xoopsDB, 'newblocks', 'show_func', 'show_func="b_content_relmenu_show"' ) == FALSE) {

Reference to static property xoopsDB from undeclared class \icms
Open

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

Variable $icmsDatabaseUpdater is undeclared
Open

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

Reference to static property xoopsDB from undeclared class \icms
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );

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 ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 17, 1, 'system_admin');" );

Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
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 ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 18, 1, 'system_admin');" );

Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
Open

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

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'reg_disclaimer'" );

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'bad_ips'" );

Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
Open

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

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'bad_unames'" );

Call to method __construct from undeclared class \icms_db_criteria_Compo
Open

        $criteria = new icms_db_criteria_Compo ( );

Reference to undeclared constant \ICMS_CONF_SEARCH
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_SEARCH, 'search_no_res_mod', '_MD_AM_SEARCH_NO_RES_MOD', '1', '_MD_AM_SEARCH_NO_RES_MODDSC', 'yesno', 'int', 3 );

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_left_logo', '_MD_AM_LLOGOADM', '/uploads/img482278e29e81c.png', '_MD_AM_LLOGOADM_DESC', 'select_image', 'text', 1 );

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_left_logo_alt', '_MD_AM_LLOGOADM_ALT', 'ImpressCMS', '_MD_AM_LLOGOADM_ALT_DESC', 'textbox', 'text', 3 );

Reference to undeclared constant \ICMS_CONF_PERSONA
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'email_shadow', '_MD_AM_EMAILSHADOW', '#cccccc', '_MD_AM_EMAILSHADOW_DESC', 'color', 'text', 15 );

Reference to undeclared constant \ICMS_CONF_PERSONA
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'show_impresscms_menu', '_MD_AM_SHOW_ICMSMENU', '1', '_MD_AM_SHOW_ICMSMENU_DESC', 'yesno', 'int', 22 );

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->updateTable ( $table );

Variable $icmsDatabaseUpdater is undeclared
Open

            $icmsDatabaseUpdater->updateTable ( $table );

Variable $icmsDatabaseUpdater is undeclared
Open

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

Variable $table is undeclared
Open

        unset ( $table );

Variable $icmsDatabaseUpdater is undeclared
Open

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

Call to method __construct from undeclared class \icms_db_criteria_Compo
Open

        $criteria = new icms_db_criteria_Compo ( );

Call to method __construct from undeclared class \icms_db_criteria_Item
Open

        $criteria->add ( new icms_db_criteria_Item ( 'conf_catid', ICMS_CONF_METAFOOTER ) );

Variable $dbVersion is undeclared
Open

    if ($dbVersion < $newDbVersion) {

Call to method name from undeclared class \icms_db_legacy_updater_Table
Open

        $icmsDatabaseUpdater->runQuery ( "ALTER TABLE `" . $table->name () . "` MODIFY version smallint(5) unsigned NOT NULL default '102'", 'Successfully modified field version in table modules', '' );

Reference to static property xoopsDB from undeclared class \icms
Open

        if (getDbValue ( icms::$xoopsDB, 'newblocks', 'show_func', 'show_func="b_content_show"' ) == FALSE) {

Reference to static property xoopsDB from undeclared class \icms
Open

            $sql = "SELECT bid FROM `" . icms::$xoopsDB->prefix ( 'newblocks' ) . "` WHERE show_func='b_content_relmenu_show'";

Reference to static property xoopsDB from undeclared class \icms
Open

        icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 20, 1, 'system_admin');" );

Variable $icmsDatabaseUpdater is undeclared
Open

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

Variable $icmsDatabaseUpdater is undeclared
Open

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

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF, 'use_ext_date', '_MD_AM_EXT_DATE', 0, '_MD_AM_EXT_DATEDSC', 'yesno', 'int', 12 );

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_METAFOOTER, 'google_analytics', '_MD_AM_GOOGLE_ANA', '', '_MD_AM_GOOGLE_ANA_DESC', 'textbox', 'text', 21 );

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_left_logo_url', '_MD_AM_LLOGOADM_URL', '' . XOOPS_URL . '/', '_MD_AM_LLOGOADM_URL_DESC', 'textbox', 'text', 2 );

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'email_font_len', '_MD_AM_EMAILLEN', '12', '_MD_AM_EMAILLEN_DESC', 'textbox', 'int', 13 );

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'max_url_long', '_MD_AM_URLLEN', '50', '_MD_AM_URLLEN_DESC', 'textbox', 'int', 19 );

Reference to undeclared constant \ICMS_CONF_PERSONA
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'pre_chars_left', '_MD_AM_PRECHARS', '35', '_MD_AM_PRECHARS_DESC', 'textbox', 'int', 20 );

Reference to undeclared constant \ICMS_CONF_PERSONA
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'last_chars_left', '_MD_AM_LASTCHARS', '10', '_MD_AM_LASTCHARS_DESC', 'textbox', 'int', 21 );

Call to method name from undeclared class \icms_db_legacy_updater_Table
Open

        $icmsDatabaseUpdater->runQuery ( 'INSERT INTO ' . $table->name () . ' (image_id, image_name, image_nicename, image_mimetype, image_created, image_display, image_weight, imgcat_id) VALUES (NULL, "img482278e29e81c.png", "ImpressCMS", "image/png", ' . time () . ', 1, 0, ' . $categ_id . ')', 'Successfully added default ImpressCMS admin logo', 'Problems when try to add ImpressCMS admin logo' );

Variable $abortUpdate is undeclared
Open

    if (!$abortUpdate) $newDbVersion = 3;

Variable $icmsDatabaseUpdater is undeclared
Open

            $icmsDatabaseUpdater->updateTable ( $table );

Variable $abortUpdate is undeclared
Open

    if (!$abortUpdate) $newDbVersion = 4;

Reference to undeclared constant \ICMS_CONF_PERSONA
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'use_jsjalali', '_MD_AM_JALALICAL', '0', '_MD_AM_JALALICALDSC', 'yesno', 'int', 23 );

Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
Open

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

Variable $abortUpdate is undeclared
Open

    if (!$abortUpdate) $newDbVersion = 8;

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->runQuery ( "ALTER TABLE `" . $table->name () . "` MODIFY pass_expired tinyint(1) unsigned NOT NULL default 0", 'Successfully altered field pass_expired in table users', '' );

Reference to static property xoopsDB from undeclared class \icms
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 1);" );

Reference to static property xoopsDB from undeclared class \icms
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );

Reference to static property xoopsDB from undeclared class \icms
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 0);" );

Reference to static property xoopsDB from undeclared class \icms
Open

        if (getDbValue ( icms::$xoopsDB, 'newblocks', 'show_func', 'show_func="b_content_menu_show"' ) == FALSE) {

Reference to static property xoopsDB from undeclared class \icms
Open

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

Reference to static property xoopsDB from undeclared class \icms
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 0);" );

Reference to static property xoopsDB from undeclared class \icms
Open

        icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 1, 1, 'content_admin');" );

Variable $dbVersion is undeclared
Open

    if ($dbVersion < $newDbVersion) {

Reference to undeclared constant \ICMS_CONF
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF, 'use_ext_date', '_MD_AM_EXT_DATE', 0, '_MD_AM_EXT_DATEDSC', 'yesno', 'int', 12 );

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'allwshow_sig', '_MD_AM_ALLWSHOWSIG', 1, '_MD_AM_ALLWSHOWSIGDSC', 'yesno', 'int', 4 );

Call to method __construct from undeclared class \icms_db_legacy_updater_Table
Open

        $table = new icms_db_legacy_updater_Table ( 'imagecategory' );

Call to method __construct from undeclared class \icms_db_legacy_updater_Table
Open

        $table = new icms_db_legacy_updater_Table ( 'group_permission' );

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 ( 'user_viewoid', "tinyint(1) UNSIGNED NOT NULL default 0" );

Variable $dbVersion is undeclared
Open

    if ($dbVersion < $newDbVersion) {

Variable $table is undeclared
Open

        unset ( $table );

Call to method add from undeclared class \icms_db_criteria_Compo
Open

        $criteria->add ( new icms_db_criteria_Item ( 'conf_name', 'google_analytics' ) );

Reference to undeclared constant \ICMS_CONF_METAFOOTER
Open

        $criteria->add ( new icms_db_criteria_Item ( 'conf_catid', ICMS_CONF_METAFOOTER ) );

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->runQuery ( "ALTER TABLE `" . $table->name () . "` DROP INDEX unamepass, ADD INDEX unamepass (uname (10), pass (10))", 'Successfully altered the index unamepass on table users', '' );

Reference to static property xoopsDB from undeclared class \icms
Open

        if (getDbValue ( icms::$xoopsDB, 'newblocks', 'show_func', 'show_func="b_social_bookmarks"' ) == FALSE) {

Reference to static property xoopsDB from undeclared class \icms
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 0);" );

Reference to static property xoopsDB from undeclared class \icms
Open

        icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 19, 1, 'system_admin');" );

Call to method __construct from undeclared class \icms_db_criteria_Item
Open

        $criteria->add ( new icms_db_criteria_Item ( 'conf_order', 3, '>' ) );

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF, 'editor_enabled_list', '_MD_AM_EDITOR_ENABLED_LIST', ".serialize(array('default')).", '_MD_AM_EDITOR_ENABLED_LIST_DESC', 'editor_multi', 'array', 16 );

Reference to undeclared constant \ICMS_CONF_USER
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'use_captcha', '_MD_AM_USECAPTCHA', 1, '_MD_AM_USECAPTCHADSC', 'yesno', 'int', 3 );

Suspicious type null of a variable or expression used to build a string. (Expected type to be able to cast to a string)
Open

        $default_msg_content_file = ICMS_ROOT_PATH . '/language/' . $icmsConfig ['language'] . '/mail_template/' . 'welcome.tpl';

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'sig_max_length', '_MD_AM_SIGMAXLENGTH', '255', '_MD_AM_SIGMAXLENGTHDSC', 'textbox', 'int', 4 );

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'multi_login', '_MD_AM_MULTLOGINPREVENT', '0', '_MD_AM_MULTLOGINPREVENTDSC', 'yesno', 'int', 9 );

Reference to undeclared constant \ICMS_CONF_PERSONA
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'shadow_y', '_MD_AM_SHADOWY', '2', '_MD_AM_SHADOWY_DESC', 'textbox', 'int', 17 );

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_AUTH, 'auth_openid', '_MD_AM_AUTHOPENID', '0', '_MD_AM_AUTHOPENIDDSC', 'yesno', 'int', 1 );

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->runQuery ( 'INSERT INTO ' . $table->name () . ' (imgcat_id, imgcat_name, imgcat_maxsize, imgcat_maxwidth, imgcat_maxheight, imgcat_display, imgcat_weight, imgcat_type, imgcat_storetype) VALUES (NULL, "Logos", 350000, 350, 80, 1, 0, "C", "file")', 'Successfully created Logos imagecategory', 'Problems when try to create Logos imagecategory' );

Call to method __construct from undeclared class \icms_db_legacy_updater_Table
Open

        $table = new icms_db_legacy_updater_Table ( 'image' );

Call to method add from undeclared class \icms_db_criteria_Compo
Open

        $criteria->add ( new icms_db_criteria_Item ( 'conf_name', 'rss_local' ) );

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->updateModuleDBVersion ( $newDbVersion, 'system' );

Reference to static property xoopsDB from undeclared class \icms
Open

        icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 3, 1, 'group_manager');" );

Reference to undeclared constant \ICMS_CONF
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF, 'editor_default', '_MD_AM_EDITOR_DEFAULT', 'default', '_MD_AM_EDITOR_DEFAULT_DESC', 'editor', 'text', 16 );

Reference to undeclared constant \ICMS_CONF_USER
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'allwshow_sig', '_MD_AM_ALLWSHOWSIG', 1, '_MD_AM_ALLWSHOWSIGDSC', 'yesno', 'int', 4 );

Variable $abortUpdate is undeclared
Open

    if (!$abortUpdate) $newDbVersion = 11;

Reference to undeclared constant \ICMS_CONF_METAFOOTER
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_METAFOOTER, 'footadm', '_MD_AM_FOOTADM', 'Powered by ImpressCMS &copy; 2007-' . date ( "Y", time () ) . ' <a href=\"http://www.impresscms.org/\" rel=\"external\">The ImpressCMS Project</a>', '_MD_AM_FOOTADM_DESC', 'textarea', 'text', 22 );

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, 'editor_default', '_MD_AM_EDITOR_DEFAULT', 'default', '_MD_AM_EDITOR_DEFAULT_DESC', 'editor', 'text', 16 );

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->insertConfig ( IM_CONF_CONTENT, 'show_nav', '_MD_AM_CONT_SHOWNAV', '1', '_MD_AM_CONT_SHOWNAVDSC', 'yesno', 'int', 2 );

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_right_logo_alt', '_MD_AM_RLOGOADM_ALT', '', '_MD_AM_RLOGOADM_ALT_DESC', 'textbox', 'text', 6 );

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'welcome_msg', '_MD_AM_WELCOMEMSG', 0, '_MD_AM_WELCOMEMSGDSC', 'yesno', 'int', 3 );

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'avatar_allow_gravatar', '_MD_AM_GRAVATARALLOW', '1', '_MD_AM_GRAVATARALWDSC', 'yesno', 'int', 15 );

Reference to undeclared constant \ICMS_CONF_PERSONA
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'editre_block', '_MD_AM_EDITREMOVEBLOCK', '1', '_MD_AM_EDITREMOVEBLOCKDSC', 'yesno', 'int', 8 );

Reference to undeclared constant \ICMS_CONF_METAFOOTER
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_METAFOOTER, 'google_meta', '_MD_AM_METAGOOGLE', '', '_MD_AM_METAGOOGLE_DESC', 'textbox', 'text', 9 );

Reference to undeclared constant \ICMS_CONF_PERSONA
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'email_cor', '_MD_AM_EMAILCOLOR', '#000000', '_MD_AM_EMAILCOLOR_DESC', 'color', 'text', 14 );

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_METAFOOTER, 'footadm', '_MD_AM_FOOTADM', 'Powered by ImpressCMS &copy; 2007-' . date ( "Y", time () ) . ' <a href=\"http://www.impresscms.org/\" rel=\"external\">The ImpressCMS Project</a>', '_MD_AM_FOOTADM_DESC', 'textarea', 'text', 22 );

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->updateTable ( $table );

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'welcome_msg_content', '_MD_AM_WELCOMEMSG_CONTENT', $default_msg_content, '_MD_AM_WELCOMEMSG_CONTENTDSC', 'textarea', 'text', 3 );

Reference to static property xoopsDB from undeclared class \icms
Open

        $result = icms::$xoopsDB->query ( "SELECT imgcat_id FROM " . icms::$xoopsDB->prefix ( 'imagecategory' ) . " WHERE imgcat_name = 'Logos'" );

Reference to undeclared constant \ICMS_CONF
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF, 'use_captchaf', '_MD_AM_USECAPTCHAFORM', 1, '_MD_AM_USECAPTCHAFORMDSC', 'yesno', 'int', 37 );

Reference to undeclared constant \ICMS_CONF_SEARCH
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_SEARCH, 'search_per_page', '_MD_AM_SEARCH_PER_PAGE', '20', '_MD_AM_SEARCH_PER_PAGEDSC', 'textbox', 'int', 4 );

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF, 'use_captchaf', '_MD_AM_USECAPTCHAFORM', 1, '_MD_AM_USECAPTCHAFORMDSC', 'yesno', 'int', 37 );

Reference to static property xoopsDB from undeclared class \icms
Open

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

Reference to undeclared constant \ICMS_CONF_USER
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'allow_htsig', '_MD_AM_ALLWHTSIG', 1, '_MD_AM_ALLWHTSIGDSC', 'yesno', 'int', 4 );

Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
Open

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

Reference to undeclared constant \ICMS_CONF_METAFOOTER
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_METAFOOTER, 'google_analytics', '_MD_AM_GOOGLE_ANA', '', '_MD_AM_GOOGLE_ANA_DESC', 'textbox', 'text', 21 );

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_SEARCH, 'search_per_page', '_MD_AM_SEARCH_PER_PAGE', '20', '_MD_AM_SEARCH_PER_PAGEDSC', 'textbox', 'int', 4 );

Reference to undeclared constant \ICMS_CONF_PERSONA
Open

        $criteria->add ( new icms_db_criteria_Item ( 'conf_catid', ICMS_CONF_PERSONA ) );

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->insertConfig ( IM_CONF_CONTENT, 'show_pinfo', '_MD_AM_CONT_SHOWPINFO', '1', '_MD_AM_CONT_SHOWPINFODSC', 'yesno', 'int', 4 );

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->insertConfig ( IM_CONF_MULILANGUAGE, 'ml_autoselect_enabled', '_MD_AM_ML_AUTOSELECT_ENABLED', '0', '_MD_AM_ML_AUTOSELECT_ENABLED_DESC', 'yesno', 'int', 1 );

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_right_logo_url', '_MD_AM_RLOGOADM_URL', '', '_MD_AM_RLOGOADM_URL_DESC', 'textbox', 'text', 5 );

Variable $icmsDatabaseUpdater is undeclared
Open

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

Reference to undeclared constant \ICMS_CONF_PERSONA
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'email_font', '_MD_AM_EMAILTTF', 'arial.ttf', '_MD_AM_EMAILTTF_DESC', 'select_font', 'text', 12 );

Reference to undeclared constant \IM_CONF_CONTENT
Open

        $icmsDatabaseUpdater->insertConfig ( IM_CONF_CONTENT, 'show_nav', '_MD_AM_CONT_SHOWNAV', '1', '_MD_AM_CONT_SHOWNAVDSC', 'yesno', 'int', 2 );

Reference to undeclared constant \ICMS_CONF_PERSONA
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_left_logo', '_MD_AM_LLOGOADM', '/uploads/img482278e29e81c.png', '_MD_AM_LLOGOADM_DESC', 'select_image', 'text', 1 );

Reference to undeclared constant \ICMS_CONF_PERSONA
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'shorten_url', '_MD_AM_SHORTURL', '0', '_MD_AM_SHORTURLDSC', 'yesno', 'int', 18 );

Reference to undeclared constant \ICMS_CONF_PERSONA
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'max_url_long', '_MD_AM_URLLEN', '50', '_MD_AM_URLLEN_DESC', 'textbox', 'int', 19 );

Call to method fieldExists from undeclared class \icms_db_legacy_updater_Table
Open

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

Reference to undeclared constant \ICMS_CONF_PERSONA
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'multi_login', '_MD_AM_MULTLOGINPREVENT', '0', '_MD_AM_MULTLOGINPREVENTDSC', 'yesno', 'int', 9 );

Reference to undeclared constant \ICMS_CONF_AUTH
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_AUTH, 'auth_openid', '_MD_AM_AUTHOPENID', '0', '_MD_AM_AUTHOPENIDDSC', 'yesno', 'int', 1 );

Call to method fieldExists from undeclared class \icms_db_legacy_updater_Table
Open

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

Call to method name from undeclared class \icms_db_legacy_updater_Table
Open

        $icmsDatabaseUpdater->runQuery ( 'INSERT INTO ' . $table->name () . ' VALUES(0,1,' . $categ_id . ',1,"imgcat_write")', '', '' );

Call to method __construct from undeclared class \icms_db_legacy_updater_Table
Open

        $table = new icms_db_legacy_updater_Table ( 'block_module_link' );

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'pre_chars_left', '_MD_AM_PRECHARS', '35', '_MD_AM_PRECHARS_DESC', 'textbox', 'int', 20 );

Call to method name from undeclared class \icms_db_legacy_updater_Table
Open

        $icmsDatabaseUpdater->runQuery ( 'INSERT INTO ' . $table->name () . ' VALUES(0,1,' . $categ_id . ',1,"imgcat_read")', '', '' );

Variable $icmsDatabaseUpdater is undeclared
Open

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

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'last_chars_left', '_MD_AM_LASTCHARS', '10', '_MD_AM_LASTCHARS_DESC', 'textbox', 'int', 21 );

Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
Open

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

Variable $icmsDatabaseUpdater is undeclared
Open

        if (! $icmsDatabaseUpdater->updateTable ( $table )) {

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'use_jsjalali', '_MD_AM_JALALICAL', '0', '_MD_AM_JALALICALDSC', 'yesno', 'int', 23 );

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'censor_words'" );

Call to method name from undeclared class \icms_db_legacy_updater_Table
Open

            $icmsDatabaseUpdater->runQuery ( "ALTER TABLE `" . $table->name () . "` MODIFY dbversion INT(11) unsigned NOT NULL DEFAULT 1", 'Successfully modified field dbversion in table modules', '' );

Variable $abortUpdate is undeclared
Open

    if (!$abortUpdate) $newDbVersion = 10;

Variable $icmsDatabaseUpdater is undeclared
Open

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

Reference to undeclared constant \ICMS_CONF_PERSONA
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'use_jsjalali', '_MD_AM_JALALICAL', '0', '_MD_AM_JALALICALDSC', 'yesno', 'int', 23 );

Reference to static property xoopsDB from undeclared class \icms
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );

Call to method add from undeclared class \icms_db_criteria_Compo
Open

        $criteria->add ( new icms_db_criteria_Item ( 'conf_catid', ICMS_CONF_METAFOOTER ) );

Variable $icmsDatabaseUpdater is undeclared
Open

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

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'multi_login_msg'" );

Call to method name from undeclared class \icms_db_legacy_updater_Table
Open

        $icmsDatabaseUpdater->runQuery ( "ALTER TABLE `" . $table->name () . "` DROP INDEX unamepass, ADD INDEX unamepass (uname (10), pass (10))", 'Successfully altered the index unamepass on table users', '' );

Reference to static property xoopsDB from undeclared class \icms
Open

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

Call to method fieldExists from undeclared class \icms_db_legacy_updater_Table
Open

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

Reference to static property xoopsDB from undeclared class \icms
Open

        icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 2, 1, 'group_manager');" );

Variable $icmsDatabaseUpdater is undeclared
Open

            $icmsDatabaseUpdater->runQuery ( "ALTER TABLE `" . $table->name () . "` MODIFY dbversion INT(11) unsigned NOT NULL DEFAULT 1", 'Successfully modified field dbversion in table modules', '' );

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'meta_keywords'" );

Reference to static property xoopsDB from undeclared class \icms
Open

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

Reference to static property xoopsDB from undeclared class \icms
Open

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

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'meta_description'" );

Reference to undeclared constant \ICMS_CONF_USER
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'welcome_msg_content', '_MD_AM_WELCOMEMSG_CONTENT', $default_msg_content, '_MD_AM_WELCOMEMSG_CONTENTDSC', 'textarea', 'text', 3 );

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'allow_htsig', '_MD_AM_ALLWHTSIG', 1, '_MD_AM_ALLWHTSIGDSC', 'yesno', 'int', 4 );

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_METAFOOTER, 'google_meta', '_MD_AM_METAGOOGLE', '', '_MD_AM_METAGOOGLE_DESC', 'textbox', 'text', 9 );

Reference to undeclared constant \ICMS_CONF_PERSONA
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_left_logo_url', '_MD_AM_LLOGOADM_URL', '' . XOOPS_URL . '/', '_MD_AM_LLOGOADM_URL_DESC', 'textbox', 'text', 2 );

Reference to undeclared constant \ICMS_CONF_PERSONA
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_right_logo', '_MD_AM_RLOGOADM', '', '_MD_AM_RLOGOADM_DESC', 'select_image', 'text', 4 );

Reference to undeclared constant \ICMS_CONF_PERSONA
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_right_logo_url', '_MD_AM_RLOGOADM_URL', '', '_MD_AM_RLOGOADM_URL_DESC', 'textbox', 'text', 5 );

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'email_protect', '_MD_AM_EMAILPROTECT', '0', '_MD_AM_EMAILPROTECTDSC', 'yesno', 'int', 11 );

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'email_font', '_MD_AM_EMAILTTF', 'arial.ttf', '_MD_AM_EMAILTTF_DESC', 'select_font', 'text', 12 );

Call to method name from undeclared class \icms_db_legacy_updater_Table
Open

        $icmsDatabaseUpdater->runQuery ( 'UPDATE ' . $table->name () . ' SET module_id=0, page_id=1 WHERE module_id=-1', 'Block Visibility Restructured Successfully', 'Failed in Restructure the Block Visibility' );

Call to method addNewField from undeclared class \icms_db_legacy_updater_Table
Open

            $table->addNewField ( 'pass_expired', "tinyint(1) UNSIGNED NOT NULL default 0" );

Reference to static property xoopsDB from undeclared class \icms
Open

            $sql = "SELECT bid FROM `" . icms::$xoopsDB->prefix ( 'newblocks' ) . "` WHERE show_func='b_content_menu_show'";

Call to method addUpdateAll from undeclared class \icms_db_legacy_updater_Table
Open

        $table->addUpdateAll ( 'conf_order', 'conf_order + 2', $criteria, true );

Reference to undeclared constant \ICMS_CONF_USER
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'allow_annon_view_prof', '_MD_AM_ALLOW_ANONYMOUS_VIEW_PROFILE', '1', '_MD_AM_ALLOW_ANONYMOUS_VIEW_PROFILE_DESC', 'yesno', 'int', 36 );

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_METAFOOTER, 'use_google_analytics', '_MD_AM_USE_GOOGLE_ANA', 0, '_MD_AM_USE_GOOGLE_ANA_DESC', 'yesno', 'int', 21 );

Reference to undeclared constant \IM_CONF_MULILANGUAGE
Open

        $icmsDatabaseUpdater->insertConfig ( IM_CONF_MULILANGUAGE, 'ml_autoselect_enabled', '_MD_AM_ML_AUTOSELECT_ENABLED', '0', '_MD_AM_ML_AUTOSELECT_ENABLED_DESC', 'yesno', 'int', 1 );

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->runQuery ( 'INSERT INTO ' . $table->name () . ' (image_id, image_name, image_nicename, image_mimetype, image_created, image_display, image_weight, imgcat_id) VALUES (NULL, "img482278e29e81c.png", "ImpressCMS", "image/png", ' . time () . ', 1, 0, ' . $categ_id . ')', 'Successfully added default ImpressCMS admin logo', 'Problems when try to add ImpressCMS admin logo' );

Variable $dbVersion is undeclared
Open

    if ($dbVersion < $newDbVersion) {

Variable $abortUpdate is undeclared
Open

    if (!$abortUpdate) $newDbVersion = 9;

Reference to static property xoopsDB from undeclared class \icms
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );

Reference to static property xoopsDB from undeclared class \icms
Open

        icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 16, 1, 'system_admin');" );

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'ldap_users_bypass'" );

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'ldap_field_mapping'" );

Call to method __construct from undeclared class \icms_db_legacy_updater_Table
Open

        $table = new icms_db_legacy_updater_Table ( 'config' );

Invalid offset "language" of array type array{template_set:mixed}
Open

        $default_msg_content_file = ICMS_ROOT_PATH . '/language/' . $icmsConfig ['language'] . '/mail_template/' . 'welcome.tpl';

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_SEARCH, 'search_no_res_mod', '_MD_AM_SEARCH_NO_RES_MOD', '1', '_MD_AM_SEARCH_NO_RES_MODDSC', 'yesno', 'int', 3 );

Reference to undeclared constant \IM_CONF_CONTENT
Open

        $icmsDatabaseUpdater->insertConfig ( IM_CONF_CONTENT, 'show_subs', '_MD_AM_CONT_SHOWSUBS', '1', '_MD_AM_CONT_SHOWSUBSDSC', 'yesno', 'int', 3 );

Reference to undeclared constant \IM_CONF_CONTENT
Open

        $icmsDatabaseUpdater->insertConfig ( IM_CONF_CONTENT, 'show_pinfo', '_MD_AM_CONT_SHOWPINFO', '1', '_MD_AM_CONT_SHOWPINFODSC', 'yesno', 'int', 4 );

Reference to undeclared constant \ICMS_CONF_PERSONA
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'rss_local', '_MD_AM_RSSLOCAL', 'http://www.impresscms.org/modules/smartsection/backend.php', '_MD_AM_RSSLOCAL_DESC', 'textbox', 'text', 7 );

Variable $abortUpdate is undeclared
Open

    if (!$abortUpdate) $newDbVersion = 2;

Call to method __construct from undeclared class \icms_db_legacy_updater_Table
Open

        $table = new icms_db_legacy_updater_Table ( 'users' );

Call to method __construct from undeclared class \icms_db_legacy_updater_Table
Open

        $table = new icms_db_legacy_updater_Table ( 'users' );

Variable $abortUpdate is undeclared
Open

    if (!$abortUpdate) $newDbVersion = 6;

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->runQuery ( "ALTER TABLE `" . $table->name () . "` MODIFY version smallint(5) unsigned NOT NULL default '102'", 'Successfully modified field version in table modules', '' );

Variable $dbVersion is undeclared
Open

    if ($dbVersion < $newDbVersion) {

Reference to undeclared constant \ICMS_CONF
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF, 'editor_enabled_list', '_MD_AM_EDITOR_ENABLED_LIST', ".serialize(array('default')).", '_MD_AM_EDITOR_ENABLED_LIST_DESC', 'editor_multi', 'array', 16 );

Reference to undeclared constant \ICMS_CONF_METAFOOTER
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_METAFOOTER, 'use_google_analytics', '_MD_AM_USE_GOOGLE_ANA', 0, '_MD_AM_USE_GOOGLE_ANA_DESC', 'yesno', 'int', 21 );

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_SEARCH, 'search_user_date', '_MD_AM_SEARCH_USERDATE', '1', '_MD_AM_SEARCH_USERDATE', 'yesno', 'int', 2 );

Reference to undeclared constant \ICMS_CONF_PERSONA
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_left_logo_alt', '_MD_AM_LLOGOADM_ALT', 'ImpressCMS', '_MD_AM_LLOGOADM_ALT_DESC', 'textbox', 'text', 3 );

Reference to undeclared constant \ICMS_CONF_PERSONA
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_right_logo_alt', '_MD_AM_RLOGOADM_ALT', '', '_MD_AM_RLOGOADM_ALT_DESC', 'textbox', 'text', 6 );

Variable $icmsDatabaseUpdater is undeclared
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'email_shadow', '_MD_AM_EMAILSHADOW', '#cccccc', '_MD_AM_EMAILSHADOW_DESC', 'color', 'text', 15 );

Variable $dbVersion is undeclared
Open

    if ($dbVersion < $newDbVersion) {

Call to method handler from undeclared class \icms
Open

        $configitem_handler = icms::handler('icms_config_item');

Call to method __construct from undeclared class \icms_db_criteria_Compo
Open

        $criteria = new icms_db_criteria_Compo ( );

Call to method __construct from undeclared class \icms_db_criteria_Item
Open

        $criteria->add ( new icms_db_criteria_Item ( 'conf_catid', ICMS_CONF_PERSONA ) );

Call to method fieldExists from undeclared class \icms_db_legacy_updater_Table
Open

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

Variable $dbVersion is undeclared
Open

    if ($dbVersion < $newDbVersion) {

Variable $abortUpdate is undeclared
Open

    if (!$abortUpdate) $newDbVersion = 5;

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

            $sql = "SELECT bid FROM `" . icms::$xoopsDB->prefix ( 'newblocks' ) . "` WHERE show_func='b_content_show'";

Similar blocks of code found in 2 locations. Consider refactoring.
Open

    if ($dbVersion < $newDbVersion) {
        $configitem_handler = icms::handler('icms_config_item');
        // fetch the rss_local configitem
        $criteria = new icms_db_criteria_Compo ( );
        $criteria->add ( new icms_db_criteria_Item ( 'conf_name', 'rss_local' ) );
Severity: Major
Found in htdocs/modules/system/include/update-to-112.php and 1 other location - About 5 hrs to fix
htdocs/modules/system/include/update-to-112.php on lines 243..257

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 191.

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

Similar blocks of code found in 2 locations. Consider refactoring.
Open

    if ($dbVersion < $newDbVersion) {
        $configitem_handler = icms::handler('icms_config_item');
        // fetch the rss_local configitem
        $criteria = new icms_db_criteria_Compo ( );
        $criteria->add ( new icms_db_criteria_Item ( 'conf_name', 'google_analytics' ) );
Severity: Major
Found in htdocs/modules/system/include/update-to-112.php and 1 other location - About 5 hrs to fix
htdocs/modules/system/include/update-to-112.php on lines 149..163

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 191.

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

Similar blocks of code found in 4 locations. Consider refactoring.
Open

        if (getDbValue ( icms::$xoopsDB, 'newblocks', 'show_func', 'show_func="b_content_show"' ) == FALSE) {
            $sql = "SELECT bid FROM `" . icms::$xoopsDB->prefix ( 'newblocks' ) . "` WHERE show_func='b_content_show'";
            $result = icms::$xoopsDB->query ( $sql );
            list ( $new_block_id ) = icms::$xoopsDB->FetchRow ( $result );
            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 0);" );
Severity: Major
Found in htdocs/modules/system/include/update-to-112.php and 3 other locations - About 4 hrs to fix
htdocs/modules/system/include/update-to-112.php on lines 287..293
htdocs/modules/system/include/update-to-112.php on lines 303..309
htdocs/modules/system/include/update-to-112.php on lines 311..317

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 165.

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

Similar blocks of code found in 4 locations. Consider refactoring.
Open

        if (getDbValue ( icms::$xoopsDB, 'newblocks', 'show_func', 'show_func="b_content_menu_show"' ) == FALSE) {
            $sql = "SELECT bid FROM `" . icms::$xoopsDB->prefix ( 'newblocks' ) . "` WHERE show_func='b_content_menu_show'";
            $result = icms::$xoopsDB->query ( $sql );
            list ( $new_block_id ) = icms::$xoopsDB->FetchRow ( $result );
            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 0);" );
Severity: Major
Found in htdocs/modules/system/include/update-to-112.php and 3 other locations - About 4 hrs to fix
htdocs/modules/system/include/update-to-112.php on lines 287..293
htdocs/modules/system/include/update-to-112.php on lines 295..301
htdocs/modules/system/include/update-to-112.php on lines 311..317

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 165.

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

Similar blocks of code found in 4 locations. Consider refactoring.
Open

        if (getDbValue ( icms::$xoopsDB, 'newblocks', 'show_func', 'show_func="b_content_relmenu_show"' ) == FALSE) {
            $sql = "SELECT bid FROM `" . icms::$xoopsDB->prefix ( 'newblocks' ) . "` WHERE show_func='b_content_relmenu_show'";
            $result = icms::$xoopsDB->query ( $sql );
            list ( $new_block_id ) = icms::$xoopsDB->FetchRow ( $result );
            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 0);" );
Severity: Major
Found in htdocs/modules/system/include/update-to-112.php and 3 other locations - About 4 hrs to fix
htdocs/modules/system/include/update-to-112.php on lines 287..293
htdocs/modules/system/include/update-to-112.php on lines 295..301
htdocs/modules/system/include/update-to-112.php on lines 303..309

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 165.

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

Similar blocks of code found in 4 locations. Consider refactoring.
Open

        if (getDbValue ( icms::$xoopsDB, 'newblocks', 'show_func', 'show_func="b_social_bookmarks"' ) == FALSE) {
            $sql = "SELECT bid FROM `" . icms::$xoopsDB->prefix ( 'newblocks' ) . "` WHERE show_func='b_social_bookmarks'";
            $result = icms::$xoopsDB->query ( $sql );
            list ( $new_block_id ) = icms::$xoopsDB->FetchRow ( $result );
            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 1);" );
Severity: Major
Found in htdocs/modules/system/include/update-to-112.php and 3 other locations - About 4 hrs to fix
htdocs/modules/system/include/update-to-112.php on lines 295..301
htdocs/modules/system/include/update-to-112.php on lines 303..309
htdocs/modules/system/include/update-to-112.php on lines 311..317

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 165.

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

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, 'newblocks', 'show_func', 'show_func="b_content_show"' ) == FALSE) {

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

        if (getDbValue ( icms::$xoopsDB, 'newblocks', 'show_func', 'show_func="b_content_menu_show"' ) == FALSE) {

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, 'newblocks', 'show_func', 'show_func="b_content_relmenu_show"' ) == FALSE) {

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, 'newblocks', 'show_func', 'show_func="b_social_bookmarks"' ) == FALSE) {

Inline control structures are not allowed
Open

    if (!$abortUpdate) $newDbVersion = 2;

Inline control structures are not allowed
Open

    if (!$abortUpdate) $newDbVersion = 3;

Inline control structures are not allowed
Open

    if (!$abortUpdate) $newDbVersion = 4;

Inline control structures are not allowed
Open

    if (!$abortUpdate) $newDbVersion = 7;

Inline control structures are not allowed
Open

    if (!$abortUpdate) $newDbVersion = 6;

Inline control structures are not allowed
Open

    if (!$abortUpdate) $newDbVersion = 5;

Inline control structures are not allowed
Open

    if (!$abortUpdate) $newDbVersion = 8;

Inline control structures are not allowed
Open

    if (!$abortUpdate) $newDbVersion = 9;

Inline control structures are not allowed
Open

    if (!$abortUpdate) $newDbVersion = 11;

Inline control structures are not allowed
Open

    if (!$abortUpdate) $newDbVersion = 10;

Space before opening parenthesis of function call prohibited
Open

        $criteria = new icms_db_criteria_Compo ( );

Line indented incorrectly; expected 0 tabs, found 1
Open

    if ($dbVersion <= $newDbVersion) {

Expected 0 spaces before closing bracket; 1 found
Open

        $criteria->add ( new icms_db_criteria_Item ( 'conf_order', 3, '>' ) );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF, 'use_ext_date', '_MD_AM_EXT_DATE', 0, '_MD_AM_EXT_DATEDSC', 'yesno', 'int', 12 );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF, 'editor_default', '_MD_AM_EDITOR_DEFAULT', 'default', '_MD_AM_EDITOR_DEFAULT_DESC', 'editor', 'text', 16 );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'welcome_msg', '_MD_AM_WELCOMEMSG', 0, '_MD_AM_WELCOMEMSGDSC', 'yesno', 'int', 3 );

Space after opening parenthesis of function call prohibited
Open

        $fp = fopen ( $default_msg_content_file, 'r' );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'welcome_msg_content', '_MD_AM_WELCOMEMSG_CONTENT', $default_msg_content, '_MD_AM_WELCOMEMSG_CONTENTDSC', 'textarea', 'text', 3 );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'allow_htsig', '_MD_AM_ALLWHTSIG', 1, '_MD_AM_ALLWHTSIGDSC', 'yesno', 'int', 4 );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'sig_max_length', '_MD_AM_SIGMAXLENGTH', '255', '_MD_AM_SIGMAXLENGTHDSC', 'textbox', 'int', 4 );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'avatar_allow_gravatar', '_MD_AM_GRAVATARALLOW', '1', '_MD_AM_GRAVATARALWDSC', 'yesno', 'int', 15 );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_METAFOOTER, 'google_meta', '_MD_AM_METAGOOGLE', '', '_MD_AM_METAGOOGLE_DESC', 'textbox', 'text', 9 );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_METAFOOTER, 'google_meta', '_MD_AM_METAGOOGLE', '', '_MD_AM_METAGOOGLE_DESC', 'textbox', 'text', 9 );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_METAFOOTER, 'use_google_analytics', '_MD_AM_USE_GOOGLE_ANA', 0, '_MD_AM_USE_GOOGLE_ANA_DESC', 'yesno', 'int', 21 );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_METAFOOTER, 'use_google_analytics', '_MD_AM_USE_GOOGLE_ANA', 0, '_MD_AM_USE_GOOGLE_ANA_DESC', 'yesno', 'int', 21 );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_SEARCH, 'search_user_date', '_MD_AM_SEARCH_USERDATE', '1', '_MD_AM_SEARCH_USERDATE', 'yesno', 'int', 2 );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'shadow_y', '_MD_AM_SHADOWY', '2', '_MD_AM_SHADOWY_DESC', 'textbox', 'int', 17 );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'last_chars_left', '_MD_AM_LASTCHARS', '10', '_MD_AM_LASTCHARS_DESC', 'textbox', 'int', 21 );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'last_chars_left', '_MD_AM_LASTCHARS', '10', '_MD_AM_LASTCHARS_DESC', 'textbox', 'int', 21 );

Space after opening parenthesis of function call prohibited
Open

        unset ( $table );

Space before opening parenthesis of function call prohibited
Open

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

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->runQuery ( 'UPDATE ' . $table->name () . ' SET module_id=0, page_id=1 WHERE module_id=-1', 'Block Visibility Restructured Successfully', 'Failed in Restructure the Block Visibility' );

Expected 0 spaces before closing bracket; 1 found
Open

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

Line indented incorrectly; expected 1 tabs, found 2
Open

        if (isset ( $configitemsObj [0] ) && $configitemsObj [0]->getVar ( 'conf_value', 'n' ) == 'http://www.impresscms.org/modules/smartsection/backend.php') {

Expected 0 spaces before closing bracket; 1 found
Open

        $table->addUpdateAll ( 'conf_order', 'conf_order + 2', $criteria, true );

Space before opening parenthesis of function call prohibited
Open

        unset ( $table );

Expected 0 spaces before closing bracket; 1 found
Open

        if (! file_exists ( $default_msg_content_file )) {

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'welcome_msg_content', '_MD_AM_WELCOMEMSG_CONTENT', $default_msg_content, '_MD_AM_WELCOMEMSG_CONTENTDSC', 'textarea', 'text', 3 );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->insertConfig ( IM_CONF_CONTENT, 'show_pinfo', '_MD_AM_CONT_SHOWPINFO', '1', '_MD_AM_CONT_SHOWPINFODSC', 'yesno', 'int', 4 );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_left_logo', '_MD_AM_LLOGOADM', '/uploads/img482278e29e81c.png', '_MD_AM_LLOGOADM_DESC', 'select_image', 'text', 1 );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_right_logo', '_MD_AM_RLOGOADM', '', '_MD_AM_RLOGOADM_DESC', 'select_image', 'text', 4 );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'email_protect', '_MD_AM_EMAILPROTECT', '0', '_MD_AM_EMAILPROTECTDSC', 'yesno', 'int', 11 );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'shorten_url', '_MD_AM_SHORTURL', '0', '_MD_AM_SHORTURLDSC', 'yesno', 'int', 18 );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'show_impresscms_menu', '_MD_AM_SHOW_ICMSMENU', '1', '_MD_AM_SHOW_ICMSMENU_DESC', 'yesno', 'int', 22 );

Expected 0 spaces before closing bracket; 1 found
Open

        $table = new icms_db_legacy_updater_Table ( 'group_permission' );

Line indented incorrectly; expected 1 tabs, found 2
Open

        if (! $icmsDatabaseUpdater->updateTable ( $table )) {

Space after opening parenthesis of function call prohibited
Open

        unset ( $table );

Space before opening parenthesis of function call prohibited
Open

        $criteria->add ( new icms_db_criteria_Item ( 'conf_order', 3, '>' ) );

Expected 0 spaces before closing bracket; 1 found
Open

        $criteria = new icms_db_criteria_Compo ( );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->updateTable ( $table );

Expected 0 spaces before closing bracket; 1 found
Open

        $criteria->add ( new icms_db_criteria_Item ( 'conf_name', 'rss_local' ) );

Space after opening parenthesis of function call prohibited
Open

        if (isset ( $configitemsObj [0] ) && $configitemsObj [0]->getVar ( 'conf_value', 'n' ) == 'http://www.impresscms.org/modules/smartsection/backend.php') {

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF, 'editor_enabled_list', '_MD_AM_EDITOR_ENABLED_LIST', ".serialize(array('default')).", '_MD_AM_EDITOR_ENABLED_LIST_DESC', 'editor_multi', 'array', 16 );

Space before opening parenthesis of function call prohibited
Open

        if (! file_exists ( $default_msg_content_file )) {

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->insertConfig ( IM_CONF_CONTENT, 'default_page', '_MD_AM_DEFAULT_CONTPAGE', '0', '_MD_AM_DEFAULT_CONTPAGEDSC', 'select_pages', 'int', 1 );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( IM_CONF_CONTENT, 'show_subs', '_MD_AM_CONT_SHOWSUBS', '1', '_MD_AM_CONT_SHOWSUBSDSC', 'yesno', 'int', 3 );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_left_logo', '_MD_AM_LLOGOADM', '/uploads/img482278e29e81c.png', '_MD_AM_LLOGOADM_DESC', 'select_image', 'text', 1 );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_left_logo_alt', '_MD_AM_LLOGOADM_ALT', 'ImpressCMS', '_MD_AM_LLOGOADM_ALT_DESC', 'textbox', 'text', 3 );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_right_logo_alt', '_MD_AM_RLOGOADM_ALT', '', '_MD_AM_RLOGOADM_ALT_DESC', 'textbox', 'text', 6 );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'editre_block', '_MD_AM_EDITREMOVEBLOCK', '1', '_MD_AM_EDITREMOVEBLOCKDSC', 'yesno', 'int', 8 );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'shorten_url', '_MD_AM_SHORTURL', '0', '_MD_AM_SHORTURLDSC', 'yesno', 'int', 18 );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'max_url_long', '_MD_AM_URLLEN', '50', '_MD_AM_URLLEN_DESC', 'textbox', 'int', 19 );

Space after opening parenthesis of function call prohibited
Open

        unset ( $table );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->runQuery ( 'INSERT INTO ' . $table->name () . ' VALUES(0,1,' . $categ_id . ',1,"imgcat_read")', '', '' );

Space after opening parenthesis of function call prohibited
Open

        $table = new icms_db_legacy_updater_Table ( 'config' );

Space after opening parenthesis of function call prohibited
Open

        $criteria->add ( new icms_db_criteria_Item ( 'conf_name', 'rss_local' ) );

Space after opening parenthesis of function call prohibited
Open

        $criteria->add ( new icms_db_criteria_Item ( 'conf_order', 3, '>' ) );

Space before opening parenthesis of function call prohibited
Open

        $configitemsObj = $configitem_handler->getObjects ( $criteria );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->updateTable ( $table );

Space before opening parenthesis of function call prohibited
Open

            $configitem_handler->insert ( $configitemsObj [0] );

Space before opening parenthesis of function call prohibited
Open

        $fp = fopen ( $default_msg_content_file, 'r' );

Space after opening parenthesis of function call prohibited
Open

            $default_msg_content = fread ( $fp, filesize ( $default_msg_content_file ) );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_SEARCH, 'search_no_res_mod', '_MD_AM_SEARCH_NO_RES_MOD', '1', '_MD_AM_SEARCH_NO_RES_MODDSC', 'yesno', 'int', 3 );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_left_logo_url', '_MD_AM_LLOGOADM_URL', '' . XOOPS_URL . '/', '_MD_AM_LLOGOADM_URL_DESC', 'textbox', 'text', 2 );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_left_logo_url', '_MD_AM_LLOGOADM_URL', '' . XOOPS_URL . '/', '_MD_AM_LLOGOADM_URL_DESC', 'textbox', 'text', 2 );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_left_logo_url', '_MD_AM_LLOGOADM_URL', '' . XOOPS_URL . '/', '_MD_AM_LLOGOADM_URL_DESC', 'textbox', 'text', 2 );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'email_font', '_MD_AM_EMAILTTF', 'arial.ttf', '_MD_AM_EMAILTTF_DESC', 'select_font', 'text', 12 );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'email_shadow', '_MD_AM_EMAILSHADOW', '#cccccc', '_MD_AM_EMAILSHADOW_DESC', 'color', 'text', 15 );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'max_url_long', '_MD_AM_URLLEN', '50', '_MD_AM_URLLEN_DESC', 'textbox', 'int', 19 );

Space after opening parenthesis of function call prohibited
Open

        $result = icms::$xoopsDB->query ( "SELECT imgcat_id FROM " . icms::$xoopsDB->prefix ( 'imagecategory' ) . " WHERE imgcat_name = 'Logos'" );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->runQuery ( 'INSERT INTO ' . $table->name () . ' (image_id, image_name, image_nicename, image_mimetype, image_created, image_display, image_weight, imgcat_id) VALUES (NULL, "img482278e29e81c.png", "ImpressCMS", "image/png", ' . time () . ', 1, 0, ' . $categ_id . ')', 'Successfully added default ImpressCMS admin logo', 'Problems when try to add ImpressCMS admin logo' );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->runQuery ( 'INSERT INTO ' . $table->name () . ' (image_id, image_name, image_nicename, image_mimetype, image_created, image_display, image_weight, imgcat_id) VALUES (NULL, "img482278e29e81c.png", "ImpressCMS", "image/png", ' . time () . ', 1, 0, ' . $categ_id . ')', 'Successfully added default ImpressCMS admin logo', 'Problems when try to add ImpressCMS admin logo' );

Space after opening parenthesis of function call prohibited
Open

        if (! $icmsDatabaseUpdater->updateTable ( $table )) {

Space before opening parenthesis of function call prohibited
Open

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

Space before opening parenthesis of function call prohibited
Open

        $criteria->add ( new icms_db_criteria_Item ( 'conf_catid', ICMS_CONF_PERSONA ) );

Space after opening parenthesis of function call prohibited
Open

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

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF, 'use_ext_date', '_MD_AM_EXT_DATE', 0, '_MD_AM_EXT_DATEDSC', 'yesno', 'int', 12 );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'allwshow_sig', '_MD_AM_ALLWSHOWSIG', 1, '_MD_AM_ALLWSHOWSIGDSC', 'yesno', 'int', 4 );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'avatar_allow_gravatar', '_MD_AM_GRAVATARALLOW', '1', '_MD_AM_GRAVATARALWDSC', 'yesno', 'int', 15 );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_SEARCH, 'search_user_date', '_MD_AM_SEARCH_USERDATE', '1', '_MD_AM_SEARCH_USERDATE', 'yesno', 'int', 2 );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( IM_CONF_CONTENT, 'show_nav', '_MD_AM_CONT_SHOWNAV', '1', '_MD_AM_CONT_SHOWNAVDSC', 'yesno', 'int', 2 );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'email_protect', '_MD_AM_EMAILPROTECT', '0', '_MD_AM_EMAILPROTECTDSC', 'yesno', 'int', 11 );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'email_font_len', '_MD_AM_EMAILLEN', '12', '_MD_AM_EMAILLEN_DESC', 'textbox', 'int', 13 );

Expected 0 spaces before closing bracket; 1 found
Open

        $table = new icms_db_legacy_updater_Table ( 'imagecategory' );

Expected 0 spaces before closing bracket; 1 found
Open

        $result = icms::$xoopsDB->query ( "SELECT imgcat_id FROM " . icms::$xoopsDB->prefix ( 'imagecategory' ) . " WHERE imgcat_name = 'Logos'" );

Space after opening parenthesis of function call prohibited
Open

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

Space after opening parenthesis of function call prohibited
Open

        $table = new icms_db_legacy_updater_Table ( 'image' );

Space after opening parenthesis of function call prohibited
Open

        $table = new icms_db_legacy_updater_Table ( 'group_permission' );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->runQuery ( 'INSERT INTO ' . $table->name () . ' VALUES(0,1,' . $categ_id . ',1,"imgcat_read")', '', '' );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->runQuery ( 'INSERT INTO ' . $table->name () . ' VALUES(0,1,' . $categ_id . ',1,"imgcat_read")', '', '' );

Expected 0 spaces before closing bracket; 1 found
Open

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

Line indented incorrectly; expected 1 tabs, found 2
Open

        }

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->runQuery ( 'UPDATE ' . $table->name () . ' SET module_id=0, page_id=1 WHERE module_id=-1', 'Block Visibility Restructured Successfully', 'Failed in Restructure the Block Visibility' );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->runQuery ( 'UPDATE ' . $table->name () . ' SET module_id=0, page_id=1 WHERE module_id=-1', 'Block Visibility Restructured Successfully', 'Failed in Restructure the Block Visibility' );

Expected 0 spaces before closing bracket; 1 found
Open

        if (isset ( $configitemsObj [0] ) && $configitemsObj [0]->getVar ( 'conf_value', 'n' ) == 'http://www.impresscms.org/modules/smartsection/backend.php') {

Line indented incorrectly; expected 1 tabs, found 2
Open

        }

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'allow_annon_view_prof', '_MD_AM_ALLOW_ANONYMOUS_VIEW_PROFILE', '1', '_MD_AM_ALLOW_ANONYMOUS_VIEW_PROFILE_DESC', 'yesno', 'int', 36 );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( IM_CONF_CONTENT, 'default_page', '_MD_AM_DEFAULT_CONTPAGE', '0', '_MD_AM_DEFAULT_CONTPAGEDSC', 'select_pages', 'int', 1 );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( IM_CONF_CONTENT, 'show_nav', '_MD_AM_CONT_SHOWNAV', '1', '_MD_AM_CONT_SHOWNAVDSC', 'yesno', 'int', 2 );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_right_logo_url', '_MD_AM_RLOGOADM_URL', '', '_MD_AM_RLOGOADM_URL_DESC', 'textbox', 'text', 5 );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'email_shadow', '_MD_AM_EMAILSHADOW', '#cccccc', '_MD_AM_EMAILSHADOW_DESC', 'color', 'text', 15 );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'shadow_y', '_MD_AM_SHADOWY', '2', '_MD_AM_SHADOWY_DESC', 'textbox', 'int', 17 );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_AUTH, 'auth_openid', '_MD_AM_AUTHOPENID', '0', '_MD_AM_AUTHOPENIDDSC', 'yesno', 'int', 1 );

Expected 0 spaces before closing bracket; 1 found
Open

        $result = icms::$xoopsDB->query ( "SELECT imgcat_id FROM " . icms::$xoopsDB->prefix ( 'imagecategory' ) . " WHERE imgcat_name = 'Logos'" );

Space before opening parenthesis of function call prohibited
Open

        $result = icms::$xoopsDB->query ( "SELECT imgcat_id FROM " . icms::$xoopsDB->prefix ( 'imagecategory' ) . " WHERE imgcat_name = 'Logos'" );

Expected 0 spaces before closing bracket; 1 found
Open

        $table = new icms_db_legacy_updater_Table ( 'block_module_link' );

Space before opening parenthesis of function call prohibited
Open

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

Expected 0 spaces before closing bracket; 1 found
Open

        unset ( $table );

Space before opening parenthesis of function call prohibited
Open

        $criteria->add ( new icms_db_criteria_Item ( 'conf_catid', ICMS_CONF_PERSONA ) );

Space before opening parenthesis of function call prohibited
Open

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

Expected 0 spaces before closing bracket; 1 found
Open

        $table = new icms_db_legacy_updater_Table ( 'config' );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF, 'editor_enabled_list', '_MD_AM_EDITOR_ENABLED_LIST', ".serialize(array('default')).", '_MD_AM_EDITOR_ENABLED_LIST_DESC', 'editor_multi', 'array', 16 );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'use_captcha', '_MD_AM_USECAPTCHA', 1, '_MD_AM_USECAPTCHADSC', 'yesno', 'int', 3 );

Space after opening parenthesis of function call prohibited
Open

        if (! file_exists ( $default_msg_content_file )) {

Space before opening parenthesis of function call prohibited
Open

            $default_msg_content = fread ( $fp, filesize ( $default_msg_content_file ) );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'allwshow_sig', '_MD_AM_ALLWSHOWSIG', 1, '_MD_AM_ALLWSHOWSIGDSC', 'yesno', 'int', 4 );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_METAFOOTER, 'google_meta', '_MD_AM_METAGOOGLE', '', '_MD_AM_METAGOOGLE_DESC', 'textbox', 'text', 9 );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( IM_CONF_MULILANGUAGE, 'ml_autoselect_enabled', '_MD_AM_ML_AUTOSELECT_ENABLED', '0', '_MD_AM_ML_AUTOSELECT_ENABLED_DESC', 'yesno', 'int', 1 );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( IM_CONF_MULILANGUAGE, 'ml_autoselect_enabled', '_MD_AM_ML_AUTOSELECT_ENABLED', '0', '_MD_AM_ML_AUTOSELECT_ENABLED_DESC', 'yesno', 'int', 1 );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( IM_CONF_CONTENT, 'default_page', '_MD_AM_DEFAULT_CONTPAGE', '0', '_MD_AM_DEFAULT_CONTPAGEDSC', 'select_pages', 'int', 1 );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'show_impresscms_menu', '_MD_AM_SHOW_ICMSMENU', '1', '_MD_AM_SHOW_ICMSMENU_DESC', 'yesno', 'int', 22 );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->runQuery ( 'INSERT INTO ' . $table->name () . ' (imgcat_id, imgcat_name, imgcat_maxsize, imgcat_maxwidth, imgcat_maxheight, imgcat_display, imgcat_weight, imgcat_type, imgcat_storetype) VALUES (NULL, "Logos", 350000, 350, 80, 1, 0, "C", "file")', 'Successfully created Logos imagecategory', 'Problems when try to create Logos imagecategory' );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->runQuery ( 'INSERT INTO ' . $table->name () . ' VALUES(0,1,' . $categ_id . ',1,"imgcat_write")', '', '' );

Space after opening parenthesis of function call prohibited
Open

        $criteria->add ( new icms_db_criteria_Item ( 'conf_catid', ICMS_CONF_PERSONA ) );

Expected 0 spaces before closing bracket; 1 found
Open

        if (isset ( $configitemsObj [0] ) && $configitemsObj [0]->getVar ( 'conf_value', 'n' ) == 'http://www.impresscms.org/modules/smartsection/backend.php') {

Line indented incorrectly; expected 1 tabs, found 2
Open

        }

Expected 0 spaces before closing bracket; 1 found
Open

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

Space after opening parenthesis of function call prohibited
Open

            $icmsDatabaseUpdater->updateTable ( $table );

Line indented incorrectly; expected 1 tabs, found 2
Open

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

Space before opening parenthesis of function call prohibited
Open

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

Expected 0 spaces before closing bracket; 1 found
Open

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

Space after opening parenthesis of function call prohibited
Open

        $criteria->add ( new icms_db_criteria_Item ( 'conf_catid', ICMS_CONF_METAFOOTER ) );

Expected 0 spaces before closing bracket; 1 found
Open

        $criteria = new icms_db_criteria_Compo ( );

Space after opening parenthesis of function call prohibited
Open

        $criteria->add ( new icms_db_criteria_Item ( 'conf_order', 3, '>' ) );

Space before opening parenthesis of function call prohibited
Open

        $table->addUpdateAll ( 'conf_order', 'conf_order + 2', $criteria, true );

Line indented incorrectly; expected 1 tabs, found 2
Open

        if (! file_exists ( $default_msg_content_file )) {

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'avatar_allow_gravatar', '_MD_AM_GRAVATARALLOW', '1', '_MD_AM_GRAVATARALWDSC', 'yesno', 'int', 15 );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_SEARCH, 'search_user_date', '_MD_AM_SEARCH_USERDATE', '1', '_MD_AM_SEARCH_USERDATE', 'yesno', 'int', 2 );

Space after opening parenthesis of function call prohibited
Open

        $criteria = new icms_db_criteria_Compo ( );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_left_logo', '_MD_AM_LLOGOADM', '/uploads/img482278e29e81c.png', '_MD_AM_LLOGOADM_DESC', 'select_image', 'text', 1 );

Expected 0 spaces before closing bracket; 1 found
Open

        unset ( $table );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'editre_block', '_MD_AM_EDITREMOVEBLOCK', '1', '_MD_AM_EDITREMOVEBLOCKDSC', 'yesno', 'int', 8 );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_METAFOOTER, 'use_google_analytics', '_MD_AM_USE_GOOGLE_ANA', 0, '_MD_AM_USE_GOOGLE_ANA_DESC', 'yesno', 'int', 21 );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_METAFOOTER, 'footadm', '_MD_AM_FOOTADM', 'Powered by ImpressCMS &copy; 2007-' . date ( "Y", time () ) . ' <a href=\"http://www.impresscms.org/\" rel=\"external\">The ImpressCMS Project</a>', '_MD_AM_FOOTADM_DESC', 'textarea', 'text', 22 );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'multi_login', '_MD_AM_MULTLOGINPREVENT', '0', '_MD_AM_MULTLOGINPREVENTDSC', 'yesno', 'int', 9 );

Space before opening parenthesis of function call prohibited
Open

        $criteria->add ( new icms_db_criteria_Item ( 'conf_order', 3, '>' ) );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_METAFOOTER, 'footadm', '_MD_AM_FOOTADM', 'Powered by ImpressCMS &copy; 2007-' . date ( "Y", time () ) . ' <a href=\"http://www.impresscms.org/\" rel=\"external\">The ImpressCMS Project</a>', '_MD_AM_FOOTADM_DESC', 'textarea', 'text', 22 );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'email_font_len', '_MD_AM_EMAILLEN', '12', '_MD_AM_EMAILLEN_DESC', 'textbox', 'int', 13 );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'use_captcha', '_MD_AM_USECAPTCHA', 1, '_MD_AM_USECAPTCHADSC', 'yesno', 'int', 3 );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( IM_CONF_CONTENT, 'show_subs', '_MD_AM_CONT_SHOWSUBS', '1', '_MD_AM_CONT_SHOWSUBSDSC', 'yesno', 'int', 3 );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'allow_annon_view_prof', '_MD_AM_ALLOW_ANONYMOUS_VIEW_PROFILE', '1', '_MD_AM_ALLOW_ANONYMOUS_VIEW_PROFILE_DESC', 'yesno', 'int', 36 );

Space after opening parenthesis of function call prohibited
Open

        $result = icms::$xoopsDB->query ( "SELECT imgcat_id FROM " . icms::$xoopsDB->prefix ( 'imagecategory' ) . " WHERE imgcat_name = 'Logos'" );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_METAFOOTER, 'google_analytics', '_MD_AM_GOOGLE_ANA', '', '_MD_AM_GOOGLE_ANA_DESC', 'textbox', 'text', 21 );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'shadow_x', '_MD_AM_SHADOWX', '2', '_MD_AM_SHADOWX_DESC', 'textbox', 'int', 16 );

Expected 0 spaces before closing bracket; 1 found
Open

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

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_SEARCH, 'search_per_page', '_MD_AM_SEARCH_PER_PAGE', '20', '_MD_AM_SEARCH_PER_PAGEDSC', 'textbox', 'int', 4 );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'max_url_long', '_MD_AM_URLLEN', '50', '_MD_AM_URLLEN_DESC', 'textbox', 'int', 19 );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->runQuery ( 'INSERT INTO ' . $table->name () . ' (image_id, image_name, image_nicename, image_mimetype, image_created, image_display, image_weight, imgcat_id) VALUES (NULL, "img482278e29e81c.png", "ImpressCMS", "image/png", ' . time () . ', 1, 0, ' . $categ_id . ')', 'Successfully added default ImpressCMS admin logo', 'Problems when try to add ImpressCMS admin logo' );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_AUTH, 'auth_openid', '_MD_AM_AUTHOPENID', '0', '_MD_AM_AUTHOPENIDDSC', 'yesno', 'int', 1 );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->insertConfig ( IM_CONF_CONTENT, 'show_subs', '_MD_AM_CONT_SHOWSUBS', '1', '_MD_AM_CONT_SHOWSUBSDSC', 'yesno', 'int', 3 );

Space before opening parenthesis of function call prohibited
Open

        if (! $icmsDatabaseUpdater->updateTable ( $table )) {

Expected 0 spaces before closing bracket; 1 found
Open

        if (! $icmsDatabaseUpdater->updateTable ( $table )) {

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_right_logo_alt', '_MD_AM_RLOGOADM_ALT', '', '_MD_AM_RLOGOADM_ALT_DESC', 'textbox', 'text', 6 );

Space before opening parenthesis of function call prohibited
Open

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

Space before opening parenthesis of function call prohibited
Open

        unset ( $table );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'rss_local', '_MD_AM_RSSLOCAL', 'http://www.impresscms.org/modules/smartsection/backend.php', '_MD_AM_RSSLOCAL_DESC', 'textbox', 'text', 7 );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'multi_login', '_MD_AM_MULTLOGINPREVENT', '0', '_MD_AM_MULTLOGINPREVENTDSC', 'yesno', 'int', 9 );

Space before opening parenthesis of function call prohibited
Open

        unset ( $table );

Space before opening parenthesis of function call prohibited
Open

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

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_AUTH, 'auth_openid', '_MD_AM_AUTHOPENID', '0', '_MD_AM_AUTHOPENIDDSC', 'yesno', 'int', 1 );

Expected 0 spaces before closing bracket; 1 found
Open

        unset ( $table );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->runQuery ( 'INSERT INTO ' . $table->name () . ' VALUES(0,1,' . $categ_id . ',1,"imgcat_write")', '', '' );

Space before opening parenthesis of function call prohibited
Open

        $criteria->add ( new icms_db_criteria_Item ( 'conf_name', 'rss_local' ) );

Space before opening parenthesis of function call prohibited
Open

        if (isset ( $configitemsObj [0] ) && $configitemsObj [0]->getVar ( 'conf_value', 'n' ) == 'http://www.impresscms.org/modules/smartsection/backend.php') {

Space before opening parenthesis of function call prohibited
Open

        $table = new icms_db_legacy_updater_Table ( 'block_module_link' );

Space before opening parenthesis of function call prohibited
Open

        $criteria->add ( new icms_db_criteria_Item ( 'conf_name', 'rss_local' ) );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->updateTable ( $table );

Space before opening parenthesis of function call prohibited
Open

        unset ( $table );

Expected 0 spaces before closing bracket; 1 found
Open

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

Space before opening parenthesis of function call prohibited
Open

        if (isset ( $configitemsObj [0] ) && $configitemsObj [0]->getVar ( 'conf_value', 'n' ) == 'http://www.impresscms.org/modules/smartsection/backend.php') {

Space before opening parenthesis of function call prohibited
Open

            $icmsDatabaseUpdater->updateTable ( $table );

Expected 0 spaces before closing bracket; 1 found
Open

        $criteria->add ( new icms_db_criteria_Item ( 'conf_name', 'rss_local' ) );

Space after opening parenthesis of function call prohibited
Open

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

Space before opening parenthesis of function call prohibited
Open

            $configitemsObj [0]->setVar ( 'conf_value', 'https://www.impresscms.org/modules/new/rss.php' );

Space after opening parenthesis of function call prohibited
Open

        $table = new icms_db_legacy_updater_Table ( 'users' );

Expected 0 spaces before closing bracket; 1 found
Open

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

Space before opening parenthesis of function call prohibited
Open

        $table = new icms_db_legacy_updater_Table ( 'users' );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF, 'use_ext_date', '_MD_AM_EXT_DATE', 0, '_MD_AM_EXT_DATEDSC', 'yesno', 'int', 12 );

Space before opening parenthesis of function call prohibited
Open

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

Space after opening parenthesis of function call prohibited
Open

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

Line indented incorrectly; expected 1 tabs, found 2
Open

        }

Space before opening parenthesis of function call prohibited
Open

            $default_msg_content = fread ( $fp, filesize ( $default_msg_content_file ) );

Expected 0 spaces before closing bracket; 1 found
Open

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

Space after opening parenthesis of function call prohibited
Open

        unset ( $table );

Expected 0 spaces before closing bracket; 1 found
Open

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

Space after opening parenthesis of function call prohibited
Open

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

Space before opening parenthesis of function call prohibited
Open

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

Space after opening parenthesis of function call prohibited
Open

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

Expected 0 spaces before closing bracket; 1 found
Open

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

Space after opening parenthesis of function call prohibited
Open

            $default_msg_content = fread ( $fp, filesize ( $default_msg_content_file ) );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'use_jsjalali', '_MD_AM_JALALICAL', '0', '_MD_AM_JALALICALDSC', 'yesno', 'int', 23 );

Space after opening parenthesis of function call prohibited
Open

            $table->addNewField ( 'user_viewoid', "tinyint(1) UNSIGNED NOT NULL default 0" );

Space before opening parenthesis of function call prohibited
Open

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

Line indented incorrectly; expected 1 tabs, found 2
Open

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

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'allwshow_sig', '_MD_AM_ALLWSHOWSIG', 1, '_MD_AM_ALLWSHOWSIGDSC', 'yesno', 'int', 4 );

Expected 0 spaces before closing bracket; 1 found
Open

        $criteria = new icms_db_criteria_Compo ( );

Space before opening parenthesis of function call prohibited
Open

            $icmsDatabaseUpdater->updateTable ( $table );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_METAFOOTER, 'footadm', '_MD_AM_FOOTADM', 'Powered by ImpressCMS &copy; 2007-' . date ( "Y", time () ) . ' <a href=\"http://www.impresscms.org/\" rel=\"external\">The ImpressCMS Project</a>', '_MD_AM_FOOTADM_DESC', 'textarea', 'text', 22 );

Space before opening parenthesis of function call prohibited
Open

        unset ( $table );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_SEARCH, 'search_no_res_mod', '_MD_AM_SEARCH_NO_RES_MOD', '1', '_MD_AM_SEARCH_NO_RES_MODDSC', 'yesno', 'int', 3 );

Space before opening parenthesis of function call prohibited
Open

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

Line indented incorrectly; expected 0 tabs, found 1
Open

    }

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->insertConfig ( IM_CONF_MULILANGUAGE, 'ml_autoselect_enabled', '_MD_AM_ML_AUTOSELECT_ENABLED', '0', '_MD_AM_ML_AUTOSELECT_ENABLED_DESC', 'yesno', 'int', 1 );

Space after opening parenthesis of function call prohibited
Open

        unset ( $table );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'rss_local', '_MD_AM_RSSLOCAL', 'http://www.impresscms.org/modules/smartsection/backend.php', '_MD_AM_RSSLOCAL_DESC', 'textbox', 'text', 7 );

Space after opening parenthesis of function call prohibited
Open

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

Space after opening parenthesis of function call prohibited
Open

        $criteria = new icms_db_criteria_Compo ( );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'rss_local', '_MD_AM_RSSLOCAL', 'http://www.impresscms.org/modules/smartsection/backend.php', '_MD_AM_RSSLOCAL_DESC', 'textbox', 'text', 7 );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'email_shadow', '_MD_AM_EMAILSHADOW', '#cccccc', '_MD_AM_EMAILSHADOW_DESC', 'color', 'text', 15 );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'shadow_x', '_MD_AM_SHADOWX', '2', '_MD_AM_SHADOWX_DESC', 'textbox', 'int', 16 );

Expected 0 spaces before closing bracket; 1 found
Open

        unset ( $table );

Space before opening parenthesis of function call prohibited
Open

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

Expected 0 spaces before closing bracket; 1 found
Open

        $table = new icms_db_legacy_updater_Table ( 'image' );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->runQuery ( 'INSERT INTO ' . $table->name () . ' VALUES(0,1,' . $categ_id . ',1,"imgcat_write")', '', '' );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->runQuery ( 'INSERT INTO ' . $table->name () . ' VALUES(0,1,' . $categ_id . ',1,"imgcat_read")', '', '' );

Space after opening parenthesis of function call prohibited
Open

        unset ( $table );

Space after opening parenthesis of function call prohibited
Open

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

Expected 0 spaces before closing bracket; 1 found
Open

        $configitemsObj = $configitem_handler->getObjects ( $criteria );

Line indented incorrectly; expected 1 tabs, found 2
Open

        }

Expected 0 spaces before closing bracket; 1 found
Open

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

Space after opening parenthesis of function call prohibited
Open

            $table->addNewField ( 'pass_expired', "tinyint(1) UNSIGNED NOT NULL default 0" );

Space after opening parenthesis of function call prohibited
Open

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

Space after opening parenthesis of function call prohibited
Open

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

Space before opening parenthesis of function call prohibited
Open

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

Space after opening parenthesis of function call prohibited
Open

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

Space before opening parenthesis of function call prohibited
Open

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

Line indented incorrectly; expected 0 tabs, found 1
Open

    if ($dbVersion < $newDbVersion) {

Space after opening parenthesis of function call prohibited
Open

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

Expected 0 spaces before closing bracket; 1 found
Open

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

Line indented incorrectly; expected 1 tabs, found 2
Open

        if ($fp) {

Expected 0 spaces before closing bracket; 1 found
Open

            $default_msg_content = fread ( $fp, filesize ( $default_msg_content_file ) );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'allow_htsig', '_MD_AM_ALLWHTSIG', 1, '_MD_AM_ALLWHTSIGDSC', 'yesno', 'int', 4 );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_METAFOOTER, 'footadm', '_MD_AM_FOOTADM', 'Powered by ImpressCMS &copy; 2007-' . date ( "Y", time () ) . ' <a href=\"http://www.impresscms.org/\" rel=\"external\">The ImpressCMS Project</a>', '_MD_AM_FOOTADM_DESC', 'textarea', 'text', 22 );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_METAFOOTER, 'footadm', '_MD_AM_FOOTADM', 'Powered by ImpressCMS &copy; 2007-' . date ( "Y", time () ) . ' <a href=\"http://www.impresscms.org/\" rel=\"external\">The ImpressCMS Project</a>', '_MD_AM_FOOTADM_DESC', 'textarea', 'text', 22 );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_right_logo_url', '_MD_AM_RLOGOADM_URL', '', '_MD_AM_RLOGOADM_URL_DESC', 'textbox', 'text', 5 );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_right_logo_alt', '_MD_AM_RLOGOADM_ALT', '', '_MD_AM_RLOGOADM_ALT_DESC', 'textbox', 'text', 6 );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'editre_block', '_MD_AM_EDITREMOVEBLOCK', '1', '_MD_AM_EDITREMOVEBLOCKDSC', 'yesno', 'int', 8 );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'multi_login', '_MD_AM_MULTLOGINPREVENT', '0', '_MD_AM_MULTLOGINPREVENTDSC', 'yesno', 'int', 9 );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'email_font', '_MD_AM_EMAILTTF', 'arial.ttf', '_MD_AM_EMAILTTF_DESC', 'select_font', 'text', 12 );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'email_cor', '_MD_AM_EMAILCOLOR', '#000000', '_MD_AM_EMAILCOLOR_DESC', 'color', 'text', 14 );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'shadow_x', '_MD_AM_SHADOWX', '2', '_MD_AM_SHADOWX_DESC', 'textbox', 'int', 16 );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'last_chars_left', '_MD_AM_LASTCHARS', '10', '_MD_AM_LASTCHARS_DESC', 'textbox', 'int', 21 );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->runQuery ( 'INSERT INTO ' . $table->name () . ' (imgcat_id, imgcat_name, imgcat_maxsize, imgcat_maxwidth, imgcat_maxheight, imgcat_display, imgcat_weight, imgcat_type, imgcat_storetype) VALUES (NULL, "Logos", 350000, 350, 80, 1, 0, "C", "file")', 'Successfully created Logos imagecategory', 'Problems when try to create Logos imagecategory' );

Line indented incorrectly; expected 1 tabs, found 2
Open

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

Space after opening parenthesis of function call prohibited
Open

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

Space after opening parenthesis of function call prohibited
Open

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

Space before opening parenthesis of function call prohibited
Open

        $criteria = new icms_db_criteria_Compo ( );

Space after opening parenthesis of function call prohibited
Open

        $criteria->add ( new icms_db_criteria_Item ( 'conf_name', 'rss_local' ) );

Expected 0 spaces before closing bracket; 1 found
Open

        $criteria->add ( new icms_db_criteria_Item ( 'conf_catid', ICMS_CONF_PERSONA ) );

Expected 0 spaces before closing bracket; 1 found
Open

        $criteria->add ( new icms_db_criteria_Item ( 'conf_catid', ICMS_CONF_PERSONA ) );

Space after opening parenthesis of function call prohibited
Open

        $configitemsObj = $configitem_handler->getObjects ( $criteria );

Space after opening parenthesis of function call prohibited
Open

            $configitem_handler->insert ( $configitemsObj [0] );

Line indented incorrectly; expected 0 tabs, found 1
Open

    if ($dbVersion < $newDbVersion) {

Space before opening parenthesis of function call prohibited
Open

        $table = new icms_db_legacy_updater_Table ( 'users' );

Space after opening parenthesis of function call prohibited
Open

        $table = new icms_db_legacy_updater_Table ( 'users' );

Space after opening parenthesis of function call prohibited
Open

            $icmsDatabaseUpdater->updateTable ( $table );

Space before opening parenthesis of function call prohibited
Open

        unset ( $table );

Space after opening parenthesis of function call prohibited
Open

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

Expected 0 spaces before closing bracket; 1 found
Open

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

Space before opening parenthesis of function call prohibited
Open

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

Expected 0 spaces before closing bracket; 1 found
Open

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

Space before opening parenthesis of function call prohibited
Open

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

Line indented incorrectly; expected 0 tabs, found 1
Open

    }

Expected 0 spaces before closing bracket; 1 found
Open

        $criteria->add ( new icms_db_criteria_Item ( 'conf_order', 3, '>' ) );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF, 'editor_enabled_list', '_MD_AM_EDITOR_ENABLED_LIST', ".serialize(array('default')).", '_MD_AM_EDITOR_ENABLED_LIST_DESC', 'editor_multi', 'array', 16 );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'use_captcha', '_MD_AM_USECAPTCHA', 1, '_MD_AM_USECAPTCHADSC', 'yesno', 'int', 3 );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_METAFOOTER, 'footadm', '_MD_AM_FOOTADM', 'Powered by ImpressCMS &copy; 2007-' . date ( "Y", time () ) . ' <a href=\"http://www.impresscms.org/\" rel=\"external\">The ImpressCMS Project</a>', '_MD_AM_FOOTADM_DESC', 'textarea', 'text', 22 );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_SEARCH, 'search_per_page', '_MD_AM_SEARCH_PER_PAGE', '20', '_MD_AM_SEARCH_PER_PAGEDSC', 'textbox', 'int', 4 );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_right_logo', '_MD_AM_RLOGOADM', '', '_MD_AM_RLOGOADM_DESC', 'select_image', 'text', 4 );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'email_font_len', '_MD_AM_EMAILLEN', '12', '_MD_AM_EMAILLEN_DESC', 'textbox', 'int', 13 );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'shadow_y', '_MD_AM_SHADOWY', '2', '_MD_AM_SHADOWY_DESC', 'textbox', 'int', 17 );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'pre_chars_left', '_MD_AM_PRECHARS', '35', '_MD_AM_PRECHARS_DESC', 'textbox', 'int', 20 );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->runQuery ( 'INSERT INTO ' . $table->name () . ' (image_id, image_name, image_nicename, image_mimetype, image_created, image_display, image_weight, imgcat_id) VALUES (NULL, "img482278e29e81c.png", "ImpressCMS", "image/png", ' . time () . ', 1, 0, ' . $categ_id . ')', 'Successfully added default ImpressCMS admin logo', 'Problems when try to add ImpressCMS admin logo' );

Expected 0 spaces before closing bracket; 1 found
Open

        unset ( $table );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->runQuery ( 'INSERT INTO ' . $table->name () . ' VALUES(0,1,' . $categ_id . ',1,"imgcat_write")', '', '' );

Line indented incorrectly; expected 1 tabs, found 2
Open

        }

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->runQuery ( 'UPDATE ' . $table->name () . ' SET module_id=0, page_id=1 WHERE module_id=-1', 'Block Visibility Restructured Successfully', 'Failed in Restructure the Block Visibility' );

Expected 0 spaces before closing bracket; 1 found
Open

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

Space after opening parenthesis of function call prohibited
Open

        unset ( $table );

Expected 0 spaces before closing bracket; 1 found
Open

            $table->addNewField ( 'user_viewoid', "tinyint(1) UNSIGNED NOT NULL default 0" );

Space before opening parenthesis of function call prohibited
Open

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

Space after opening parenthesis of function call prohibited
Open

        $table->addUpdateAll ( 'conf_order', 'conf_order + 2', $criteria, true );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF, 'use_captchaf', '_MD_AM_USECAPTCHAFORM', 1, '_MD_AM_USECAPTCHAFORMDSC', 'yesno', 'int', 37 );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'welcome_msg', '_MD_AM_WELCOMEMSG', 0, '_MD_AM_WELCOMEMSGDSC', 'yesno', 'int', 3 );

Line indented incorrectly; expected 1 tabs, found 2
Open

        }

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'welcome_msg_content', '_MD_AM_WELCOMEMSG_CONTENT', $default_msg_content, '_MD_AM_WELCOMEMSG_CONTENTDSC', 'textarea', 'text', 3 );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_METAFOOTER, 'google_analytics', '_MD_AM_GOOGLE_ANA', '', '_MD_AM_GOOGLE_ANA_DESC', 'textbox', 'text', 21 );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_SEARCH, 'search_per_page', '_MD_AM_SEARCH_PER_PAGE', '20', '_MD_AM_SEARCH_PER_PAGEDSC', 'textbox', 'int', 4 );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( IM_CONF_CONTENT, 'show_pinfo', '_MD_AM_CONT_SHOWPINFO', '1', '_MD_AM_CONT_SHOWPINFODSC', 'yesno', 'int', 4 );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_left_logo_alt', '_MD_AM_LLOGOADM_ALT', 'ImpressCMS', '_MD_AM_LLOGOADM_ALT_DESC', 'textbox', 'text', 3 );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'pre_chars_left', '_MD_AM_PRECHARS', '35', '_MD_AM_PRECHARS_DESC', 'textbox', 'int', 20 );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'show_impresscms_menu', '_MD_AM_SHOW_ICMSMENU', '1', '_MD_AM_SHOW_ICMSMENU_DESC', 'yesno', 'int', 22 );

Space after opening parenthesis of function call prohibited
Open

        unset ( $table );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->runQuery ( 'INSERT INTO ' . $table->name () . ' (imgcat_id, imgcat_name, imgcat_maxsize, imgcat_maxwidth, imgcat_maxheight, imgcat_display, imgcat_weight, imgcat_type, imgcat_storetype) VALUES (NULL, "Logos", 350000, 350, 80, 1, 0, "C", "file")', 'Successfully created Logos imagecategory', 'Problems when try to create Logos imagecategory' );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->runQuery ( 'INSERT INTO ' . $table->name () . ' (imgcat_id, imgcat_name, imgcat_maxsize, imgcat_maxwidth, imgcat_maxheight, imgcat_display, imgcat_weight, imgcat_type, imgcat_storetype) VALUES (NULL, "Logos", 350000, 350, 80, 1, 0, "C", "file")', 'Successfully created Logos imagecategory', 'Problems when try to create Logos imagecategory' );

Space before opening parenthesis of function call prohibited
Open

        $result = icms::$xoopsDB->query ( "SELECT imgcat_id FROM " . icms::$xoopsDB->prefix ( 'imagecategory' ) . " WHERE imgcat_name = 'Logos'" );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF, 'editor_default', '_MD_AM_EDITOR_DEFAULT', 'default', '_MD_AM_EDITOR_DEFAULT_DESC', 'editor', 'text', 16 );

Space after opening parenthesis of function call prohibited
Open

        $table = new icms_db_legacy_updater_Table ( 'block_module_link' );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF, 'use_captchaf', '_MD_AM_USECAPTCHAFORM', 1, '_MD_AM_USECAPTCHAFORMDSC', 'yesno', 'int', 37 );

Space after opening parenthesis of function call prohibited
Open

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

Space before opening parenthesis of function call prohibited
Open

        $table = new icms_db_legacy_updater_Table ( 'config' );

Space before opening parenthesis of function call prohibited
Open

        unset ( $table );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF, 'editor_default', '_MD_AM_EDITOR_DEFAULT', 'default', '_MD_AM_EDITOR_DEFAULT_DESC', 'editor', 'text', 16 );

Expected 0 spaces before closing bracket; 1 found
Open

            $default_msg_content = fread ( $fp, filesize ( $default_msg_content_file ) );

Space after opening parenthesis of function call prohibited
Open

        $criteria = new icms_db_criteria_Compo ( );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF, 'use_captchaf', '_MD_AM_USECAPTCHAFORM', 1, '_MD_AM_USECAPTCHAFORMDSC', 'yesno', 'int', 37 );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'welcome_msg', '_MD_AM_WELCOMEMSG', 0, '_MD_AM_WELCOMEMSGDSC', 'yesno', 'int', 3 );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'allow_htsig', '_MD_AM_ALLWHTSIG', 1, '_MD_AM_ALLWHTSIGDSC', 'yesno', 'int', 4 );

Space after opening parenthesis of function call prohibited
Open

            $configitemsObj [0]->setVar ( 'conf_value', 'https://www.impresscms.org/modules/new/rss.php' );

Expected 0 spaces before closing bracket; 1 found
Open

        $fp = fopen ( $default_msg_content_file, 'r' );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'sig_max_length', '_MD_AM_SIGMAXLENGTH', '255', '_MD_AM_SIGMAXLENGTHDSC', 'textbox', 'int', 4 );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'sig_max_length', '_MD_AM_SIGMAXLENGTH', '255', '_MD_AM_SIGMAXLENGTHDSC', 'textbox', 'int', 4 );

Expected 0 spaces before closing bracket; 1 found
Open

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

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'allow_annon_view_prof', '_MD_AM_ALLOW_ANONYMOUS_VIEW_PROFILE', '1', '_MD_AM_ALLOW_ANONYMOUS_VIEW_PROFILE_DESC', 'yesno', 'int', 36 );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_METAFOOTER, 'google_analytics', '_MD_AM_GOOGLE_ANA', '', '_MD_AM_GOOGLE_ANA_DESC', 'textbox', 'text', 21 );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_METAFOOTER, 'footadm', '_MD_AM_FOOTADM', 'Powered by ImpressCMS &copy; 2007-' . date ( "Y", time () ) . ' <a href=\"http://www.impresscms.org/\" rel=\"external\">The ImpressCMS Project</a>', '_MD_AM_FOOTADM_DESC', 'textarea', 'text', 22 );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( IM_CONF_CONTENT, 'show_pinfo', '_MD_AM_CONT_SHOWPINFO', '1', '_MD_AM_CONT_SHOWPINFODSC', 'yesno', 'int', 4 );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_SEARCH, 'search_no_res_mod', '_MD_AM_SEARCH_NO_RES_MOD', '1', '_MD_AM_SEARCH_NO_RES_MODDSC', 'yesno', 'int', 3 );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_left_logo_alt', '_MD_AM_LLOGOADM_ALT', 'ImpressCMS', '_MD_AM_LLOGOADM_ALT_DESC', 'textbox', 'text', 3 );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->insertConfig ( IM_CONF_CONTENT, 'show_nav', '_MD_AM_CONT_SHOWNAV', '1', '_MD_AM_CONT_SHOWNAVDSC', 'yesno', 'int', 2 );

Expected 0 spaces before closing bracket; 1 found
Open

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

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_right_logo', '_MD_AM_RLOGOADM', '', '_MD_AM_RLOGOADM_DESC', 'select_image', 'text', 4 );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_right_logo_url', '_MD_AM_RLOGOADM_URL', '', '_MD_AM_RLOGOADM_URL_DESC', 'textbox', 'text', 5 );

Space after opening parenthesis of function call prohibited
Open

        unset ( $table );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'email_cor', '_MD_AM_EMAILCOLOR', '#000000', '_MD_AM_EMAILCOLOR_DESC', 'color', 'text', 14 );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'email_protect', '_MD_AM_EMAILPROTECT', '0', '_MD_AM_EMAILPROTECTDSC', 'yesno', 'int', 11 );

Expected 0 spaces before closing bracket; 1 found
Open

        unset ( $table );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'email_cor', '_MD_AM_EMAILCOLOR', '#000000', '_MD_AM_EMAILCOLOR_DESC', 'color', 'text', 14 );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'email_font', '_MD_AM_EMAILTTF', 'arial.ttf', '_MD_AM_EMAILTTF_DESC', 'select_font', 'text', 12 );

Space before opening parenthesis of function call prohibited
Open

        $table = new icms_db_legacy_updater_Table ( 'imagecategory' );

Space after opening parenthesis of function call prohibited
Open

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

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'shorten_url', '_MD_AM_SHORTURL', '0', '_MD_AM_SHORTURLDSC', 'yesno', 'int', 18 );

Space before opening parenthesis of function call prohibited
Open

        unset ( $table );

Space before opening parenthesis of function call prohibited
Open

        unset ( $table );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'pre_chars_left', '_MD_AM_PRECHARS', '35', '_MD_AM_PRECHARS_DESC', 'textbox', 'int', 20 );

Expected 0 spaces before closing bracket; 1 found
Open

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

Space after opening parenthesis of function call prohibited
Open

        $table = new icms_db_legacy_updater_Table ( 'imagecategory' );

Line indented incorrectly; expected 0 tabs, found 1
Open

    }

Space before opening parenthesis of function call prohibited
Open

        $table = new icms_db_legacy_updater_Table ( 'image' );

Space after opening parenthesis of function call prohibited
Open

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

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->runQuery ( 'INSERT INTO ' . $table->name () . ' (image_id, image_name, image_nicename, image_mimetype, image_created, image_display, image_weight, imgcat_id) VALUES (NULL, "img482278e29e81c.png", "ImpressCMS", "image/png", ' . time () . ', 1, 0, ' . $categ_id . ')', 'Successfully added default ImpressCMS admin logo', 'Problems when try to add ImpressCMS admin logo' );

Space after opening parenthesis of function call prohibited
Open

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

Space before opening parenthesis of function call prohibited
Open

        $table = new icms_db_legacy_updater_Table ( 'group_permission' );

Space after opening parenthesis of function call prohibited
Open

        $table = new icms_db_legacy_updater_Table ( 'users' );

Space after opening parenthesis of function call prohibited
Open

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

Expected 0 spaces before closing bracket; 1 found
Open

        unset ( $table );

Line indented incorrectly; expected 0 tabs, found 1
Open

    if ($dbVersion < $newDbVersion) {

Space before opening parenthesis of function call prohibited
Open

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

Space after opening parenthesis of function call prohibited
Open

        $criteria->add ( new icms_db_criteria_Item ( 'conf_catid', ICMS_CONF_PERSONA ) );

Expected 0 spaces before closing bracket; 1 found
Open

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

Expected 0 spaces before closing bracket; 1 found
Open

            $configitemsObj [0]->setVar ( 'conf_value', 'https://www.impresscms.org/modules/new/rss.php' );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'use_jsjalali', '_MD_AM_JALALICAL', '0', '_MD_AM_JALALICALDSC', 'yesno', 'int', 23 );

Expected 0 spaces before closing bracket; 1 found
Open

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

Expected 0 spaces before closing bracket; 1 found
Open

        $table = new icms_db_legacy_updater_Table ( 'users' );

Space before opening parenthesis of function call prohibited
Open

        unset ( $table );

Line indented incorrectly; expected 1 tabs, found 2
Open

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

Space after opening parenthesis of function call prohibited
Open

        unset ( $table );

Line indented incorrectly; expected 1 tabs, found 2
Open

        }

Space before opening parenthesis of function call prohibited
Open

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

Expected 0 spaces before closing bracket; 1 found
Open

        unset ( $table );

Expected 0 spaces before closing bracket; 1 found
Open

        $table = new icms_db_legacy_updater_Table ( 'users' );

Space after opening parenthesis of function call prohibited
Open

        unset ( $table );

Space after opening parenthesis of function call prohibited
Open

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

Space before opening parenthesis of function call prohibited
Open

        $configitemsObj = $configitem_handler->getObjects ( $criteria );

Space after opening parenthesis of function call prohibited
Open

        if (isset ( $configitemsObj [0] ) && $configitemsObj [0]->getVar ( 'conf_value', 'n' ) == 'http://www.impresscms.org/modules/smartsection/backend.php') {

Expected 0 spaces before closing bracket; 1 found
Open

        unset ( $table );

Space before opening parenthesis of function call prohibited
Open

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

Expected 0 spaces before closing bracket; 1 found
Open

            $icmsDatabaseUpdater->updateTable ( $table );

Expected 0 spaces before closing bracket; 1 found
Open

        unset ( $table );

Space before opening parenthesis of function call prohibited
Open

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

Space after opening parenthesis of function call prohibited
Open

            $table->addNewField ( 'enc_type', "tinyint(2) UNSIGNED NOT NULL default 0" );

Space after opening parenthesis of function call prohibited
Open

            $icmsDatabaseUpdater->updateTable ( $table );

Expected 0 spaces before closing bracket; 1 found
Open

            $icmsDatabaseUpdater->updateTable ( $table );

Expected 0 spaces before closing bracket; 1 found
Open

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

Space before opening parenthesis of function call prohibited
Open

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

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'use_jsjalali', '_MD_AM_JALALICAL', '0', '_MD_AM_JALALICALDSC', 'yesno', 'int', 23 );

Space before opening parenthesis of function call prohibited
Open

        unset ( $table );

Line indented incorrectly; expected 0 tabs, found 1
Open

    }

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'use_jsjalali', '_MD_AM_JALALICAL', '0', '_MD_AM_JALALICALDSC', 'yesno', 'int', 23 );

Space before opening parenthesis of function call prohibited
Open

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

Expected 0 spaces before closing bracket; 1 found
Open

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

Space before opening parenthesis of function call prohibited
Open

        $criteria->add ( new icms_db_criteria_Item ( 'conf_catid', ICMS_CONF_METAFOOTER ) );

Expected 0 spaces before closing bracket; 1 found
Open

        if (isset ( $configitemsObj [0] ) && $configitemsObj [0]->getVar ( 'conf_formtype', 'n' ) == 'textarea') {

Expected 0 spaces before closing bracket; 1 found
Open

            $configitemsObj [0]->setVar ( 'conf_formtype', 'textbox' );

Space before opening parenthesis of function call prohibited
Open

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

Expected 0 spaces before closing bracket; 1 found
Open

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

Space after opening parenthesis of function call prohibited
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );

Space before opening parenthesis of function call prohibited
Open

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

Expected 0 spaces before closing bracket; 1 found
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 0);" );

Space before opening parenthesis of function call prohibited
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );

Space after opening parenthesis of function call prohibited
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );

Space after opening parenthesis of function call prohibited
Open

        icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 3, 1, 'group_manager');" );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'ldap_users_bypass'" );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'bad_ips'" );

Space before opening parenthesis of function call prohibited
Open

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

Space after opening parenthesis of function call prohibited
Open

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

Space after opening parenthesis of function call prohibited
Open

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

Expected 0 spaces before closing bracket; 1 found
Open

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

Expected 0 spaces before closing bracket; 1 found
Open

            $configitem_handler->insert ( $configitemsObj [0] );

Space before opening parenthesis of function call prohibited
Open

            $icmsDatabaseUpdater->updateTable ( $table );

Line indented incorrectly; expected 1 tabs, found 2
Open

        }

Expected 0 spaces before closing bracket; 1 found
Open

        $table = new icms_db_legacy_updater_Table ( 'users' );

Expected 0 spaces before closing bracket; 1 found
Open

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

Expected 0 spaces before closing bracket; 1 found
Open

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

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'use_jsjalali', '_MD_AM_JALALICAL', '0', '_MD_AM_JALALICALDSC', 'yesno', 'int', 23 );

Expected 0 spaces before closing bracket; 1 found
Open

        unset ( $table );

Space after opening parenthesis of function call prohibited
Open

        $criteria->add ( new icms_db_criteria_Item ( 'conf_name', 'google_analytics' ) );

Space after opening parenthesis of function call prohibited
Open

            $configitemsObj [0]->setVar ( 'conf_formtype', 'textbox' );

Space before opening parenthesis of function call prohibited
Open

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

Line indented incorrectly; expected 1 tabs, found 2
Open

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

Line indented incorrectly; expected 1 tabs, found 2
Open

        if (getDbValue ( icms::$xoopsDB, 'newblocks', 'show_func', 'show_func="b_social_bookmarks"' ) == FALSE) {

Line indented incorrectly; expected 1 tabs, found 2
Open

        }

Space after opening parenthesis of function call prohibited
Open

        if (getDbValue ( icms::$xoopsDB, 'newblocks', 'show_func', 'show_func="b_social_bookmarks"' ) == FALSE) {

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->runQuery ( "ALTER TABLE `" . $table->name () . "` MODIFY version smallint(5) unsigned NOT NULL default '102'", 'Successfully modified field version in table modules', '' );

Space before opening parenthesis of function call prohibited
Open

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

Space before opening parenthesis of function call prohibited
Open

        $table = new icms_db_legacy_updater_Table ( 'users' );

Space after opening parenthesis of function call prohibited
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );

Space after opening parenthesis of function call prohibited
Open

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

Space before opening parenthesis of function call prohibited
Open

        if (getDbValue ( icms::$xoopsDB, 'newblocks', 'show_func', 'show_func="b_content_menu_show"' ) == FALSE) {

Space before opening parenthesis of function call prohibited
Open

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

Space before opening parenthesis of function call prohibited
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 0);" );

Space after opening parenthesis of function call prohibited
Open

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

Space after opening parenthesis of function call prohibited
Open

        if (getDbValue ( icms::$xoopsDB, 'newblocks', 'show_func', 'show_func="b_content_relmenu_show"' ) == FALSE) {

Space before opening parenthesis of function call prohibited
Open

            $sql = "SELECT bid FROM `" . icms::$xoopsDB->prefix ( 'newblocks' ) . "` WHERE show_func='b_content_menu_show'";

Expected 0 spaces before closing bracket; 1 found
Open

            $sql = "SELECT bid FROM `" . icms::$xoopsDB->prefix ( 'newblocks' ) . "` WHERE show_func='b_content_relmenu_show'";

Space after opening parenthesis of function call prohibited
Open

            $sql = "SELECT bid FROM `" . icms::$xoopsDB->prefix ( 'newblocks' ) . "` WHERE show_func='b_content_menu_show'";

Expected 0 spaces before closing bracket; 1 found
Open

        icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 18, 1, 'system_admin');" );

Space after opening parenthesis of function call prohibited
Open

        icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 20, 1, 'system_admin');" );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'bad_unames'" );

Space before opening parenthesis of function call prohibited
Open

        icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 17, 1, 'system_admin');" );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'bad_unames'" );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'bad_unames'" );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'bad_emails'" );

Expected 0 spaces before closing bracket; 1 found
Open

        icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 19, 1, 'system_admin');" );

Line indented incorrectly; expected 1 tabs, found 2
Open

        if (isset ( $configitemsObj [0] ) && $configitemsObj [0]->getVar ( 'conf_formtype', 'n' ) == 'textarea') {

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'meta_description'" );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->runQuery ( "ALTER TABLE `" . $table->name () . "` MODIFY version smallint(5) unsigned NOT NULL default '102'", 'Successfully modified field version in table modules', '' );

Expected 0 spaces before closing bracket; 1 found
Open

            $icmsDatabaseUpdater->updateTable ( $table );

Space before opening parenthesis of function call prohibited
Open

        icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 1, 1, 'content_admin');" );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'ldap_users_bypass'" );

Space after opening parenthesis of function call prohibited
Open

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

Space before opening parenthesis of function call prohibited
Open

        icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 3, 1, 'group_manager');" );

Expected 0 spaces before closing bracket; 1 found
Open

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

Expected 0 spaces before closing bracket; 1 found
Open

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

Expected 0 spaces before closing bracket; 1 found
Open

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

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'bad_ips'" );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'ldap_users_bypass'" );

Space before opening parenthesis of function call prohibited
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );

Space before opening parenthesis of function call prohibited
Open

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

Expected 0 spaces before closing bracket; 1 found
Open

            $icmsDatabaseUpdater->runQuery ( "ALTER TABLE `" . $table->name () . "` MODIFY dbversion INT(11) unsigned NOT NULL DEFAULT 1", 'Successfully modified field dbversion in table modules', '' );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'smtphost'" );

Space before opening parenthesis of function call prohibited
Open

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

Line indented incorrectly; expected 1 tabs, found 2
Open

        if (getDbValue ( icms::$xoopsDB, 'newblocks', 'show_func', 'show_func="b_content_relmenu_show"' ) == FALSE) {

Expected 0 spaces before closing bracket; 1 found
Open

            $table->addNewField ( 'pass_expired', "tinyint(1) UNSIGNED NOT NULL default 0" );

Space before opening parenthesis of function call prohibited
Open

            $sql = "SELECT bid FROM `" . icms::$xoopsDB->prefix ( 'newblocks' ) . "` WHERE show_func='b_social_bookmarks'";

Space before opening parenthesis of function call prohibited
Open

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

Space after opening parenthesis of function call prohibited
Open

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

Space after opening parenthesis of function call prohibited
Open

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

Space after opening parenthesis of function call prohibited
Open

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

Expected 0 spaces before closing bracket; 1 found
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );

Space after opening parenthesis of function call prohibited
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 0);" );

Space before opening parenthesis of function call prohibited
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );

Space before opening parenthesis of function call prohibited
Open

            $table->addNewField ( 'enc_type', "tinyint(2) UNSIGNED NOT NULL default 0" );

Space after opening parenthesis of function call prohibited
Open

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

Space after opening parenthesis of function call prohibited
Open

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

Space before opening parenthesis of function call prohibited
Open

        icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 18, 1, 'system_admin');" );

Expected 0 spaces before closing bracket; 1 found
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 0);" );

Space after opening parenthesis of function call prohibited
Open

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

Expected 0 spaces before closing bracket; 1 found
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 0);" );

Space after opening parenthesis of function call prohibited
Open

        icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 2, 1, 'group_manager');" );

Expected 0 spaces before closing bracket; 1 found
Open

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

Space before opening parenthesis of function call prohibited
Open

        icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 3, 1, 'group_manager');" );

Space before opening parenthesis of function call prohibited
Open

        icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 16, 1, 'system_admin');" );

Expected 0 spaces before closing bracket; 1 found
Open

        $criteria->add ( new icms_db_criteria_Item ( 'conf_name', 'google_analytics' ) );

Space after opening parenthesis of function call prohibited
Open

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

Space before opening parenthesis of function call prohibited
Open

        icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 16, 1, 'system_admin');" );

Expected 0 spaces before closing bracket; 1 found
Open

        $configitemsObj = $configitem_handler->getObjects ( $criteria );

Space after opening parenthesis of function call prohibited
Open

        icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 16, 1, 'system_admin');" );

Line indented incorrectly; expected 0 tabs, found 1
Open

    if ($dbVersion < $newDbVersion) {

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'meta_description'" );

Space after opening parenthesis of function call prohibited
Open

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

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'ldap_users_bypass'" );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'bad_unames'" );

Space after opening parenthesis of function call prohibited
Open

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

Expected 0 spaces before closing bracket; 1 found
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 1);" );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'ldap_users_bypass'" );

Space after opening parenthesis of function call prohibited
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );

Space after opening parenthesis of function call prohibited
Open

        if (getDbValue ( icms::$xoopsDB, 'newblocks', 'show_func', 'show_func="b_content_show"' ) == FALSE) {

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'reg_disclaimer'" );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'reg_disclaimer'" );

Expected 0 spaces before closing bracket; 1 found
Open

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

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'smtphost'" );

Expected 0 spaces before closing bracket; 1 found
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 0);" );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'smtphost'" );

Space before opening parenthesis of function call prohibited
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 0);" );

Expected 0 spaces before closing bracket; 1 found
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );

Space before opening parenthesis of function call prohibited
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 0);" );

Expected 0 spaces before closing bracket; 1 found
Open

        if (getDbValue ( icms::$xoopsDB, 'newblocks', 'show_func', 'show_func="b_content_relmenu_show"' ) == FALSE) {

Space before opening parenthesis of function call prohibited
Open

            $sql = "SELECT bid FROM `" . icms::$xoopsDB->prefix ( 'newblocks' ) . "` WHERE show_func='b_content_relmenu_show'";

Space after opening parenthesis of function call prohibited
Open

            $sql = "SELECT bid FROM `" . icms::$xoopsDB->prefix ( 'newblocks' ) . "` WHERE show_func='b_content_relmenu_show'";

Space before opening parenthesis of function call prohibited
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 0);" );

Space before opening parenthesis of function call prohibited
Open

        icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 18, 1, 'system_admin');" );

Space after opening parenthesis of function call prohibited
Open

        icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 19, 1, 'system_admin');" );

Expected 0 spaces before closing bracket; 1 found
Open

        icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 20, 1, 'system_admin');" );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'bad_unames'" );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'meta_keywords'" );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'meta_keywords'" );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'censor_words'" );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'bad_ips'" );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'multi_login_msg'" );

Expected 0 spaces before closing bracket; 1 found
Open

        if (isset ( $configitemsObj [0] ) && $configitemsObj [0]->getVar ( 'conf_formtype', 'n' ) == 'textarea') {

Space before opening parenthesis of function call prohibited
Open

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

Space before opening parenthesis of function call prohibited
Open

        $table = new icms_db_legacy_updater_Table ( 'modules' );

Expected 0 spaces before closing bracket; 1 found
Open

        $table = new icms_db_legacy_updater_Table ( 'users' );

Space before opening parenthesis of function call prohibited
Open

        unset ( $table );

Expected 0 spaces before closing bracket; 1 found
Open

            $sql = "SELECT bid FROM `" . icms::$xoopsDB->prefix ( 'newblocks' ) . "` WHERE show_func='b_social_bookmarks'";

Space after opening parenthesis of function call prohibited
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 1);" );

Space before opening parenthesis of function call prohibited
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );

Space after opening parenthesis of function call prohibited
Open

        if (getDbValue ( icms::$xoopsDB, 'newblocks', 'show_func', 'show_func="b_content_menu_show"' ) == FALSE) {

Space after opening parenthesis of function call prohibited
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 0);" );

Expected 0 spaces before closing bracket; 1 found
Open

        icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 16, 1, 'system_admin');" );

Space after opening parenthesis of function call prohibited
Open

        icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 17, 1, 'system_admin');" );

Expected 0 spaces before closing bracket; 1 found
Open

        icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 18, 1, 'system_admin');" );

Space before opening parenthesis of function call prohibited
Open

        icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 2, 1, 'group_manager');" );

Space after opening parenthesis of function call prohibited
Open

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

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'meta_keywords'" );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'meta_description'" );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'meta_description'" );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'censor_words'" );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'reg_disclaimer'" );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'bad_ips'" );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'bad_ips'" );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'smtphost'" );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'smtphost'" );

Expected 0 spaces before closing bracket; 1 found
Open

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

Space before opening parenthesis of function call prohibited
Open

        $criteria->add ( new icms_db_criteria_Item ( 'conf_name', 'google_analytics' ) );

Expected 0 spaces before closing bracket; 1 found
Open

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

Line indented incorrectly; expected 0 tabs, found 1
Open

    }

Space before opening parenthesis of function call prohibited
Open

            $icmsDatabaseUpdater->runQuery ( "ALTER TABLE `" . $table->name () . "` MODIFY dbversion INT(11) unsigned NOT NULL DEFAULT 1", 'Successfully modified field dbversion in table modules', '' );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->runQuery ( "ALTER TABLE `" . $table->name () . "` MODIFY version smallint(5) unsigned NOT NULL default '102'", 'Successfully modified field version in table modules', '' );

Expected 0 spaces before closing bracket; 1 found
Open

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

Expected 0 spaces before closing bracket; 1 found
Open

        if (getDbValue ( icms::$xoopsDB, 'newblocks', 'show_func', 'show_func="b_social_bookmarks"' ) == FALSE) {

Space after opening parenthesis of function call prohibited
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 1);" );

Expected 0 spaces before closing bracket; 1 found
Open

            $sql = "SELECT bid FROM `" . icms::$xoopsDB->prefix ( 'newblocks' ) . "` WHERE show_func='b_content_show'";

Space after opening parenthesis of function call prohibited
Open

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

Space before opening parenthesis of function call prohibited
Open

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

Space before opening parenthesis of function call prohibited
Open

        icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 19, 1, 'system_admin');" );

Space before opening parenthesis of function call prohibited
Open

        icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 20, 1, 'system_admin');" );

Expected 0 spaces before closing bracket; 1 found
Open

        $criteria->add ( new icms_db_criteria_Item ( 'conf_name', 'google_analytics' ) );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'ldap_field_mapping'" );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'ldap_field_mapping'" );

Space before opening parenthesis of function call prohibited
Open

        $criteria->add ( new icms_db_criteria_Item ( 'conf_name', 'google_analytics' ) );

Space after opening parenthesis of function call prohibited
Open

        $criteria->add ( new icms_db_criteria_Item ( 'conf_catid', ICMS_CONF_METAFOOTER ) );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'reg_disclaimer'" );

Expected 0 spaces before closing bracket; 1 found
Open

            $configitem_handler->insert ( $configitemsObj [0] );

Expected 0 spaces before closing bracket; 1 found
Open

        $table = new icms_db_legacy_updater_Table ( 'modules' );

Expected 0 spaces before closing bracket; 1 found
Open

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

Line indented incorrectly; expected 0 tabs, found 1
Open

    }

Space after opening parenthesis of function call prohibited
Open

        unset ( $table );

Expected 0 spaces before closing bracket; 1 found
Open

        unset ( $table );

Space before opening parenthesis of function call prohibited
Open

        $table = new icms_db_legacy_updater_Table ( 'users' );

Space after opening parenthesis of function call prohibited
Open

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

Space after opening parenthesis of function call prohibited
Open

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

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->runQuery ( "ALTER TABLE `" . $table->name () . "` DROP INDEX unamepass, ADD INDEX unamepass (uname (10), pass (10))", 'Successfully altered the index unamepass on table users', '' );

Space before opening parenthesis of function call prohibited
Open

            $icmsDatabaseUpdater->updateTable ( $table );

Expected 0 spaces before closing bracket; 1 found
Open

        $table = new icms_db_legacy_updater_Table ( 'users' );

Space after opening parenthesis of function call prohibited
Open

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

Space after opening parenthesis of function call prohibited
Open

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

Line indented incorrectly; expected 0 tabs, found 1
Open

    if ($dbVersion < $newDbVersion) {

Space after opening parenthesis of function call prohibited
Open

        $table = new icms_db_legacy_updater_Table ( 'users' );

Space after opening parenthesis of function call prohibited
Open

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

Space before opening parenthesis of function call prohibited
Open

            $table->addNewField ( 'pass_expired', "tinyint(1) UNSIGNED NOT NULL default 0" );

Space after opening parenthesis of function call prohibited
Open

            $configitem_handler->insert ( $configitemsObj [0] );

Space before opening parenthesis of function call prohibited
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 0);" );

Space after opening parenthesis of function call prohibited
Open

            $icmsDatabaseUpdater->updateTable ( $table );

Space after opening parenthesis of function call prohibited
Open

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

Space before opening parenthesis of function call prohibited
Open

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

Expected 0 spaces before closing bracket; 1 found
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );

Expected 0 spaces before closing bracket; 1 found
Open

            $icmsDatabaseUpdater->updateTable ( $table );

Space before opening parenthesis of function call prohibited
Open

            $icmsDatabaseUpdater->runQuery ( "ALTER TABLE `" . $table->name () . "` MODIFY dbversion INT(11) unsigned NOT NULL DEFAULT 1", 'Successfully modified field dbversion in table modules', '' );

Line indented incorrectly; expected 1 tabs, found 2
Open

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

Space after opening parenthesis of function call prohibited
Open

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

Space before opening parenthesis of function call prohibited
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );

Space before opening parenthesis of function call prohibited
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );

Expected 0 spaces before closing bracket; 1 found
Open

        $criteria->add ( new icms_db_criteria_Item ( 'conf_catid', ICMS_CONF_METAFOOTER ) );

Line indented incorrectly; expected 0 tabs, found 1
Open

    if ($dbVersion < $newDbVersion) {

Space before opening parenthesis of function call prohibited
Open

        if (getDbValue ( icms::$xoopsDB, 'newblocks', 'show_func', 'show_func="b_content_relmenu_show"' ) == FALSE) {

Line indented incorrectly; expected 0 tabs, found 1
Open

    if ($dbVersion < $newDbVersion) {

Space before opening parenthesis of function call prohibited
Open

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

Expected 0 spaces before closing bracket; 1 found
Open

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

Space before opening parenthesis of function call prohibited
Open

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

Expected 0 spaces before closing bracket; 1 found
Open

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

Space after opening parenthesis of function call prohibited
Open

        $table = new icms_db_legacy_updater_Table ( 'modules' );

Space before opening parenthesis of function call prohibited
Open

        if (getDbValue ( icms::$xoopsDB, 'newblocks', 'show_func', 'show_func="b_social_bookmarks"' ) == FALSE) {

Expected 0 spaces before closing bracket; 1 found
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 0);" );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'use_jsjalali', '_MD_AM_JALALICAL', '0', '_MD_AM_JALALICALDSC', 'yesno', 'int', 23 );

Space before opening parenthesis of function call prohibited
Open

        icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 1, 1, 'content_admin');" );

Space before opening parenthesis of function call prohibited
Open

        $criteria = new icms_db_criteria_Compo ( );

Space after opening parenthesis of function call prohibited
Open

        icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 1, 1, 'content_admin');" );

Expected 0 spaces before closing bracket; 1 found
Open

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

Line indented incorrectly; expected 0 tabs, found 1
Open

    }

Space before opening parenthesis of function call prohibited
Open

        icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 2, 1, 'group_manager');" );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->runQuery ( "ALTER TABLE `" . $table->name () . "` MODIFY pass_expired tinyint(1) unsigned NOT NULL default 0", 'Successfully altered field pass_expired in table users', '' );

Space before opening parenthesis of function call prohibited
Open

            $sql = "SELECT bid FROM `" . icms::$xoopsDB->prefix ( 'newblocks' ) . "` WHERE show_func='b_content_show'";

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->runQuery ( "ALTER TABLE `" . $table->name () . "` MODIFY pass_expired tinyint(1) unsigned NOT NULL default 0", 'Successfully altered field pass_expired in table users', '' );

Space after opening parenthesis of function call prohibited
Open

        unset ( $table );

Space after opening parenthesis of function call prohibited
Open

            $sql = "SELECT bid FROM `" . icms::$xoopsDB->prefix ( 'newblocks' ) . "` WHERE show_func='b_social_bookmarks'";

Space after opening parenthesis of function call prohibited
Open

            $sql = "SELECT bid FROM `" . icms::$xoopsDB->prefix ( 'newblocks' ) . "` WHERE show_func='b_content_show'";

Expected 0 spaces before closing bracket; 1 found
Open

        icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 2, 1, 'group_manager');" );

Expected 0 spaces before closing bracket; 1 found
Open

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

Space after opening parenthesis of function call prohibited
Open

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

Space before opening parenthesis of function call prohibited
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 1);" );

Space before opening parenthesis of function call prohibited
Open

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

Expected 0 spaces before closing bracket; 1 found
Open

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

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'censor_words'" );

Space after opening parenthesis of function call prohibited
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );

Space before opening parenthesis of function call prohibited
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 1);" );

Expected 0 spaces before closing bracket; 1 found
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );

Expected 0 spaces before closing bracket; 1 found
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 1);" );

Expected 0 spaces before closing bracket; 1 found
Open

        icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 16, 1, 'system_admin');" );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'reg_disclaimer'" );

Expected 0 spaces before closing bracket; 1 found
Open

        icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 17, 1, 'system_admin');" );

Expected 0 spaces before closing bracket; 1 found
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );

Space after opening parenthesis of function call prohibited
Open

        icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 20, 1, 'system_admin');" );

Space before opening parenthesis of function call prohibited
Open

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

Space before opening parenthesis of function call prohibited
Open

        icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 17, 1, 'system_admin');" );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'reg_disclaimer'" );

Expected 0 spaces before closing bracket; 1 found
Open

        icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 1, 1, 'content_admin');" );

Space after opening parenthesis of function call prohibited
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 0);" );

Space after opening parenthesis of function call prohibited
Open

        icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 2, 1, 'group_manager');" );

Space before opening parenthesis of function call prohibited
Open

        icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 20, 1, 'system_admin');" );

Expected 0 spaces before closing bracket; 1 found
Open

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

Expected 0 spaces before closing bracket; 1 found
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 0);" );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'bad_emails'" );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'bad_emails'" );

Space before opening parenthesis of function call prohibited
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );

Line indented incorrectly; expected 0 tabs, found 1
Open

    }

Space after opening parenthesis of function call prohibited
Open

        icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 18, 1, 'system_admin');" );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'smtphost'" );

Expected 0 spaces before closing bracket; 1 found
Open

        icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 1, 1, 'content_admin');" );

Space before opening parenthesis of function call prohibited
Open

        icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 19, 1, 'system_admin');" );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'multi_login_msg'" );

Expected 0 spaces before closing bracket; 1 found
Open

        icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 3, 1, 'group_manager');" );

Expected 0 spaces before closing bracket; 1 found
Open

        icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 20, 1, 'system_admin');" );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'bad_emails'" );

Space before opening parenthesis of function call prohibited
Open

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

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'censor_words'" );

Space before opening parenthesis of function call prohibited
Open

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

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'ldap_field_mapping'" );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'bad_emails'" );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'ldap_field_mapping'" );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'ldap_field_mapping'" );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'ldap_field_mapping'" );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'multi_login_msg'" );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'multi_login_msg'" );

Space before opening parenthesis of function call prohibited
Open

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

Expected 0 spaces before closing bracket; 1 found
Open

            $table->addNewField ( 'enc_type', "tinyint(2) UNSIGNED NOT NULL default 0" );

Expected 0 spaces before closing bracket; 1 found
Open

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

Expected 0 spaces before closing bracket; 1 found
Open

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

Expected 0 spaces before closing bracket; 1 found
Open

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

Space after opening parenthesis of function call prohibited
Open

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

Line indented incorrectly; expected 0 tabs, found 1
Open

    if ($dbVersion < $newDbVersion) {

Space after opening parenthesis of function call prohibited
Open

        $configitemsObj = $configitem_handler->getObjects ( $criteria );

Space before opening parenthesis of function call prohibited
Open

            $configitemsObj [0]->setVar ( 'conf_formtype', 'textbox' );

Line indented incorrectly; expected 1 tabs, found 2
Open

        }

Space before opening parenthesis of function call prohibited
Open

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

Space after opening parenthesis of function call prohibited
Open

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

Space before opening parenthesis of function call prohibited
Open

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

Space after opening parenthesis of function call prohibited
Open

        $table = new icms_db_legacy_updater_Table ( 'users' );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->runQuery ( "ALTER TABLE `" . $table->name () . "` DROP INDEX unamepass, ADD INDEX unamepass (uname (10), pass (10))", 'Successfully altered the index unamepass on table users', '' );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->runQuery ( "ALTER TABLE `" . $table->name () . "` MODIFY pass_expired tinyint(1) unsigned NOT NULL default 0", 'Successfully altered field pass_expired in table users', '' );

Expected 0 spaces before closing bracket; 1 found
Open

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

Space before opening parenthesis of function call prohibited
Open

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

Line indented incorrectly; expected 0 tabs, found 1
Open

    }

Expected 0 spaces before closing bracket; 1 found
Open

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

Line indented incorrectly; expected 1 tabs, found 2
Open

        if (getDbValue ( icms::$xoopsDB, 'newblocks', 'show_func', 'show_func="b_content_show"' ) == FALSE) {

Space before opening parenthesis of function call prohibited
Open

        if (getDbValue ( icms::$xoopsDB, 'newblocks', 'show_func', 'show_func="b_content_show"' ) == FALSE) {

Space after opening parenthesis of function call prohibited
Open

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

Space after opening parenthesis of function call prohibited
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );

Space after opening parenthesis of function call prohibited
Open

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

Space after opening parenthesis of function call prohibited
Open

        $criteria->add ( new icms_db_criteria_Item ( 'conf_name', 'google_analytics' ) );

Space after opening parenthesis of function call prohibited
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 0);" );

Space after opening parenthesis of function call prohibited
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 0);" );

Space before opening parenthesis of function call prohibited
Open

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

Line indented incorrectly; expected 1 tabs, found 2
Open

        }

Space after opening parenthesis of function call prohibited
Open

        icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 17, 1, 'system_admin');" );

Space before opening parenthesis of function call prohibited
Open

        if (isset ( $configitemsObj [0] ) && $configitemsObj [0]->getVar ( 'conf_formtype', 'n' ) == 'textarea') {

Space before opening parenthesis of function call prohibited
Open

            $table->addNewField ( 'user_viewoid', "tinyint(1) UNSIGNED NOT NULL default 0" );

Expected 0 spaces before closing bracket; 1 found
Open

        icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 3, 1, 'group_manager');" );

Expected 0 spaces before closing bracket; 1 found
Open

        $criteria->add ( new icms_db_criteria_Item ( 'conf_catid', ICMS_CONF_METAFOOTER ) );

Line indented incorrectly; expected 0 tabs, found 1
Open

    if ($dbVersion < $newDbVersion) {

Space before opening parenthesis of function call prohibited
Open

        unset ( $table );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'meta_keywords'" );

Space before opening parenthesis of function call prohibited
Open

        if (isset ( $configitemsObj [0] ) && $configitemsObj [0]->getVar ( 'conf_formtype', 'n' ) == 'textarea') {

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'multi_login_msg'" );

Space before opening parenthesis of function call prohibited
Open

        $table = new icms_db_legacy_updater_Table ( 'users' );

Space after opening parenthesis of function call prohibited
Open

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

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'multi_login_msg'" );

Space after opening parenthesis of function call prohibited
Open

        if (isset ( $configitemsObj [0] ) && $configitemsObj [0]->getVar ( 'conf_formtype', 'n' ) == 'textarea') {

Space before opening parenthesis of function call prohibited
Open

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

Space after opening parenthesis of function call prohibited
Open

            $icmsDatabaseUpdater->runQuery ( "ALTER TABLE `" . $table->name () . "` MODIFY dbversion INT(11) unsigned NOT NULL DEFAULT 1", 'Successfully modified field dbversion in table modules', '' );

Line indented incorrectly; expected 0 tabs, found 1
Open

    }

Space before opening parenthesis of function call prohibited
Open

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

Space after opening parenthesis of function call prohibited
Open

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

Line indented incorrectly; expected 0 tabs, found 1
Open

    if ($dbVersion < $newDbVersion) {

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->runQuery ( "ALTER TABLE `" . $table->name () . "` DROP INDEX unamepass, ADD INDEX unamepass (uname (10), pass (10))", 'Successfully altered the index unamepass on table users', '' );

Space before opening parenthesis of function call prohibited
Open

        $criteria->add ( new icms_db_criteria_Item ( 'conf_catid', ICMS_CONF_METAFOOTER ) );

Space before opening parenthesis of function call prohibited
Open

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

Expected 0 spaces before closing bracket; 1 found
Open

        unset ( $table );

Space after opening parenthesis of function call prohibited
Open

        if (isset ( $configitemsObj [0] ) && $configitemsObj [0]->getVar ( 'conf_formtype', 'n' ) == 'textarea') {

Expected 0 spaces before closing bracket; 1 found
Open

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

Space before opening parenthesis of function call prohibited
Open

            $configitem_handler->insert ( $configitemsObj [0] );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->runQuery ( "ALTER TABLE `" . $table->name () . "` MODIFY version smallint(5) unsigned NOT NULL default '102'", 'Successfully modified field version in table modules', '' );

Expected 0 spaces before closing bracket; 1 found
Open

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

Space after opening parenthesis of function call prohibited
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );

Space before opening parenthesis of function call prohibited
Open

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

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->runQuery ( "ALTER TABLE `" . $table->name () . "` DROP INDEX unamepass, ADD INDEX unamepass (uname (10), pass (10))", 'Successfully altered the index unamepass on table users', '' );

Expected 0 spaces before closing bracket; 1 found
Open

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

Expected 0 spaces before closing bracket; 1 found
Open

        if (getDbValue ( icms::$xoopsDB, 'newblocks', 'show_func', 'show_func="b_content_show"' ) == FALSE) {

Expected 0 spaces before closing bracket; 1 found
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->runQuery ( "ALTER TABLE `" . $table->name () . "` MODIFY pass_expired tinyint(1) unsigned NOT NULL default 0", 'Successfully altered field pass_expired in table users', '' );

Space before opening parenthesis of function call prohibited
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );

Expected 0 spaces before closing bracket; 1 found
Open

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

Line indented incorrectly; expected 1 tabs, found 2
Open

        }

Space after opening parenthesis of function call prohibited
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );

Line indented incorrectly; expected 1 tabs, found 2
Open

        }

Expected 0 spaces before closing bracket; 1 found
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );

Expected 0 spaces before closing bracket; 1 found
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );

Expected 0 spaces before closing bracket; 1 found
Open

        icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 19, 1, 'system_admin');" );

Space after opening parenthesis of function call prohibited
Open

        icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 16, 1, 'system_admin');" );

Space after opening parenthesis of function call prohibited
Open

        icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 1, 1, 'content_admin');" );

Expected 0 spaces before closing bracket; 1 found
Open

        icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 17, 1, 'system_admin');" );

Expected 0 spaces before closing bracket; 1 found
Open

        icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 2, 1, 'group_manager');" );

Line indented incorrectly; expected 1 tabs, found 2
Open

        if (getDbValue ( icms::$xoopsDB, 'newblocks', 'show_func', 'show_func="b_content_menu_show"' ) == FALSE) {

Space before opening parenthesis of function call prohibited
Open

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

Space after opening parenthesis of function call prohibited
Open

        icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 18, 1, 'system_admin');" );

Expected 0 spaces before closing bracket; 1 found
Open

        if (getDbValue ( icms::$xoopsDB, 'newblocks', 'show_func', 'show_func="b_content_menu_show"' ) == FALSE) {

Line indented incorrectly; expected 0 tabs, found 1
Open

    }

Space after opening parenthesis of function call prohibited
Open

        icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 3, 1, 'group_manager');" );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'bad_emails'" );

Expected 0 spaces before closing bracket; 1 found
Open

            $sql = "SELECT bid FROM `" . icms::$xoopsDB->prefix ( 'newblocks' ) . "` WHERE show_func='b_content_menu_show'";

Expected 0 spaces before closing bracket; 1 found
Open

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

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'censor_words'" );

Space after opening parenthesis of function call prohibited
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 0);" );

Expected 0 spaces before closing bracket; 1 found
Open

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

Line indented incorrectly; expected 1 tabs, found 2
Open

        }

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'meta_keywords'" );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'meta_keywords'" );

Space before opening parenthesis of function call prohibited
Open

            icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 0);" );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'meta_description'" );

Space after opening parenthesis of function call prohibited
Open

        icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 19, 1, 'system_admin');" );

Space before opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'censor_words'" );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'ldap_users_bypass'" );

Space after opening parenthesis of function call prohibited
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'bad_ips'" );

Space after opening parenthesis of function call prohibited
Open

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

Space before opening parenthesis of function call prohibited
Open

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

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'bad_unames'" );

Expected 0 spaces before closing bracket; 1 found
Open

        $icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'meta_description'" );

There are no issues that match your filters.

Category
Status