arthurakay
Forum Replies Created
-
Forum: Plugins
In reply to: [Redirection] Error Message: “Redirection needs to be updated to version 2.4”I just tried hitting the update database button too, and hit the error:
Message: Failed to perform query “CREATE TABLE
wp_redirection_404(
idint(11) unsigned NOT NULL AUTO_INCREMENT,
createddatetime NOT NULL,
urlvarchar(255) NOT NULL DEFAULT ”,
agentvarchar(255) DEFAULT NULL,
referrervarchar(255) DEFAULT NULL,
ipint(10) unsigned NOT NULL,
PRIMARY KEY (id),
KEYcreated(created),
KEYurl(url(191)),
KEYip(ip),
KEYreferrer(referrer(191))
) DEFAULT CHARACTER SET utf8mb4 COLLATE=utf8mb4_unicode_520_ci”
Installed: 2.2
Next: 2.4
Debug:Table ‘wp_redirection_404’ already exists
CREATE TABLEwp_redirection_items(
idint(11) unsigned NOT NULL AUTO_INCREMENT,
urlmediumtext NOT NULL,
regexint(11) unsigned NOT NULL DEFAULT ‘0’,
positionint(11) unsigned NOT NULL DEFAULT ‘0’,
last_countint(10) unsigned NOT NULL DEFAULT ‘0’,
last_accessdatetime NOT NULL,
group_idint(11) NOT NULL DEFAULT ‘0’,
statusenum(‘enabled’,’disabled’) NOT NULL DEFAULT ‘enabled’,
action_typevarchar(20) NOT NULL,
action_codeint(11) unsigned NOT NULL,
action_datamediumtext,
match_typevarchar(20) NOT NULL,
titlevarchar(50) DEFAULT NULL,
PRIMARY KEY (id),
KEYurl(url(200)),
KEYstatus(status),
KEYregex(regex),
KEYgroup_idpos(group_id,position),
KEYgroup(group_id)
) ENGINE=MyISAM AUTO_INCREMENT=23 DEFAULT CHARSET=utf8CREATE TABLE
wp_redirection_groups(
idint(11) NOT NULL AUTO_INCREMENT,
namevarchar(50) NOT NULL,
trackingint(11) NOT NULL DEFAULT ‘1’,
module_idint(11) unsigned NOT NULL DEFAULT ‘0’,
statusenum(‘enabled’,’disabled’) NOT NULL DEFAULT ‘enabled’,
positionint(11) unsigned NOT NULL DEFAULT ‘0’,
PRIMARY KEY (id),
KEYmodule_id(module_id),
KEYstatus(status)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8CREATE TABLE
wp_redirection_logs(
idint(11) unsigned NOT NULL AUTO_INCREMENT,
createddatetime NOT NULL,
urlmediumtext NOT NULL,
sent_tomediumtext,
agentmediumtext NOT NULL,
referrermediumtext,
redirection_idint(11) unsigned DEFAULT NULL,
ipvarchar(17) NOT NULL DEFAULT ”,
module_idint(11) unsigned NOT NULL,
group_idint(11) unsigned DEFAULT NULL,
PRIMARY KEY (id),
KEYcreated(created),
KEYredirection_id(redirection_id),
KEYip(ip),
KEYgroup_id(group_id),
KEYmodule_id(module_id)
) ENGINE=MyISAM AUTO_INCREMENT=111391 DEFAULT CHARSET=utf8CREATE TABLE
wp_redirection_404(
idint(11) unsigned NOT NULL AUTO_INCREMENT,
createddatetime NOT NULL,
urlvarchar(255) NOT NULL DEFAULT ”,
agentvarchar(255) DEFAULT NULL,
referrervarchar(255) DEFAULT NULL,
ipint(10) unsigned NOT NULL,
PRIMARY KEY (id),
KEYcreated(created),
KEYurl(url),
KEYip(ip,id),
KEYreferrer(referrer)
) ENGINE=MyISAM AUTO_INCREMENT=216519 DEFAULT CHARSET=utf8The message on my screen says:
Your current database is version 2.2, the latest is 2.4. Please update to use new features.
FWIW I also just updated to WP version 5.0.3
If I skip past that error, the next one I run into is:
Failed to perform query “ALTER TABLE
wp_redirection_404ADD INDEXip(ip)”Skipping past that error… I think everything is working? Can someone clarify that all is okay?