add to the update documentation |
[eluser]soupdragon[/eluser]
I have just updated to the 1.7 version from the 1.6.2 version and followed the intructions ! Promptly received the error that user_data does not exist in the db ! So had a look and yep sure enough - old Codeigniter Session table CREATE TABLE IF NOT EXISTS `ci_sessions_1_6_2` ( `session_id` varchar(40) collate utf8_unicode_ci NOT NULL default '0', `ip_address` varchar(16) collate utf8_unicode_ci NOT NULL default '0', `user_agent` varchar(50) collate utf8_unicode_ci NOT NULL, `last_activity` int(10) unsigned NOT NULL default '0', `session_data` text collate utf8_unicode_ci NOT NULL, PRIMARY KEY (`session_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; and new one 1.7 DB CREATE TABLE IF NOT EXISTS `ci_sessions` ( session_id varchar(40) DEFAULT '0' NOT NULL, ip_address varchar(16) DEFAULT '0' NOT NULL, user_agent varchar(50) NOT NULL, last_activity int(10) unsigned DEFAULT 0 NOT NULL, user_data text NOT NULL, PRIMARY KEY (session_id) ) Okay i seem to have solved this problem and am not asking for help - but recommend strongly that the update documentation is changed to reflect this (at least to let people know)
[eluser]Murodese[/eluser]
It is in the update documentation ?_? http://ellislab.com/codeigniter/user-gui...e_170.html
[eluser]soupdragon[/eluser]
duh ! my mistake i'd been looking here http://ellislab.com/codeigniter/user-gui...e_162.html sorry about that ! Another by the way - i'm just checking my validation syntax and skimming over this it seems the only difference is that now its all form_validation and no longer just validation ! Is that it ? or what else has changed that i havn't spotted ? thanks
[eluser]Clooner[/eluser]
[quote author="soupdragon" date="1227560990"]Another by the way - i'm just checking my validation syntax and skimming over this it seems the only difference is that now its all form_validation and no longer just validation ! Is that it ? or what else has changed that i havn't spotted ?[/quote] Dude! Check the changelog |
Welcome Guest, Not a member yet? Register Sign In |