Integration with captcha doesn't work #10

Closed
opened 2024-02-10 06:20:13 -06:00 by unbranched · 11 comments
unbranched commented 2024-02-10 06:20:13 -06:00 (Migrated from github.com)

The No Captcha reCAPTCHA module is correctly working for registrations, logins, etc.
But the integration with this newsletter module keeps answering me:

"Newsletter : your captcha is wrong. Retry."
No visible prompt appears.

I tried Captcha vEnterprise, v3, v2. Currently using v2 Classic.
I'm on thirtybees 1.4.0 1.5.1, latest modules.

The No Captcha reCAPTCHA module is correctly working for registrations, logins, etc. But the integration with this newsletter module keeps answering me: "Newsletter : your captcha is wrong. Retry." No visible prompt appears. I tried Captcha vEnterprise, v3, v2. Currently using v2 Classic. I'm on thirtybees ~1.4.0~ 1.5.1, latest modules.
getdatakick commented 2024-02-12 08:02:43 -06:00 (Migrated from github.com)

I can't reproduce this, for me captcha is properly displayed.

image

I think that this will be either an issue with some CSS that hides captcha block, and therefore making it impossible to click on it to solve it. Or there may be some javascript error that blocks captcha javascript library to load and initialize captcha html.

I can't reproduce this, for me captcha is properly displayed. ![image](https://github.com/thirtybees/blocknewsletter/assets/34651851/9f670cce-df8e-44bf-b34c-6fe0c582fdea) I think that this will be either an issue with some CSS that hides captcha block, and therefore making it impossible to click on it to solve it. Or there may be some javascript error that blocks captcha javascript library to load and initialize captcha html.
unbranched commented 2024-02-13 03:17:54 -06:00 (Migrated from github.com)

Strange, I'm unable to see it also trying a clean Firefox profile, or using Chrome.
Does it appear to you immediately after loading the page?
I don't see it even in the login page, while it appears without problems under the login password field.

The only error I see in the Firefox console is this:
Screenshot_20240213_095609

Strange, I'm unable to see it also trying a clean Firefox profile, or using Chrome. Does it appear to you immediately after loading the page? I don't see it even in the login page, while it appears without problems under the login password field. The only error I see in the Firefox console is this: ![Screenshot_20240213_095609](https://github.com/thirtybees/blocknewsletter/assets/39440265/70451a55-eb12-4283-b056-b8a543980d46)
getdatakick commented 2024-02-13 03:35:54 -06:00 (Migrated from github.com)

This js error can be the culprit - you are using CCC to build single bundle, so this exception can block the other/subsequent scripts from executing. Script to initialize captcha might never be executed.

Try to disable CCC, moving javascript to bottom, etc., to see if it helps

This js error can be the culprit - you are using CCC to build single bundle, so this exception can block the other/subsequent scripts from executing. Script to initialize captcha might never be executed. Try to disable CCC, moving javascript to bottom, etc., to see if it helps
unbranched commented 2024-02-13 04:09:17 -06:00 (Migrated from github.com)

Excuse me, what's CCC? I'm not good in acronyms.

Excuse me, what's CCC? I'm not good in acronyms.
getdatakick commented 2024-02-13 04:11:04 -06:00 (Migrated from github.com)

image

![image](https://github.com/thirtybees/blocknewsletter/assets/34651851/3476ee3d-8337-484a-ae8b-e2b85e694485)
unbranched commented 2024-02-13 04:18:17 -06:00 (Migrated from github.com)

Ok, disabled all CCC options, cleared the cache with the top page button, still no go.
Now every time I click on the newsletter box, I see this:
Screenshot_20240213_111639

EDIT: Chrome tells more:
Screenshot_20240213_112122

Ok, disabled all CCC options, cleared the cache with the top page button, still no go. Now every time I click on the newsletter box, I see this: ![Screenshot_20240213_111639](https://github.com/thirtybees/blocknewsletter/assets/39440265/f40495a2-6309-436d-9593-53d5bfaf2ea8) EDIT: Chrome tells more: ![Screenshot_20240213_112122](https://github.com/thirtybees/blocknewsletter/assets/39440265/1be8937c-c66d-49ac-9c9d-3b92278313e1)
getdatakick commented 2024-02-13 04:48:04 -06:00 (Migrated from github.com)

this msg_newsl is different bug, I'll file an issue for it.

I just realized that you probably didn't update niara to latest version. Niara contains its own overrides of tpl / js / css files from this module. If you are not on latest version, then either update using core updater, or apply changes manually: github.com/thirtybees/niara@f2cefe3048

this msg_newsl is different bug, I'll file an issue for it. I just realized that you probably didn't update niara to latest version. Niara contains its own overrides of tpl / js / css files from this module. If you are not on latest version, then either update using core updater, or apply changes manually: https://github.com/thirtybees/niara/commit/f2cefe304897d2cd15284b4ca0c8f4416a68cdf2
getdatakick commented 2024-02-13 04:51:25 -06:00 (Migrated from github.com)
Related issue: https://github.com/thirtybees/niara/issues/73
unbranched commented 2024-02-13 04:58:40 -06:00 (Migrated from github.com)

I see my Niara 1.1.0 is from 2019... why core updater doesn't update the theme too?

Edit: "Update community themes" in core updater settings is enabled. In the "Community theme configuration" module the only added thing is the copyright footer text.

I see my Niara 1.1.0 is from 2019... why core updater doesn't update the theme too? Edit: "Update community themes" in core updater settings is enabled. In the "Community theme configuration" module the only added thing is the copyright footer text.
getdatakick commented 2024-02-13 05:26:43 -06:00 (Migrated from github.com)

I've just tested update of community themes on my production server (I didn't do that for few years now because I don't use them), and all changes related to commit github.com/thirtybees/niara@f2cefe3048 were pulled and applied correctly.

I've just tested update of community themes on my production server (I didn't do that for few years now because I don't use them), and all changes related to commit https://github.com/thirtybees/niara/commit/f2cefe304897d2cd15284b4ca0c8f4416a68cdf2 were pulled and applied correctly.
unbranched commented 2024-02-13 05:28:43 -06:00 (Migrated from github.com)

Then I'll check if on server there's something strange or wrong permissions when I have time. Thanks for your help.

Then I'll check if on server there's something strange or wrong permissions when I have time. Thanks for your help.
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-thirtybees/blocknewsletter#10
No description provided.