• Resolved stevennorth

    (@stevennorth)


    I’ve got a 3CX Enterprise license hosted by 3CX and the URL given in the Live Chat is not saved. The URL is https://mydomain.3cx.com.au/callus/#groupname and the WordPress plugin upon save reset it too https://mydomain.3cx.com.au:/callus

    In the video: https://youtu.be/GUqjBWYVHJ8

    None of those options show up, it’s just (insert URL, show on all pages or which page) and it shows up ‘Home’ page twice.

    Then when I go to the page in icognito mode.

    Access to fetch at 'https://mydomain.3cx.com.au/MyPhone/config/callus' from origin 'https://www.mydomain.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.
    mydomain.3cx.com.au/MyPhone/config/callus:1 
            
    Failed to load resource: net::ERR_FAILED
    callus.js,qver=10.0.1.pagespeed.ce.66aQybUn2b.js:48 
            
           TypeError: Failed to fetch
        at cb.init (callus.js,qver=10.0.1.pagespeed.ce.66aQybUn2b.js:48:296845)
        at cb.connectedCallback (callus.js,qver=10.0.1.pagespeed.ce.66aQybUn2b.js:48:296770)
        at callus.js,qver=10.0.1.pagespeed.ce.66aQybUn2b.js:48:297922
        at callus.js,qver=10.0.1.pagespeed.ce.66aQybUn2b.js:48:297953
        at callus.js,qver=10.0.1.pagespeed.ce.66aQybUn2b.js:48:297977
        at callus.js,qver=10.0.1.pagespeed.ce.66aQybUn2b.js:1:189
        at callus.js,qver=10.0.1.pagespeed.ce.66aQybUn2b.js:1:193

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

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author wordpress3cx

    (@wordpress3cx)

    Hello, Steven!

    New LiveChat plugin (10.0.0 and later) now is supported by 3CX Startup and on-premise versions starting with Update 4 (will be released in upcoming days).
    It won’t work with Update 3 or earlier.

    Thread Starter stevennorth

    (@stevennorth)

    So the LiveChat won’t work with Hosted 3CX Enterprise installs?

    I’ve updated to version 4 and still won’t load.

    Also getting this error.

    Access to fetch at ‘https://mydomain.3cx.com.au/MyPhone/config/callus’ from origin ‘https://www.mydomain.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.

    • This reply was modified 2 years, 4 months ago by stevennorth.
    • This reply was modified 2 years, 4 months ago by stevennorth.

    Hello, Steven!

    This error means that URL of your web-site in LiveChat config is incorrect.
    As I see, you use domain “https://wwwmydomain.com”, but you should specify the actual domain name of web-site, where you embed LiveChat.

    Thread Starter stevennorth

    (@stevennorth)

    I manually changed the URL when entering it on this forum, thus that isn’t true.
    There’s no config that loads in WP-ADMIN just the URL box.

    Version 9.4.3 works without any issues.

    I meant config in webclient or management console, on the 3cx side.

    Thread Starter stevennorth

    (@stevennorth)

    The URL from the PBX is https://mydomain.3cx.com.au/callus/#extension

    This works for the older 9.4.3 and I get all the settings: https://prnt.sc/hQaOMoBsSDur

    When I enter the same URL into the latest version, it strips the #extension and all I see is this. https://prnt.sc/W-HIB8TLlYxF and unsure why ‘Home’ is listed twice but ok.

    Then from browser console I start getting these errors…

    Access to fetch at ‘https://mydomain.3cx.com.au/MyPhone/config/callus’ from origin ‘https://www.mydomain.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.

    GET https://mydomain.3cx.com.au/MyPhone/config/callus net::ERR_FAILED | `callus.js?ver=10.0.4:48
    init @ callus.js?ver=10.0.4:48
    connectedCallback @ callus.js?ver=10.0.4:48
    (anonymous) @ callus.js?ver=10.0.4:48
    (anonymous) @ callus.js?ver=10.0.4:48
    (anonymous) @ callus.js?ver=10.0.4:48
    (anonymous) @ callus.js?ver=10.0.4:1
    (anonymous) @ callus.js?ver=10.0.4:1

    TypeError: Failed to fetch | `callus.js?ver=10.0.4:48
    at db.init (callus.js?ver=10.0.4:48:300645)
    at db.connectedCallback (callus.js?ver=10.0.4:48:300570)
    at callus.js?ver=10.0.4:48:301722
    at callus.js?ver=10.0.4:48:301753
    at callus.js?ver=10.0.4:48:301777
    at callus.js?ver=10.0.4:1:189
    at callus.js?ver=10.0.4:1:193`

    Good Morning, Steve!

    This URL is from old version of PBX.
    In update 4 (or Startup edition) we made significant changes in live chat.
    For WP plugin version 10.0.* you should use new 3CX Talk URL.
    In Management Console, you can get it in “Messaging -> Live Chat” section.
    For StartUp Edition, live chat configuration is available in “Office Settings -> Voice & Chats” section.

    Thread Starter stevennorth

    (@stevennorth)

    Ok, so I’m using 3CX Enterprise, 18 Update 3 (Build 461)
    In the Messaging > Live Chat that Click2Talk URL is the URL provided earlier.

    The PBX platform itself appears it might need to be upgraded to accommodate the WordPress plugin updates?

    Thread Starter stevennorth

    (@stevennorth)

    Ok, I’ve just updated the PBX system to Version 18.0 Update 4 (Build 955) and that’s when the features turned up and can advise that it is now working.

    Good, thank you for information.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘3CX Live Chat Not Loading’ is closed to new replies.