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
Responses (11)
Accepted Answer Pending Moderation
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
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
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
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
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
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
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
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
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
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
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

Changes to the Submission form
Can you make changes to the Submission form? There are a few fields I'd like to ...
0 Replies
Posted on Thursday, 18 April 2024
  • New
  • Questions on new installation...
    Working on getting this set up... https://eastend2024.joepolecheck.com/rumma...
    2 Replies
    Posted on Wednesday, 17 April 2024
  • New
  • Error received? Class "XMLReader" not fo
    Just installed the Pro version of Hotspots, but am getting an error when I try t...
    1 Replies
    Posted on Wednesday, 17 April 2024
  • Resolved
  • New
  • Links aus Veranstaltungsübersicht funktionieren ni
    Nach der Migration von Joomla 3.10 auf Joomla 5.0.3 treten folgende Probleme auf...
    2 Replies
    Posted on Monday, 08 April 2024
    Custom Hotspot Marker fails to load
    I just updated from Joomla 3 to Joomla 4.3.4 and Hotspots 6.0.12. I decided to e...
    0 Replies
    Posted on Tuesday, 09 April 2024