Revcms Housekeeping help

StreetMoney

Member
Jul 19, 2012
417
8
I go on my housekeeping page and this what i see



Table 'grove1.cms_housekeeping_logs' doesn't exist

What do i do here? please anyone can help
 

TyleRJc

Member
Jun 19, 2011
67
12
Code:
CREATE TABLE IF NOT EXISTS `cms_housekeeping_logs` (
    `id` int(11) NOT NULL auto_increment,
    `staff_id` int(11) NOT NULL,
    `user_id` 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;
Run that into your database.
 

DaLightz

See ya'll in the afterlife.
May 19, 2012
1,136
262
Code:
CREATE TABLE IF NOT EXISTS `cms_housekeeping_logs` (
    `id` int(11) NOT NULL auto_increment,
    `staff_id` int(11) NOT NULL,
    `user_id` 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;
Run that into your database.
This.
 

TyleRJc

Member
Jun 19, 2011
67
12
Use this SQL then.
Code:
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;
(Yes, it has changed. userid was user_id)
 

iExplicit

Member
Jul 30, 2013
140
23
Run this query

Code:
DROP TABLE IF EXISTS `cms_housekeeping_logs`;
CREATE TABLE `cms_housekeeping_logs` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `userid` int(11) DEFAULT NULL,
  `ip_address` varchar(125) DEFAULT NULL,
  `page` varchar(50) DEFAULT NULL,
  `time` varchar(75) DEFAULT NULL,
  `extra_data` text,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=306 DEFAULT CHARSET=latin1;
 

Jeffrey

Devbest Indian Tech Support
FindRetros Moderator
Feb 5, 2013
1,180
412
The Original SQL File was deleted but it's quite easy to replicate it. Use the Above SQL and it should be running smooth and secure.
None the less remember to run my sql if you havent for housekeeping pin!
 

Users who are viewing this thread

Top