CodeIgniter Forums

Full Version: add to the update documentation
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[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)

El Forum

[eluser]Murodese[/eluser]
It is in the update documentation ?_?

http://ellislab.com/codeigniter/user-gui...e_170.html

El Forum

[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

El Forum

[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