No. You need the correct original table structure. You said you're using v1.3.9h, so this would be the correct code for that:
Code:
DROP TABLE IF EXISTS admin_activity_log;
CREATE TABLE admin_activity_log (
log_id int(15) NOT NULL auto_increment,
access_date datetime NOT NULL default '0001-01-01 00:00:00',
admin_id int(11) NOT NULL default '0',
page_accessed varchar(80) NOT NULL default '',
page_parameters text,
ip_address varchar(15) NOT NULL default '',
PRIMARY KEY (log_id),
KEY idx_page_accessed_zen (page_accessed),
KEY idx_access_date_zen (access_date),
KEY idx_ip_zen (ip_address)
) ENGINE=MyISAM;
Again ... Warning, especially for future readers of this discussion: IF YOU ARE RUNNING ON A LIVE SITE, THEN YOU SHOULD **NEVER** drop or recreate or truncate that table without first making a backup of its contents, else you can get yourself in trouble for accounting and PCI and security reasons.
Bookmarks