site redirect login page

0
53

CREATE TABLE IF NOT EXISTS `tbl_sessions` (
`id` varchar(128) NOT NULL,
`ip_address` varchar(45) NOT NULL,
`timestamp` int(10) unsigned DEFAULT 0 NOT NULL,
`data` blob NOT NULL,
KEY `ci_sessions_timestamp` (`timestamp`)
);
Abhishek kumar - 2120 says
ALTER TABLE tbl_sessions ADD PRIMARY KEY (id, ip_address);

and when not done check below code
wl_sessions timestamp primary key drop and config.php $config[‘sess_match_ip’] = FALSE; change true to false

//update datetime
ALTER TABLE products MODIFY tablename datetime NULL DEFAULT ‘1970-01-02’
UPDATE `products` SET `products_date_available` = NOW() WHERE `products_date_available` is NULL

LEAVE A REPLY

Please enter your comment!
Please enter your name here