[Help] RevCMS House Keeping error

Matthewza

Posting Freak
Apr 20, 2012
777
77
Hi,

Everytime I enter my username and password I get this sql error. Unknown column 'userid' in 'field list', I can't figure out how to fix this.
 

Matthewza

Posting Freak
Apr 20, 2012
777
77
check if the userid is in the column of the database

There is no userid column in the database. Would this fix it?

CREATE TABLE IF NOT EXISTS `cms_housekeeping_logs` (
`id` int(11) NOT NULL auto_increment,
`staff_id` int(11) NOT NULL,
`userid` int(11) NOT NULL,
`page` varchar(999) NOT NULL,
`note` text NOT NULL,
`ip` varchar(999) NOT NULL,
`timestamp` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
 

Users who are viewing this thread

Top