By Paquin on Thursday, 05 April 2018
Posted in General Issues
Replies 10
Likes 0
Views 581
Votes 0
Hello
I upgrade our site last week to version to 2.1.9 version of ES. Until then Comment on post were working. After upgrading, it's not !?
Any hint about this weird behaviour ?
Thanks
marie-France
May i know how to replicate this issue on your site?

Because i did tried comment on your site, it seems like it did work correctly.

You can check my video here : http://take.ms/3F5v4
·
Thursday, 05 April 2018 17:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Arlex
Thanks for your quick response.

It's when you are on the Home page ...their is the Easy Social Stream Module after the 3 blocs. In the stream, when you click on comment..nothing happen !
·
Thursday, 05 April 2018 17:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Oh, it seems like this only happen on the stream module, can i have the permission to help you update to next 2.1.10 Easysocial new version?

And can you provide us with your site FTP access as well? If the issue still persists, i need to troubleshoot this issue.
·
Thursday, 05 April 2018 18:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Arlex

I need to follow a protocol for updating ES. I will see with my technical support for a back up and will do the upgrade. Usually, it's going smoothly. I'll come back at you later on.
Thanks
·
Thursday, 05 April 2018 20:32
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Arlex
Unfortunately the upgrade did not solve the issue. And I can not give you access to our server. Is there anything else I could do to help you out ?
Marie-France
·
Thursday, 05 April 2018 22:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for getting back to us.

Hm, that was difficult for us to troubleshoot this issue without access your FTP.

I've tried to duplicated another stream module from your site backend then assign to display all the page under specific module position, but it seems like it doesn't show up on the page.

May i know is there any way i can display another stream module to another page? Because i would like to isolate the issue and see whether it only happen on other page as well.
·
Friday, 06 April 2018 00:01
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi !
Sorry for the delay. It was a busy day today !!
I have created a hidden page where i put the module. The same behaviour is happening.
If you want to have a look, the link to this page will be in the hidden information.
Thanks
Marie-France
·
Friday, 06 April 2018 23:01
·
0 Likes
·
0 Votes
·
0 Comments
·
After troubleshoot this a long hour ago, I still unable to figure out what is the root issue caused this issue which only happen on Stream module.

Based on what i checked, for some reason this stream module doesn't trigger to load this following script on the page :

<script type="text/javascript">


EasySocial.require()
.script('site/comments/frame','site/vendors/lightbox')
.done(function($) {
$('[data-es-comments]').addController('EasySocial.Controller.Comments', {
'attachments': true,
'errorMessage': "Did you forget to write your comments?"
});
});
</script>


Which unable to show the comment form when the user click on that comment link.

I suspect this `modulesanywhere` 3rd party plugin did trigger this load comment script before render the stream module, so Easysocial stream thought that this comment script already loaded at the first time, so when it render the stream module on the page, it will not load again this comment script.

Based on what i see this debug trace log, it rely on this anywhere plugin to render the module on the page.


