By marco on Tuesday, 17 March 2015
Posted in General Issues
Replies 11
Likes 0
Views 480
Votes 0
I have a problem with the recordings on the site, after making a test recording I have an error 1146. I do not understand what you mean and what should I do to solve this problem
(Table 'cromaplu_croma.jos_social_privacy' doesn't exist SQL=INSERT INTO `mhd_social_privacy_items` (`privacy_id`, `user_id`, `uid`, `type`, `value`) SELECT `d`.`id` AS `privacy_id`, '462' AS `user_id`, `a`.`id` AS `uid`, `d`.`type`, `d`.`value` FROM `mhd_social_fields` AS `a` LEFT JOIN `mhd_social_fields_steps` AS `b` ON `b`.`id` = `a`.`step_id` LEFT JOIN `mhd_social_apps` AS `c` ON `c`.`id` = `a`.`app_id` LEFT JOIN (select pi.`id`, pi.type, pi.rule, ifnull(pim.`value`, pi.value) as `value` from jos_social_privacy as pi left join jos_social_privacy_map as pim on pi.`id` = pim.`privacy_id` and pim.`utype` = 'profiles' and pim.`uid` = '1' where pi.`type` = 'field') AS `d` ON `d`.`rule` = `c`.`element` WHERE `d`.`type` = 'field' AND `b`.`type` = 'profiles' AND `b`.`uid` = '1' AND `a`.`id` NOT IN (SELECT `e`.`uid` FROM `mhd_social_privacy_items` AS `e` WHERE `e`.`type` = 'field' AND `e`.`user_id` = '462'))
Hi marco ,

Sorry for late reply to this,

May i know how to reproduce this error in your site? Because I've tried to login in your site without hitting any error. Please advise.
·
Wednesday, 18 March 2015 01:20
·
0 Likes
·
0 Votes
·
0 Comments
·
I tried to register a new account and I had that mistake at the end of the account registration
·
Wednesday, 18 March 2015 01:42
·
0 Likes
·
0 Votes
·
0 Comments
·
We encountered this error too with the latest version of EasySocial. It seems as though there are some SQL calls in the /administrator/components/com_easysocial/models/privacy.php file that are hardcoded to use the jos prefix for the table names in some of the queries. This can be corrected by replacing the "jos_" prefix with "#__" prefix where appropriate in that file.
·
Wednesday, 18 March 2015 11:28
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Alex,

Thanks for sharing.

Hi Marco,

Here I have attached to you a file, please download it and put it in your site here: .../administrator/components/com_easysocial/models/privacy.php

Please give this a try and see if this resolves your issue.
Thanks.
·
Wednesday, 18 March 2015 11:56
·
0 Likes
·
0 Votes
·
0 Comments
·
sorry but I speak Italian and translate into English, I did not understand if the change was made, or should I do it myself. translating I can not understand
·
Wednesday, 18 March 2015 19:22
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi marco,

I've checked in your this file JoomlaFOlder/administrator/components/com_easysocial/models/privacy.php , it seems like you already modified as my colleague mentioned that fix in above post thread, can you give it a try?
·
Thursday, 19 March 2015 00:11
·
0 Likes
·
0 Votes
·
0 Comments
·
I have not touched the file, I have not made any changes, ok now I try to make a new recording to see if it still gives me error
·
Thursday, 19 March 2015 01:40
·
0 Likes
·
0 Votes
·
0 Comments
·
I tried again a recording and I always make the same mistake

Error 1146
(Table 'cromaplu_croma.jos_social_privacy' doesn't exist SQL=INSERT INTO `mhd_social_privacy_items` (`privacy_id`, `user_id`, `uid`, `type`, `value`) SELECT `d`.`id` AS `privacy_id`, '463' AS `user_id`, `a`.`id` AS `uid`, `d`.`type`, `d`.`value` FROM `mhd_social_fields` AS `a` LEFT JOIN `mhd_social_fields_steps` AS `b` ON `b`.`id` = `a`.`step_id` LEFT JOIN `mhd_social_apps` AS `c` ON `c`.`id` = `a`.`app_id` LEFT JOIN (select pi.`id`, pi.type, pi.rule, ifnull(pim.`value`, pi.value) as `value` from jos_social_privacy as pi left join jos_social_privacy_map as pim on pi.`id` = pim.`privacy_id` and pim.`utype` = 'profiles' and pim.`uid` = '1' where pi.`type` = 'field') AS `d` ON `d`.`rule` = `c`.`element` WHERE `d`.`type` = 'field' AND `b`.`type` = 'profiles' AND `b`.`uid` = '1' AND `a`.`id` NOT IN (SELECT `e`.`uid` FROM `mhd_social_privacy_items` AS `e` WHERE `e`.`type` = 'field' AND `e`.`user_id` = '463'))

Prova a visitare una delle seguenti pagine

Home Page
·
Thursday, 19 March 2015 01:43
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Marco,

Okay, looks like this is definitely a bug! Someone hardcoded the table name to use "jos" rather than the db prefix specified in Joomla Can you download the attached file and upload it into /administrator/components/com_easysocial/models/ and see if you are hitting similar issues?
·
Thursday, 19 March 2015 02:37
·
0 Likes
·
0 Votes
·
0 Comments
·
it seems that it all worked out with the update of the component
·
Thursday, 19 March 2015 23:41
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Marco,

It seems like your issue has been resolved now. The fix is already included in our new release just now
·
Friday, 20 March 2015 00:06
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post