1. Astrid van Eerd
  2. Bugs
  3. Monday, 21 January 2019
  4.  Subscribe via email
When trying to post comment, this error appears in Firefox console:

TypeError: e.commentsById[o.parentid] is undefined

in

8e12eb270706cd6b2c8483104bf89b54.min.js:51:129664
Accepted Answer Pending Moderation
0
Votes
Undo
Hi,

please provide URL to the page where we can see this issue so we can check it out
Please if you use our extensions be so kind and review them at JED
Matukio | Hotspots Pro | CComment Pro
  1. more than a month ago
  2. Bugs
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Normally it is set to registered only, but changed options temporary.
https://bit.ly/2R594Cm
  1. more than a month ago
  2. Bugs
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Hi,

do you have any kind of caching enabled on your website?
Please if you use our extensions be so kind and review them at JED
Matukio | Hotspots Pro | CComment Pro
  1. more than a month ago
  2. Bugs
  3. # 3
Daniel Dimitrov
Support team
Accepted Answer Pending Moderation
0
Votes
Undo
Hey Astrid,
Can you go in the settings to the tempalte tab and disable minify and merge. This would output the js file as they are and we could get a better idea from where exactly in the code the error is coming.

Regards,
Daniel
Please if you use our extensions be so kind and review them at JED
Matukio | Hotspots Pro | CComment Pro
  1. more than a month ago
  2. Bugs
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
Disabled minify.
And fyi: no caching enabled.

Sorry for the late reply but I'm not receiving email notification of replies.
  1. more than a month ago
  2. Bugs
  3. # 5
Daniel Dimitrov
Support team
Accepted Answer Pending Moderation
0
Votes
Undo
Ok, I think I know what is going on, but you have to figure out what you've turned on your site that does this.

When we send an ajax request to save the comment - the response instead of a json with the comment is:


<html>
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="/https://www.googletagmanager.com/gtag/js?id=xxxx"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'xxxx', { 'anonymize_ip': true });
</script>


<title>
Welkom op de nieuwe website van Bergen Limburg Online
</title>

<style>
body{
background: #fff;
}
* { font-family: verdana; font-size: 18pt; COLOR: #235E08; }
b { font-weight: bold; }
table { width: 100%; height: 100%; border: none;}
td { text-align: center; padding: 25;}

</style>
</head>
<body>
<center>
<table>
<tr><td><p>Hier komt binnenkort de nieuwe website van<br>
Bergen Limburg Online
</p></td></tr>
<tr><td><img src="/xxxx.png"></td></tr>
</table>
</center>
</body>

</html>



Are you using a google analytics plugin? Can yuo disable it and see if it works afterwards. This is an html response and it shouldn't be there. This shouldn't be triggered when we request a json response.

Regards,
Daniel
Please if you use our extensions be so kind and review them at JED
Matukio | Hotspots Pro | CComment Pro
  1. more than a month ago
  2. Bugs
  3. # 6
Accepted Answer Pending Moderation
0
Votes
Undo
Where do you see that? I'm using the analytics.js script in my template but no external extension.

<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

ga('create', 'xxxxx', 'auto');
ga('set', 'anonymizeIp', true);
ga('set', 'forceSSL', true);
ga('send', 'pageview');

</script>


And deleting the script from the template doesn't solve it.
  1. more than a month ago
  2. Bugs
  3. # 7
Daniel Dimitrov
Support team
Accepted Answer Pending Moderation
0
Votes
Undo
Do you have an index.html file on the website?
Our request is pointing to
http://yourdomain.com/?option=com_comment&task=comments.getcomments&format=json&lang=en&contentid=91&component=com_content&start=1
this leads to. white page with the text
Hier komt binnenkort de nieuwe website van
Online


and the mentioned analytics code.

If I do a request to index.php?... then I get the expected result. If you do have an index.html - remoe it and it should start to work.
Please if you use our extensions be so kind and review them at JED
Matukio | Hotspots Pro | CComment Pro
  1. more than a month ago
  2. Bugs
  3. # 8
Accepted Answer Pending Moderation
0
Votes
Undo
Yes! That did it! Thanx!
Temporarily renamed index.html and problem was solved. Have to leave it on for now as site is still under construction.
  1. more than a month ago
  2. Bugs
  3. # 9
Daniel Dimitrov
Support team
Accepted Answer Pending Moderation
0
Votes
Undo
better put an .htaccess file there. Despite the fact that / will load the index.html - this doesn't mean that search bots won't try index.php.

If you don't want the site to be indexed, place it behind a .htaccess
Please if you use our extensions be so kind and review them at JED
Matukio | Hotspots Pro | CComment Pro
  1. more than a month ago
  2. Bugs
  3. # 10
Accepted Answer Pending Moderation
0
Votes
Undo
Thx. Will have a look at it.
  1. more than a month ago
  2. Bugs
  3. # 11
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Last questions

Chrome reporting website "Not Secure"
Hi, I purchased CComment Pro on the weekend, having evaluated your free vers...
6 Replies
Posted on Sunday, 24 May 2020
  • New
    • #Not Secure
    • #Chrome
    • #Cookies
    After importing html tags
    Hi Devs! I've just imported some comments from Jcomments, all fine except for m...
    2 Replies
    Posted on Wednesday, 06 May 2020
    field map check boxes
    hello, is it possible to field map a check box from mailchimp in the user plugi...
    1 Replies
    Posted on Saturday, 23 May 2020
  • New
    • #Mailchimp
    • #mapping
    • #checkboxes
    Hotspot not showing points of interest/ icons from
    Hi I have a problem when trying to use the hotspot feature to show icons from M...
    2 Replies
    Posted on Tuesday, 19 May 2020
    "Loading data..." in the sidebar if any
    Not sure if this is a bug, but didn't know where else to post it... We have a...
    5 Replies
    Posted on Tuesday, 12 May 2020