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?
Igor Mihaljko
Hotspots supporter
Accepted Answer Pending Moderation
0
Votes
Undo
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
0
Votes
Undo
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
0
Votes
Undo
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
0
Votes
Undo
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
Igor Mihaljko
Hotspots supporter
Accepted Answer Pending Moderation
0
Votes
Undo
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
0
Votes
Undo
I have added a testlink (see sitedetails)
  1. more than a month ago
  2. Bugs
  3. # 6
Igor Mihaljko
Hotspots supporter
Accepted Answer Pending Moderation
0
Votes
Undo
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
0
Votes
Undo
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
0
Votes
Undo
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
0
Votes
Undo
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
Igor Mihaljko
Hotspots supporter
Accepted Answer Pending Moderation
0
Votes
Undo
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

Checkin QR Code Image Missing and Other Placeholde
Hello. In Matukio Placeholders: 1. The Checkin QR Code Image missing on ticke...
11 Replies
Posted on Sunday, 26 May 2019
Hotspots CB plugin is marked and is not working on
Hi, hotspots CB plugin wont work right. ...
2 Replies
Posted on Wednesday, 10 July 2019
Editing of custom booking form in frontend fails
Hello everyone, When trying to create or edit a custom booking form in the fr...
3 Replies
Posted on Wednesday, 17 July 2019
  • New
    • #Custom Booking Form
    How to download invoices and tickets on frontend?
    Hello. Invoice and Ticket download buttons on the details booking page are redir...
    5 Replies
    Posted on Sunday, 14 July 2019
  • New
  • Email Hotspot Creator
    Hello - Is there an option to email the hotspot creator/owner when the hotspot i...
    8 Replies
    Posted on Thursday, 01 December 2016