Skip Navigation

[Resolved] My login forms suddenly stopped working

This thread is resolved. Here is a description of the problem and solution.

Problem:

Get 404 error page after login into wewbsite.

Solution:

You need to enable access to your page for those logged-in user, for example:

https://toolset.com/forums/topic/my-login-forms-suddenly-stopped-working/#post-2277169

Relevant Documentation:

This support ticket is created 2 years, 11 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 5 replies, has 2 voices.

Last updated by jennZ 2 years, 11 months ago.

Assisted by: Luo Yang.

Author
Posts
#2274369

I have a couple of different pages where users can log into my site through Toolset. They were working yesterday but seem to have stopped working today. Now they actually seem to crash the site for my users!

I've had a few people testing things for me and first off, the default login page that they get in their initial email doesn't seem to connect the way it should. Second, regardless of which way they log in, they've reported that it gives them a No Results error page, which takes them to the base domain URL, but removes almost all of the navigation in the menu and then makes every page they try to go to afterward a "Page not found" error.

Given this, I tried creating a new user through the form I created in Toolset to create a new user, which it does... but I get the same issue when I use a private window or a different browser and try to log in with that test account. I can't figure out what is happening, as I can't think of anything that was changed between when it WAS working and now. It does work fine when I'm logged in with my admin account, though, it seems like.

The pages I created that have the login forms are hidden link and hidden link

#2274837

Hello,

I assume we are talking about the user form for creating new user in this page:
hidden link

How do you setup the user form and email notification, I suggest you try to follow our document to setup it:
https://toolset.com/course-lesson/creating-forms-for-registering-users/
And email notifications:
https://toolset.com/course-lesson/send-notifications-when-someone-submits-the-form/

If you still need assistance for it, please provide a test site with the same problem, fill below private message box with login details, I need to test and debug it in a live website

#2275037

Sorry, yes, that's where new users are being created. However, the users who are getting redirected are ones that I manually created, so I'll just create notifications through the Toolset form and create them there from now on.

However, that doesn't at all address the fact that the login forms themselves aren't working. No one except me seems to be able to log in, regardless of how their account was created.

#2275849

I suggest you try to follow our document to setup the login form shortcode:
https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#wpv-login-form

If you need more assistance for it, please provide a test site with the same problem, fill below private message box with login details, I need a live website to test and debug, thanks

#2277169

Thanks for the details, I have done below modifications in your website:
Dashboard-> Toolset-> Access control-> Post Types,
In section "Pages", enable "Read" option for user role "Directory User"

Please test again, check if it is fixed.

More help:
https://toolset.com/course-lesson/setting-access-control/

#2277681

Ah, that helped! I don't remember why I activated Pages to be managed by Access Control, but while that role was already allowed to read Pages, turning off Access Control's management completely seems to have worked! Thank you.