Uncaught Error: RokSprocket Error [model: mosaic, model_action: getPag

Avatar
  • Answered
I am using 3.4.8 Version.
I am using K2 and RokSprocket Mosaic module to showcase work.
When clicking on either Load More or Click on one of the breadcrumb filter buttons, the spinner comes up and stays on the screen.
when inspecting using the Developer tool, the message I get is

XMLHttpRequest cannot load http://www.mydomainname.com/index.php?option=com_roksprocket&task=ajax&format=raw&ItemId=672. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://mydomainname.com' is therefore not allowed access.

I am trying to get the data from the same website. Why would the module think that it's a cross domain issue?

Please help!
Avatar
anonymous
Hello, Thank you for your question regarding this Joomla plugin. I checked on some websites and it seems that even if the location is the same, you need to allow CORS which seems to be pretty complicated. You may want to get RocketTheme to help as it is their plugin or hire an outside developer if you need further assistance with this issue. Best Regards, TJ Edens