By Abi on Wednesday, 25 October 2017
Posted in General
Likes 0
Views 664
Votes 0
Hi guys,

After upgrading to Easysocial I'm getting errors when I try to open an existing group, or an existing page.

I don't know if it's because of remnants of previous BETA files



1054
Error: 1054
Unknown column 'global' in 'where clause'
Hm, the new version is already tagged as 2.1.1 and it should already update those columns. I can't seem to login to the site with the provided login credentials. Can you please advise?
·
Wednesday, 25 October 2017 01:18
·
0 Likes
·
0 Votes
·
0 Comments
·
Please add a digit 7 to the end of the password supplied. Yes I installed 2.1.1.
Thank you.
Abi
·
Wednesday, 25 October 2017 04:28
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Abi,

ALTER TABLE `#__social_clusters_categories` ADD `container` tinyint(3) NOT NULL DEFAULT 0;
ALTER TABLE `#__social_clusters_categories` ADD INDEX `idx_parentid` (`parent_id`);
ALTER TABLE `#__social_clusters_categories` ADD `rgt` int(11) unsigned DEFAULT '0';
ALTER TABLE `#__social_clusters_categories` ADD `lft` int(11) unsigned DEFAULT '0';
ALTER TABLE `#__social_clusters_categories` ADD `parent_id` int(11) DEFAULT '0' AFTER `alias`;
ALTER TABLE `#__social_stream_filter` ADD `global` TINYINT(3) NOT NULL DEFAULT '0' AFTER `user_id`;

Replace #__ with your table prefix.
·
Wednesday, 25 October 2017 13:17
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Nick,

Thank you. Unfortunately the following failed with the indicated errors

ALTER TABLE `#__social_clusters_categories` ADD INDEX `idx_parentid` (`parent_id`); #1061 - Duplicate key name 'idx_parentid'

ALTER TABLE `#__social_clusters_categories` ADD `rgt` int(11) unsigned DEFAULT '0'; #1060 - Duplicate column name 'rgt'
ALTER TABLE `#__social_clusters_categories` ADD `lft` int(11) unsigned DEFAULT '0'; #1060 - Duplicate column name 'lft'
ALTER TABLE `#__social_clusters_categories` ADD `parent_id` int(11) DEFAULT '0' AFTER `alias`; #1060 - Duplicate column name 'parent_id'
Abi
·
Thursday, 26 October 2017 00:15
·
0 Likes
·
0 Votes
·
0 Comments
·
I had to recover from a backup from two days earlier, then upgraded. Does that change anything? I attach a screenshot of the table.
Abi
·
Thursday, 26 October 2017 00:21
·
0 Likes
·
0 Votes
·
0 Comments
·
You may actually ignore those warnings if it found duplicate. But to be safe, try running this particular query again,


ALTER TABLE `#__social_stream_filter` ADD `global` TINYINT(3) NOT NULL DEFAULT '0' AFTER `user_id`;
·
Thursday, 26 October 2017 00:38
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you stackideas.
Abi
·
Thursday, 26 October 2017 06:06
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome
·
Thursday, 26 October 2017 09:38
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post