Topic-icon Unable to register with enabled captcha

Active Subscriptions:

None
1 year 10 months ago - 1 year 10 months ago #68321 by romagromov
Hello!
In JFB configuration Registration Component = JFBconnect
I'm getting users emails, that they can't register.
I tested and I found that registration not working.
After filling all registration fields and pressing Register button - page just reloads with all empty fields.
Then I disabled Captcha in Joomla Users Configuration, and problem was fixed.
It happened today, and was ok before.
Last edit: 1 year 10 months ago by romagromov.
The topic has been locked.
Support Specialist
1 year 10 months ago #68324 by alzander
In your last forum post (and from my test), you have "Automatic Registration" set to "Yes". With automatic registration, there are no registration forms.

Can you let us know what your end goal is? Would you prefer automatic registration or the form-based registration? We'll gladly help with either, but want to make sure we're focusing on what you actually want.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
1 year 10 months ago - 1 year 10 months ago #68327 by romagromov

alzander wrote: In your last forum post (and from my test), you have "Automatic Registration" set to "Yes". With automatic registration, there are no registration forms.

Can you let us know what your end goal is? Would you prefer automatic registration or the form-based registration? We'll gladly help with either, but want to make sure we're focusing on what you actually want.

Thanks,
Alex



 


Now users can log in with Social networks or use the registration form.
Watch this video please directory.audio/images/monopics/2022-11-11_12-02-10.mp4
But I purged the site cache and now the registration form works fine.
But we need to understand the reason why this happened so that it does not happen again.
By the way, in JFB Configuration I have only one Registration Component - JFB.
Watch this video please directory.audio/images/monopics/2022-11-11_12-07-18.mp4

P.S.
Is it possible, that Page Cache plugin is related to this problem?
 
Last edit: 1 year 10 months ago by romagromov.
The topic has been locked.
Support Specialist
1 year 10 months ago #68332 by alzander
Page caching is almost definitely part of the problem. You should not enable page caching on any site where content can change for the same URL, which happens with any site that allows logging in.

Page caching will store the HTML of the page and serve it back up to any other user that requests a page. For items like captchas or login areas that change to show logout, page caching will break that functionality... the HTML stored will be whatever the first user sees and subsequent users will see the same thing (a logout button for the first user will be shown to non-authenticated users, obsolete captcha's will be shown, etc).

Please disable page caching and test further to let us know if you still have problems.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
1 year 10 months ago - 1 year 10 months ago #68337 by romagromov
Ok, I disabled Page Cache for com_users and it fixed problem.
1 .But it's not clear to me.
In JFB Configuration I have only one Registration Component - JFB.
But in fact, in frontend com_users uses.


2. New problem. Unable to login.Now I can't login.
After using social login page reloads to me as guest (not logged).
I excluded com_users, com_jfbconnect, login module have set no caching.
What else I should to do?Video - directory.audio/images/monopics/2022-11-14_23-00-44.mp4
Last edit: 1 year 10 months ago by romagromov.
The topic has been locked.
Support Specialist
1 year 10 months ago #68343 by alzander
I'm sorry for the delayed response.

First, please test with caching entirely disabled to see if things work. If so, then you can start re-enabling cache for components that may need it. Joomla is very interconnected, so disabling cache for just specific components makes it difficult to know if caching is still part of the problem.

Next, after you disable the cache, please make sure you clear your browser history/cache as well. Once the browser is told to cache something, it will remain cached, even if the web server no longer says to cache it.

Finally, try testing from multiple browsers, especially ones you don't use often. That helps ensure there's nothing previously cached.

I just tried logging in with Facebook and didn't encounter any issues, so I'm not sure what the issue would be beyond caching. Please try again with the settings recommended above and let us know if you still have issues.

Thanks,
Alex
The topic has been locked.