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

Hotspots Maps No Longer Display
http://www.tampabayboater.com/resources/tampa-bay-maps/boat-ramps & http://www.t...
3 Replies
Posted on Wednesday, 10 July 2019
  • New
  • Hotspots CB plugin is marked and is not working on
    Hi, hotspots CB plugin wont work right. ...
    1 Replies
    Posted on Wednesday, 10 July 2019
  • New
  • Select Fields element not saving
    Select Fields are not being saved when information is entered on the front and b...
    2 Replies
    Posted on Sunday, 14 July 2019
  • Resolved
  • New
  • Help me understand Booked Places
    I'm not sure how Booked Places work. Is this the number of tickets purchased? Fo...
    2 Replies
    Posted on Sunday, 14 July 2019
  • New
  • How to download invoices and tickets on frontend?
    Hello. Invoice and Ticket download buttons on the details booking page are redir...
    2 Replies
    Posted on Sunday, 14 July 2019
  • New