General > Support

Window opens in Separate Window

(1/4) > >>

jx12345:
Hi, wondered if anyone might be able to help. I've installed mibew on my local test server and it opens up in the popup/iframe box but when i've installed it on my live server the chat window opens in a separate window. When generating the button I don't have the Use Window box ticked and the generated button code has preferIFrame: true.

Any help much appreciated.

On the servers where the chat won't render in the popup/iframe I seem to get a 404 on cookies-set-permission?rnd=0.214123.. and an error in chat_popup.js

Again any help or pointers greatly appreciated

faf:
Hi,

You didn't specified information about software versions, but I presume, that you're talking about Mibew Messenger 3.5.x and some modern Webkit-based browser.

The short answer: everything works as intended. Mibew Messenger just falls back to window-based chat, because otherwise it will be completely unworkable. The problem is related to "privacy"-related changes to handling of cookies implemented by Google. See the appropriate issue for more info.

jx12345:
Hi,

Many thanks for your response. Apologies for not including software versions.

I'm using Mibew 3.5.2 - the link you included seems to suggest it was fixed in 3.5.0? Perhaps it is not the same issue?

I have two local test machines - Ubuntu 20.04.3 LTS Virtual Machine in Virtual Box on Win10 the other is CentOS 7.9 both running Apache & PHP 7.4.x

Both of these allow the popup\iframe to run find when viewed in the following browsers:

Chrome Version 96.0.4664.45 (Official Build) (64-bit) Win10
Firefox 94.01 (64-bit) Win 10

Firefox 91.03.0esr (64-bit) CentOS 7.9

But the same browsers (and several others) show the live site (A VPS running Ubuntu 20.04.3 LTS, Apache & PHP 7.4) only with the windowed chat

I have also tested on another test VPS (CentOS 7.6, Apache, PHP 7.2) and again it only runs in the windowed chat with the same 404 error on the cookies-set-permission call.

Again any help would be greatly appreciated - we're finding that users are struggling to use it in the windowed chat as they 'lose' it behind the website page and don't know how to get back to it!

Thanks, again,
J

faf:

--- Quote from: jx12345 on November 17, 2021, 02:56:31 PM ---I'm using Mibew 3.5.2 - the link you included seems to suggest it was fixed in 3.5.0? Perhaps it is not the same issue?

--- End quote ---

No, it's the very same issue. I'm afraid you don't get the point. The case when Mibew falls back to window-based mode is not an issue, it's a solution for the issue, because it's the only way for Mibew to be able to work when it's impossible to set cookies in iframe-based mode. And the 404 errors you see is the result of the check of possibility to set a cookie. See the code.



--- Quote from: jx12345 on November 17, 2021, 02:56:31 PM ---Again any help would be greatly appreciated - we're finding that users are struggling to use it in the windowed chat as they 'lose' it behind the website page and don't know how to get back to it!

--- End quote ---

At the moment there are two possible ways:

1. One could use the same domain for Mibew Messenger and the site. They could be used on different subdomains, but the basic domain should be the same. Otherwise cookies in iframe will be treated as third-party and could be blocked in browser due to privacy setting (which is obviously impossible to change from aside) despite being marked as SameSite=None.

2. One could somehow convince users to allow third-party cookies for Mibew Messenger.

jx12345:
Many thanks again for your patience and support


--- Quote ---At the moment there are two possible ways:

1. One could use the same domain for Mibew Messenger and the site. They could be used on different subdomains, but the basic domain should be the same. Otherwise cookies in iframe will be treated as third-party and could be blocked in browser due to privacy setting (which is obviously impossible to change from aside) despite being marked as SameSite=None.
--- End quote ---

But they are on the same domain (or am I still missing something)!?

I appreciate you can't really provide direct support but i have a very basic example that has mibew installed on the same domain as the site just at /mibew and it still reverts back to the windowed chat.

Forgive me if I'm missing something basic here and thanks again for your time.


Navigation

[0] Message Index

[#] Next page

Go to full version