1. Michele Bottari
  2. Bugs
  3. Tuesday, 25 October 2022
  4.  Subscribe via email
Hi Devs,
we think to have found a bug on CComment 6.1.7.
In particular, it occurs that frontends comments are "occasionally" not visible (https://www.veramente.org/it/component/jcomments/).
We have collect from Firefox Console the following output:


[*] XHRPOSThttps://www.veramente.org/it/component/jcomments/
[HTTP/1.1 404 Not Found 286ms]


POST
https://www.veramente.org/it/component/jcomments/
Stato
404
Not Found
VersioneHTTP/1.1
Trasferito12,53 kB (dim. 12,24 kB)
Referrer Policystrict-origin-when-cross-origin


Cache-Control
no-cache
Connection
Keep-Alive
Content-Type
text/html; charset=UTF-8
Date
Tue, 25 Oct 2022 14:40:53 GMT
Keep-Alive
timeout=5, max=93
Pragma
no-cache
Server
Apache/2.4.38 (Debian)
Transfer-Encoding
chunked
X-Content-Type-Options
nosniff

Accept
*/*
Accept-Encoding
gzip, deflate, br
Accept-Language
en,en-US;q=0.8,it-IT;q=0.5,it;q=0.3
Cache-Control
max-age=0
Connection
keep-alive
Content-Length
62
Content-Type
application/x-www-form-urlencoded
Cookie
b14ffacca0802a798183dcb6d849818e=5dfdms19s01j31t7vfp9hleet0
DNT
1
Host
http://www.veramente.org
If-Modified-Since
Thu, 01 Jan 1970 00:00:00 GMT
Origin
https://www.veramente.org
Referer
https://www.veramente.org/it/notizie/perche-dovremmo-andare-a-votare.html
Sec-Fetch-Dest
empty
Sec-Fetch-Mode
cors
Sec-Fetch-Site
same-origin
User-Agent
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:99.0) Gecko/20100101 Firefox/99.0
XHRPOSThttps://www.veramente.org/it/component/jcomments/
[HTTP/1.1 404 Not Found 219ms]


POST
https://www.veramente.org/it/component/jcomments/
Stato
404
Not Found
VersioneHTTP/1.1
Trasferito12,53 kB (dim. 12,24 kB)
Referrer Policystrict-origin-when-cross-origin


Cache-Control
no-cache
Connection
Keep-Alive
Content-Type
text/html; charset=UTF-8
Date
Tue, 25 Oct 2022 14:40:53 GMT
Keep-Alive
timeout=5, max=94
Pragma
no-cache
Server
Apache/2.4.38 (Debian)
Transfer-Encoding
chunked
X-Content-Type-Options
nosniff

Accept
*/*
Accept-Encoding
gzip, deflate, br
Accept-Language
en,en-US;q=0.8,it-IT;q=0.5,it;q=0.3
Cache-Control
max-age=0
Connection
keep-alive
Content-Length
79
Content-Type
application/x-www-form-urlencoded
Cookie
b14ffacca0802a798183dcb6d849818e=5dfdms19s01j31t7vfp9hleet0
DNT
1
Host
http://www.veramente.org
If-Modified-Since
Thu, 01 Jan 1970 00:00:00 GMT
Origin
https://www.veramente.org
Referer
https://www.veramente.org/it/notizie/perche-dovremmo-andare-a-votare.html
Sec-Fetch-Dest
empty
Sec-Fetch-Mode
cors
Sec-Fetch-Site
same-origin
User-Agent
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:99.0) Gecko/20100101 Firefox/99.0
Uncaught TypeError: jQuery(...).offset() is undefined
<anonymous> https://www.veramente.org/it/notizie/perche-dovremmo-andare-a-votare.html#addcomments:193
jQuery 10
dispatch
handle
add
add
xe
each
each
xe
on
t
<anonymous> https://www.veramente.org/it/notizie/perche-dovremmo-andare-a-votare.html#addcomments:192
jQuery 8
u
fireWith
ready
_
promise
<anonymous>
<anonymous>
<anonymous>
11 perche-dovremmo-andare-a-votare.html:193:49
<anonima> https://www.veramente.org/it/notizie/perche-dovremmo-andare-a-votare.html#addcomments:193
jQuery 10
dispatch
handle
(Asinc.: EventListener.handleEvent)
add
add
xe
each
each
xe
on
t
<anonima> https://www.veramente.org/it/notizie/perche-dovremmo-andare-a-votare.html#addcomments:192
jQuery 8
u
fireWith
ready
_
(Asinc.: EventListener.handleEvent)
promise
<anonima>
<anonima>
<anonima>
Error: Promised response from onMessage listener went out of scope[*]


We are in favour of renewing the professional licence, but we should first find out whether the problem is solvable.
Tell us what we should do please.


Thanks!
Responses (5)
Accepted Answer Pending Moderation
Hi Daniel,
I've found the issue, it seems to be:


header CORS “Access-Control-Allow-Origin” missing.



It seems to be solved, adding to ".htaccess" the following parameters:



<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin 'https://my-domain.example'
</IfModule>


But now the question is:

Is CComment's call to the "Access Control Allow Origin" correct?

thanks again!
  1. more than a month ago
  2. Bugs
  3. # 1
Daniel Dimitrov
Support team
Accepted Answer Pending Moderation
So what is the problem again? I see some javascript errors on the page. And I still see the jcomment error - why don't you remove jcomment from the site if you are not using it?
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. # 2
Accepted Answer Pending Moderation
No any idea?..
  1. more than a month ago
  2. Bugs
  3. # 3
Accepted Answer Pending Moderation
Sorry, I've pointed to an incorrect link! The reason for this error is that we have since the beginning migrated from Jcomment to CComment.
Anyway, the problem remains, do you have any information about this?
This is the right link: https://www.veramente.org/it/notizie/perche-dovremmo-andare-a-votare.html

Thanks!
  1. more than a month ago
  2. Bugs
  3. # 4
Daniel Dimitrov
Support team
Accepted Answer Pending Moderation
our component name is ccomment - the component name in joomla is com_comment and not jcomment. JComment is a different commenting system.

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. # 5
  • Page :
  • 1


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

Last questions

Comment input field is not displayed
If I want to leave a comment on a post, I click on the button and a new page wit...
5 Replies
Posted on Friday, 20 December 2024
  • New
  • HotSpots Pro 6.0.12 crashes on FrontEnd with Conso
    Hi there, Not sure what happened but all of a sudden nothing shows up and giv...
    3 Replies
    Posted on Wednesday, 11 December 2024
    CComment - field - website address
    Hello In previous versions of CComment, it was possible to enable a field in ...
    0 Replies
    Posted on Saturday, 14 December 2024
    Profile image for admin not showing
    Hi, profile image for administrator is not showing in comment. https://www.hu...
    0 Replies
    Posted on Friday, 13 December 2024
    How can I integrate the CComment input field into
    I’ve created com_content and a module for displaying the latest comments, which ...
    3 Replies
    Posted on Friday, 06 December 2024
    • #CComment
    • #comments
    • #module
    • #comments editor
    • #Ccomment Pro
    • #Joomla 5