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)
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. # 1
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. # 2
Accepted Answer Pending Moderation
No any idea?..
  1. more than a month ago
  2. Bugs
  3. # 3
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. # 4
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. # 5
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Powered by EasyDiscuss for Joomla!