array(36) {
[0]=>
array(5) {
["file"]=>
string(93) "/data1user/web03/htdocs/components/com_easysocial/themes/wireframe/stream/actions/default.php"
["line"]=>
int(64)
["function"]=>
string(4) "html"
["class"]=>
string(18) "SocialCommentBlock"
["type"]=>
string(2) "->"
}
[1]=>
array(4) {
["file"]=>
string(94) "/data1user/web03/htdocs/administrator/components/com_easysocial/includes/template/template.php"
["line"]=>
int(284)
["args"]=>
array(1) {
[0]=>
string(93) "/data1user/web03/htdocs/components/com_easysocial/themes/wireframe/stream/actions/default.php"
}
["function"]=>
string(7) "include"
}
[2]=>
array(5) {
["file"]=>
string(90) "/data1user/web03/htdocs/administrator/components/com_easysocial/includes/themes/themes.php"
["line"]=>
int(174)
["function"]=>
string(5) "parse"
["class"]=>
string(14) "SocialTemplate"
["type"]=>
string(2) "->"
}
[3]=>
array(5) {
["file"]=>
string(90) "/data1user/web03/htdocs/administrator/components/com_easysocial/includes/stream/stream.php"
["line"]=>
int(2134)
["function"]=>
string(6) "output"
["class"]=>
string(12) "SocialThemes"
["type"]=>
string(2) "->"
}
[4]=>
array(5) {
["file"]=>
string(90) "/data1user/web03/htdocs/administrator/components/com_easysocial/includes/stream/stream.php"
["line"]=>
int(696)
["function"]=>
string(10) "getActions"
["class"]=>
string(12) "SocialStream"
["type"]=>
string(2) "->"
}
[5]=>
array(5) {
["file"]=>
string(90) "/data1user/web03/htdocs/administrator/components/com_easysocial/includes/stream/stream.php"
["line"]=>
int(973)
["function"]=>
string(6) "format"
["class"]=>
string(12) "SocialStream"
["type"]=>
string(2) "->"
}
[6]=>
array(5) {
["file"]=>
string(79) "/data1user/web03/htdocs/modules/mod_easysocial_stream/mod_easysocial_stream.php"
["line"]=>
int(42)
["function"]=>
string(15) "getPublicStream"
["class"]=>
string(12) "SocialStream"
["type"]=>
string(2) "->"
}
[7]=>
array(4) {
["file"]=>
string(61) "/data1user/web03/htdocs/libraries/src/Helper/ModuleHelper.php"
["line"]=>
int(201)
["args"]=>
array(1) {
[0]=>
string(79) "/data1user/web03/htdocs/modules/mod_easysocial_stream/mod_easysocial_stream.php"
}
["function"]=>
string(7) "include"
}
[8]=>
array(5) {
["file"]=>
string(79) "/data1user/web03/htdocs/libraries/src/Document/Renderer/Html/ModuleRenderer.php"
["line"]=>
int(98)
["function"]=>
string(12) "renderModule"
["class"]=>
string(30) "Joomla\CMS\Helper\ModuleHelper"
["type"]=>
string(2) "::"
}
[9]=>
array(5) {
["file"]=>
string(70) "/data1user/web03/htdocs/plugins/system/modulesanywhere/src/Replace.php"
["line"]=>
int(502)
["function"]=>
string(6) "render"
["class"]=>
string(48) "Joomla\CMS\Document\Renderer\Html\ModuleRenderer"
["type"]=>
string(2) "->"
}
[10]=>
array(5) {
["file"]=>
string(70) "/data1user/web03/htdocs/plugins/system/modulesanywhere/src/Replace.php"
["line"]=>
int(293)
["function"]=>
string(13) "processModule"
["class"]=>
string(49) "RegularLabs\Plugin\System\ModulesAnywhere\Replace"
["type"]=>
string(2) "::"
}
[11]=>
array(5) {
["file"]=>
string(70) "/data1user/web03/htdocs/plugins/system/modulesanywhere/src/Replace.php"
["line"]=>
int(194)
["function"]=>
string(12) "processMatch"
["class"]=>
string(49) "RegularLabs\Plugin\System\ModulesAnywhere\Replace"
["type"]=>
string(2) "::"
}
[12]=>
array(5) {
["file"]=>
string(70) "/data1user/web03/htdocs/plugins/system/modulesanywhere/src/Replace.php"
["line"]=>
int(176)
["function"]=>
string(14) "replaceMatches"
["class"]=>
string(49) "RegularLabs\Plugin\System\ModulesAnywhere\Replace"
["type"]=>
string(2) "::"
}
[13]=>
array(5) {
["file"]=>
string(70) "/data1user/web03/htdocs/plugins/system/modulesanywhere/src/Replace.php"
["line"]=>
int(131)
["function"]=>
string(7) "replace"
["class"]=>
string(49) "RegularLabs\Plugin\System\ModulesAnywhere\Replace"
["type"]=>
string(2) "::"
}
[14]=>
array(5) {
["file"]=>
string(69) "/data1user/web03/htdocs/plugins/system/modulesanywhere/src/Helper.php"
["line"]=>
int(81)
["function"]=>
string(14) "processModules"
["class"]=>
string(49) "RegularLabs\Plugin\System\ModulesAnywhere\Replace"
["type"]=>
string(2) "::"
}
[15]=>
array(3) {
["function"]=>
string(14) "processModules"
["class"]=>
string(48) "RegularLabs\Plugin\System\ModulesAnywhere\Helper"
["type"]=>
string(2) "->"
}
[16]=>
array(3) {
["file"]=>
string(61) "/data1user/web03/htdocs/libraries/regularlabs/src/Article.php"
["line"]=>
int(190)
["function"]=>
string(20) "call_user_func_array"
}
[17]=>
array(5) {
["file"]=>
string(61) "/data1user/web03/htdocs/libraries/regularlabs/src/Article.php"
["line"]=>
int(167)
["function"]=>
string(11) "processText"
["class"]=>
string(27) "RegularLabs\Library\Article"
["type"]=>
string(2) "::"
}
[18]=>
array(5) {
["file"]=>
string(69) "/data1user/web03/htdocs/plugins/system/modulesanywhere/src/Helper.php"
["line"]=>
int(31)
["function"]=>
string(7) "process"
["class"]=>
string(27) "RegularLabs\Library\Article"
["type"]=>
string(2) "::"
}
[19]=>
array(3) {
["function"]=>
string(16) "onContentPrepare"
["class"]=>
string(48) "RegularLabs\Plugin\System\ModulesAnywhere\Helper"
["type"]=>
string(2) "->"
}
[20]=>
array(3) {
["file"]=>
string(69) "/data1user/web03/htdocs/plugins/system/modulesanywhere/src/Plugin.php"
["line"]=>
int(97)
["function"]=>
string(20) "call_user_func_array"
}
[21]=>
array(5) {
["file"]=>
string(74) "/data1user/web03/htdocs/plugins/system/modulesanywhere/modulesanywhere.php"
["line"]=>
int(51)
["function"]=>
string(3) "run"
["class"]=>
string(48) "RegularLabs\Plugin\System\ModulesAnywhere\Plugin"
["type"]=>
string(2) "->"
}
[22]=>
array(3) {
["function"]=>
string(16) "onContentPrepare"
["class"]=>
string(24) "PlgSystemModulesAnywhere"
["type"]=>
string(2) "->"
}
[23]=>
array(3) {
["file"]=>
string(56) "/data1user/web03/htdocs/libraries/joomla/event/event.php"
["line"]=>
int(70)
["function"]=>
string(20) "call_user_func_array"
}
[24]=>
array(5) {
["file"]=>
string(61) "/data1user/web03/htdocs/libraries/joomla/event/dispatcher.php"
["line"]=>
int(160)
["function"]=>
string(6) "update"
["class"]=>
string(6) "JEvent"
["type"]=>
string(2) "->"
}
[25]=>
array(5) {
["file"]=>
string(74) "/data1user/web03/htdocs/components/com_content/views/article/view.html.php"
["line"]=>
int(193)
["function"]=>
string(7) "trigger"
["class"]=>
string(16) "JEventDispatcher"
["type"]=>
string(2) "->"
}
[26]=>
array(5) {
["file"]=>
string(71) "/data1user/web03/htdocs/libraries/src/MVC/Controller/BaseController.php"
["line"]=>
int(672)
["function"]=>
string(7) "display"
["class"]=>
string(18) "ContentViewArticle"
["type"]=>
string(2) "->"
}
[27]=>
array(5) {
["file"]=>
string(61) "/data1user/web03/htdocs/components/com_content/controller.php"
["line"]=>
int(113)
["function"]=>
string(7) "display"
["class"]=>
string(40) "Joomla\CMS\MVC\Controller\BaseController"
["type"]=>
string(2) "->"
}
[28]=>
array(5) {
["file"]=>
string(71) "/data1user/web03/htdocs/libraries/src/MVC/Controller/BaseController.php"
["line"]=>
int(710)
["function"]=>
string(7) "display"
["class"]=>
string(17) "ContentController"
["type"]=>
string(2) "->"
}
[29]=>
array(5) {
["file"]=>
string(58) "/data1user/web03/htdocs/components/com_content/content.php"
["line"]=>
int(43)
["function"]=>
string(7) "execute"
["class"]=>
string(40) "Joomla\CMS\MVC\Controller\BaseController"
["type"]=>
string(2) "->"
}
[30]=>
array(4) {
["file"]=>
string(67) "/data1user/web03/htdocs/libraries/src/Component/ComponentHelper.php"
["line"]=>
int(382)
["args"]=>
array(1) {
[0]=>
string(58) "/data1user/web03/htdocs/components/com_content/content.php"
}
["function"]=>
string(12) "require_once"
}
[31]=>
array(5) {
["file"]=>
string(67) "/data1user/web03/htdocs/libraries/src/Component/ComponentHelper.php"
["line"]=>
int(357)
["function"]=>
string(16) "executeComponent"
["class"]=>
string(36) "Joomla\CMS\Component\ComponentHelper"
["type"]=>
string(2) "::"
}
[32]=>
array(5) {
["file"]=>
string(69) "/data1user/web03/htdocs/libraries/src/Application/SiteApplication.php"
["line"]=>
int(194)
["function"]=>
string(15) "renderComponent"
["class"]=>
string(36) "Joomla\CMS\Component\ComponentHelper"
["type"]=>
string(2) "::"
}
[33]=>
array(5) {
["file"]=>
string(69) "/data1user/web03/htdocs/libraries/src/Application/SiteApplication.php"
["line"]=>
int(233)
["function"]=>
string(8) "dispatch"
["class"]=>
string(38) "Joomla\CMS\Application\SiteApplication"
["type"]=>
string(2) "->"
}
[34]=>
array(5) {
["file"]=>
string(68) "/data1user/web03/htdocs/libraries/src/Application/CMSApplication.php"
["line"]=>
int(204)
["function"]=>
string(9) "doExecute"
["class"]=>
string(38) "Joomla\CMS\Application\SiteApplication"
["type"]=>
string(2) "->"
}
[35]=>
array(5) {
["file"]=>
string(33) "/data1user/web03/htdocs/index.php"
["line"]=>
int(49)
["function"]=>
string(7) "execute"
["class"]=>
string(37) "Joomla\CMS\Application\CMSApplication"
["type"]=>
string(2) "->"
}
}


May i know is there a way do not use this anywhere plugin to render stream module on the page? Because i would like to isolate the issue since you unable to provide us with your site FTP server access, it would very very difficult for us to troubleshoot this issue.

By the way, I did applied some temporary fix on this file JoomlaFolder/components/com_easysocial/includes/comment/comment.php so it will always load the comment script on the page without any checking, so that comment form should appear now.

Keep us update whether you can able to provide us with your FTP access or you can render stream module without go through this anywhere plugin.
·
Sunday, 08 April 2018 00:13
·
0 Likes
·
0 Votes
·
0 Comments
·
a million thanks Arlex, I would never have found this issue without your help. I will see if we can disable the plugin or find another way to render our modules in article. I will come back at you as soon as possible.
Warm regards
Marie-France
·
Monday, 09 April 2018 21:24
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome Marie and do keep us updated on this issue.
·
Monday, 09 April 2018 22:58
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post