Support » Plugin: 3CX Live Chat and Talk » Javascript errors

  • Resolved ecat

    (@ecat)


    We have installed the 3CX live chat and talk plugin and checked the configuration many times. We have placed the shortcode in a text footer. We see the icon, but it does nothing when pressed and we get javascript errors related to cross site scripting. Don’t know how to fix it but really want to use this plugin. WordPress 5.4.1 and Plugin version 1.6.0. no php errors. We are developing a new site at ccpteam.com/t2020. it will eventually migrate to our production site ccpteam.com. Not sure if that could be related to the problem.
    From Safari:
    Fetch API cannot load https://ccpteam.3cx.us/MyPhone/c2cinfo?c2cid=steven due to access control checks.
    Failed to load resource: Origin https://ccpteam.com is not allowed by Access-Control-Allow-Origin.
    Failed to contact phone service URL. Please check phone system URL parameter and ensure CORS requests are allowed from current domain.From Safari:
    From Chrome:
    Access to fetch at ‘https://ccpteam.3cx.us/MyPhone/c2cinfo?c2cid=steven’ from origin ‘https://ccpteam.com’ has been blocked by CORS policy:
    Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
    If an opaque response serves your needs, set the request’s mode to ‘no-cors’ to fetch the resource with CORS disabled.
    ccpteam.3cx.us/MyPhone/c2cinfo?c2cid=steven:1 Failed to load resource: net::ERR_FAILED
    callus.js?ver=1.5.3:27 Failed to contact phone service URL. Please check phone system URL parameter and ensure CORS requests are allowed from current domain.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.