1. Bert
  2. Bugs
  3. Saturday, 29 December 2018
  4.  Subscribe via email
I installed 6.0.6 core on joomla 3.9 running on a test environment in xampp with Apache/2.4.37 (Win32) OpenSSL/1.1.1a PHP/7.3.0 cache disabled.

I did a clean install. of the com and dutch language pack
Activated ccomments for two categories and for registered users.
Tested this and i can enter a comment, but when i press send the button store appears if i press that nothing happens.
When i then go to the backend i can see the message two times (for each button press). I can see it the status is published.
When i go back to the category (showing all articles in for that category) i can see that the article has two comments, but when i click on the article i see 0 comments.

When i edit the comment in the backend:
the content_id is the correct article_id
The parent id is -1 (no idea what this refers to)
the IP shows as ::1 (probably due to local setup, but changing to something real does not solve the issue)

Any idea what might be wrong?
Responses (11)
Accepted Answer Pending Moderation
Hi,

please check your browser console to see if there are some errors visible

Also, please set Error reporting to the Maximum level in the Joomla global configuration so you can see if there are some PHP errors visible on the article page when you hit comment submit
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
Hi,

In the console i indeed see an error as soon as I enter the comment box or press the new comment button.
Error is: TypeError: i.find(...)[0] is undefined

i refers to:
http://localhost/media/com_comment/cache/8e12eb270706cd6b2c8483104bf89b54.min.js:5:12212

which is this:

* Vue.js v2.5.17
* (c) 2014-2018 Evan You
* Released under the MIT License.
  1. more than a month ago
  2. Bugs
  3. # 2
Accepted Answer Pending Moderation
update.

I do not get an error on the console when i disable the system debugging.
So the error is more related to the enable debugging.
I do not get php errors which are logged by the way with the error reporting at maximum level
  1. more than a month ago
  2. Bugs
  3. # 3
Accepted Answer Pending Moderation
Here is the apache log where I notice some things which might help:

::1 - - [29/Dec/2018:18:04:56 +0100] "GET /localfolder/http://index.php/activiteiten-archief/activiteiten-2017/163-fun-zweef-wedstrijd-2017 HTTP/1.1" 200 35216 "http://localhost/localfolder/index.php/activiteiten-archief/activiteiten-2017" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0"
::1 - - [29/Dec/2018:18:04:57 +0100] "GET /localfolder/media/com_comment/templates/default/css/bootstrap.css HTTP/1.1" 200 10631 "http://localhost/localfolder/index.php/activiteiten-archief/activiteiten-2017/163-fun-zweef-wedstrijd-2017" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0"
::1 - - [29/Dec/2018:18:04:57 +0100] "GET /localfolder/media/com_comment/templates/default/css/style.css HTTP/1.1" 200 3449 "http://localhost/localfolder/index.php/activiteiten-archief/activiteiten-2017/163-fun-zweef-wedstrijd-2017" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0"
::1 - - [29/Dec/2018:18:04:57 +0100] "GET /localfolder/media/lib_compojoom/css/jquery.fileupload-ui.css HTTP/1.1" 200 988 "http://localhost/localfolder/index.php/activiteiten-archief/activiteiten-2017/163-fun-zweef-wedstrijd-2017" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0"
::1 - - [29/Dec/2018:18:04:57 +0100] "GET /localfolder/media/lib_compojoom/third/galleria/themes/compojoom/galleria.compojoom.css HTTP/1.1" 200 7433 "http://localhost/localfolder/index.php/activiteiten-archief/activiteiten-2017/163-fun-zweef-wedstrijd-2017" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0"
::1 - - [29/Dec/2018:18:04:57 +0100] "GET /localfolder/media/lib_compojoom/css/jquery.fileupload.css HTTP/1.1" 200 1804 "http://localhost/localfolder/index.php/activiteiten-archief/activiteiten-2017/163-fun-zweef-wedstrijd-2017" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0"
::1 - - [29/Dec/2018:18:04:57 +0100] "GET /localfolder/media/lib_compojoom/third/polyfills/assign.js HTTP/1.1" 200 693 "http://localhost/localfolder/index.php/activiteiten-archief/activiteiten-2017/163-fun-zweef-wedstrijd-2017" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0"
::1 - - [29/Dec/2018:18:04:57 +0100] "GET /localfolder/media/lib_compojoom/third/polyfills/promise.js HTTP/1.1" 304 - "http://localhost/localfolder/index.php/activiteiten-archief/activiteiten-2017/163-fun-zweef-wedstrijd-2017" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0"
::1 - - [29/Dec/2018:18:04:57 +0100] "GET /localfolder/media/com_comment/js/vendor/sceditor/themes/compojoom.css HTTP/1.1" 200 18343 "http://localhost/localfolder/index.php/activiteiten-archief/activiteiten-2017/163-fun-zweef-wedstrijd-2017" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0"
::1 - - [29/Dec/2018:18:04:57 +0100] "GET /localfolder/images/banners/localfolderbanner.gif HTTP/1.1" 404 1339 "http://localhost/localfolder/index.php/activiteiten-archief/activiteiten-2017/163-fun-zweef-wedstrijd-2017" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0"

