×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Loading comments: XMLHttpRequest error

Loading comments: XMLHttpRequest error 11 years 3 months ago #22623

  • Lennart
  • Lennart's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 22
  • Thank you received: 0
Hi,

I'm running two of your free components at my website ( www.bclandegem.be ), and they are working as expected :)

However, I have a problem with CComment (I run 5.0) in combination with Joomla Caching:

When I hit bclandegem.be/competitie/competitieverslagen/634-b-a#!/ccomment, everything is fine. But when I go to www.bclandegem.be/competitie/competitiev...n/634-b-a#!/ccomment , the comments won't load.

Javascript console:
OPTIONS http://bclandegem.be/index.php?option=com_comment&task=comments.getcomments&format=json&contentid=634&component=com_content Origin http://www.bclandegem.be is not allowed by Access-Control-Allow-Origin. mootools-core.js:164
XMLHttpRequest cannot load http://bclandegem.be/index.php?option=com_comment&task=comments.getcomments&format=json&contentid=634&component=com_content. Origin http://www.bclandegem.be is not allowed by Access-Control-Allow-Origin.

So, I guess that there is a wrong link stored in the Joomla cache. Any solution for this?

It's not a great bug: if you surf to www.bclandegem.be , the link to the comments will be without the 'www' (as stored in the cache) :)

Loading comments: XMLHttpRequest error 11 years 3 months ago #22626

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
  • Page:
  • 1
Time to create page: 0.098 seconds