Hi -
I’ve updated to 2.1.2
After getting a white screen at CP login (front end is fine) I ran a debug and was presented with the following error:
A Database Error Occurred
Error Number: 1054
Unknown column 'show_sidebar' in 'field list'
SELECT `m`.`username`, `m`.`screen_name`, `m`.`member_id`, `m`.`email`, `m`.`url`, `m`.`location`, `m`.`join_date`, `m`.`last_visit`, `m`.`last_activity`, `m`.`total_entries`, `m`.`total_comments`, `m`.`total_forum_posts`, `m`.`total_forum_topics`, `m`.`last_forum_post_date`, `m`.`language`, `m`.`timezone`, `m`.`daylight_savings`, `m`.`time_format`, `m`.`profile_theme`, `m`.`forum_theme`, `m`.`private_messages`, `m`.`accept_messages`, `m`.`last_view_bulletins`, `m`.`last_bulletin_date`, `m`.`display_signatures`, `m`.`display_avatars`, `m`.`parse_smileys`, `m`.`last_email_date`, `m`.`notify_by_default`, `m`.`ignore_list`, `m`.`crypt_key`, `m`.`cp_theme`, `m`.`quick_links`, `m`.`quick_tabs`, `m`.`template_size`, `show_sidebar`, `g`.* FROM (`exp_members` m, `exp_member_groups` g) WHERE `g`.`site_id` = '1' AND `unique_id` = '0fa2981959b79d540edb6591d013e939e2c7e1a3' AND `password` = '22a84209b1a1343b209aa1af0e64342bd494e739' AND m.group_id = g.group_id
Filename: libraries/Session.php
Line Number: 494As a temporary fix, I’ve removed the show_sidebar call from line 472 in Session.php
From This….
{
$select .= ', m.cp_theme, m.quick_links, m.quick_tabs, m.template_size, show_sidebar';
}
To This….
{
$select .= ', m.cp_theme, m.quick_links, m.quick_tabs, m.template_size';
}So, I can now login fine - but obviously the sidebar will not remember the previous state - not such a big deal really, just wanted to post this in case someone was having a similar issue.
J