Unknown http result code:
::1 - - [29/Dec/2018:18:04:57 +0100] "GET /localfolder/media/com_comment/cache/8e12eb270706cd6b2c8483104bf89b54.min.js HTTP/1.1" 304 - "http://localhost/localfolder/index.php/activiteiten-archief/activiteiten-2017/163-fun-zweef-wedstrijd-2017" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0"
::1 - - [29/Dec/2018:18:04:57 +0100] "GET /localfolder/media/com_comment/images/noavatar.png HTTP/1.1" 200 2704 "http://localhost/localfolder/index.php/activiteiten-archief/activiteiten-2017/163-fun-zweef-wedstrijd-2017" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0"
::1 - - [29/Dec/2018:18:04:57 +0100] "GET /localfolder/?option=com_comment&task=comments.getcomments&format=json&lang=en&contentid=163&component=com_content&start=1 HTTP/1.1" 200 1219 "http://localhost/localfolder/index.php/activiteiten-archief/activiteiten-2017/163-fun-zweef-wedstrijd-2017" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0"

localfolder is missing (i manually made this directory to see if this was the cause (hence the result code 200. previously this was 404, so this is a small bug)
::1 - - [29/Dec/2018:18:05:02 +0100] "GET /media/com_comment/js/vendor/sceditor/jquery.sceditor.default.min.css HTTP/1.1" 200 927 "http://localhost/localfolder/index.php/activiteiten-archief/activiteiten-2017/163-fun-zweef-wedstrijd-2017" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0"
::1 - - [29/Dec/2018:18:05:06 +0100] "POST /localfolder/?option=com_comment&task=comment.insert&format=json&42da64595584c517d0f2723bffc2b66e=1 HTTP/1.1" 200 896 "http://localhost/localfolder/index.php/activiteiten-archief/activiteiten-2017/163-fun-zweef-wedstrijd-2017" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0"
  1. more than a month ago
  2. Bugs
  3. # 4
Accepted Answer Pending Moderation
Hi,

please put your site somewhere on a live server and see if this issue will be present. In that case, we would be able to debug it. We can't solve something to which we don't have access

Thank you for understanding!
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. # 5
Accepted Answer Pending Moderation
I have added a testlink (see sitedetails)
  1. more than a month ago
  2. Bugs
  3. # 6
Accepted Answer Pending Moderation
Hi,

can you tell me what happens if you disable the search module at the top of the page?
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. # 7
Accepted Answer Pending Moderation
Hi,
No difference. Exactly the same.
Br,
Bert
  1. more than a month ago
  2. Bugs
  3. # 8
Daniel Dimitrov
Support team
Accepted Answer Pending Moderation
Hey Bert,
You have some PHP warnings in the ajax response. If you go to your joomla global config and set error reporting to none - it should work.

The problem is your php version 7.3. There are few things that are incompatible. And in your case this is the warning that is triggered

Continue Targeting Switch issues Warning ¶

continue statements targeting switch control flow structures will now generate a warning. In PHP such continue statements are equivalent to break, while they behave as continue 2 in other languages.

http://php.net/manual/en/migration73.incompatible.php

I'll have to look into our code to determine how we should handle this. For now this is just a warning and shouldn't change anything in the functionality of ccomment. Just disable warnings in the global config and you should be good to go.

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. # 9
Accepted Answer Pending Moderation
Hi,

Thanks this indeed solved the issue, I did indeed also notice the same at "Post-installation Messages for Joomla CMS".
Thanks for the support and happy new year to the team.

Br,
Bert
  1. more than a month ago
  2. Bugs
  3. # 10
Accepted Answer Pending Moderation
Hi Bert,

I am glad that Daniel's tip fixed the issue on your side

Happy new year to you too!
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. # 11
  • Page :
  • 1


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

Last questions

Language parameter in the link to the comment
Hello. 1) I have a multilingual website (3 languages). If someone added a comme...
1 Replies
Posted on Saturday, 06 April 2024
categories icon in header
Hi! I saw this in the promo, but I can't find how to set it up. https://compo...
0 Replies
Posted on Monday, 22 April 2024
  • New
    • #style
    • #Categories
    Questions on new installation...
    Working on getting this set up... https://eastend2024.joepolecheck.com/rumma...
    3 Replies
    Posted on Wednesday, 17 April 2024
  • Resolved
  • New
  • 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
  • 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