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
Igor Mihaljko
Hotspots supporter
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
Igor Mihaljko
Hotspots supporter
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

Invisible Re-captcha not working
Hello, Noticed when switching to the invisible Google re-captcha option Hotsp...
8 Replies
Posted on Thursday, 05 September 2019
Gestaffelte Gebühren werden im Export nicht angeze
Hallo Auf meiner Seite habe ich 4 verschiedene Events. Bei 2 habe ich individue...
2 Replies
Posted on Tuesday, 15 October 2019
  • New
  • Download booking does not work
    I tried to download a booking, and got a pdf error. Resulted in error:...
    5 Replies
    Posted on Thursday, 10 October 2019
  • New
    • #2.5
    Where is the Location Image used?
    Hello, When configuring an event location, I can optionally upload a location...
    2 Replies
    Posted on Wednesday, 09 October 2019
  • New
  • Change Map Height for Mobile Devices
    Hi! I would like to know if there is a way to change the height of the map for ...
    24 Replies
    Posted on Friday, 12 December 2014