Protected page doesn't work when user roles checked

Issues related to forms.
Post Reply
NuWest
 
 
Posts: 8
Joined: Mon Jan 15, 2024 2:34 am

Protected page doesn't work when user roles checked

Post by NuWest »

If I type in the user names in the "allow users" it will work but not just by choosing user roles.
User avatar
Pablo
 
Posts: 23608
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Protected page doesn't work when user roles checked

Post by Pablo »

Where are you in the software?
What are your settings?
Can you please be more specific?

Image
NuWest
 
 
Posts: 8
Joined: Mon Jan 15, 2024 2:34 am

Re: Protected page doesn't work when user roles checked

Post by NuWest »

I'm a novice which is why I love this software. What do you need from me. I'll gladly post it. Thank you for your help.
[imghttps://www.videoguitarlessons.online/images/VID.jpg][/img]
alan_sh
 
 
Posts: 1901
Joined: Tue Jan 01, 2019 5:50 pm

Re: Protected page doesn't work when user roles checked

Post by alan_sh »

You have to get a sample project (.wbs file and any supporting files) which illustrates the issue and then upload that to a file sharing service (e.g. dropbox). Then post a link to that file on this forum so we can download it and try and reproduce your issue.

Make the project as simple as possible with as few files as possible. So if you post a project with 100 pages to illustrate something wrong with just one of them, you probably won't get a sensible answer.

Alan
NuWest
 
 
Posts: 8
Joined: Mon Jan 15, 2024 2:34 am

Re: Protected page doesn't work when user roles checked

Post by NuWest »

Will do. I also tried it again with the allow users and user roles and it didn't work either.
Here's the link https://drive.google.com/drive/folders/ ... sp=sharing
User avatar
Pablo
 
Posts: 23608
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Protected page doesn't work when user roles checked

Post by Pablo »

To be able to help you, I need a DEMO project (.wbs file) so I can see all your settings.
Also, please include a description how to reproduce this problem.

I do not need the complete project because that will only take more time to figure out what you have done.
Basically, I just need a small project with one page and object(s) that are relevant to your question.

For further details about how to share a project file, please see this FAQ:
viewtopic.php?f=10&t=82134
NuWest
 
 
Posts: 8
Joined: Mon Jan 15, 2024 2:34 am

Re: Protected page doesn't work when user roles checked

Post by NuWest »

Ok. Hopefully this is what you need. https://drive.google.com/drive/folders/ ... sp=sharing
User avatar
Pablo
 
Posts: 23608
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Protected page doesn't work when user roles checked

Post by Pablo »

I',m sorry, but I juts need a simple demo project, not the full project.
There is so much content in your project that I have no idea where to start looking.

Please read this:
viewtopic.php?f=10&t=82134
NuWest
 
 
Posts: 8
Joined: Mon Jan 15, 2024 2:34 am

Re: Protected page doesn't work when user roles checked

Post by NuWest »

I'm very sorry. I forgot to delete the unused content. Here it is with no images
https://docs.google.com/document/d/19j2 ... ue&sd=true
User avatar
Pablo
 
Posts: 23608
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Protected page doesn't work when user roles checked

Post by Pablo »

In your test project, I opened the 'test' page.
Then in the properties of the 'protect page' object I choose 'User Roles'
This seems to work correct for me.

What do I need to do to see the problem?
NuWest
 
 
Posts: 8
Joined: Mon Jan 15, 2024 2:34 am

Re: Protected page doesn't work when user roles checked

Post by NuWest »

When I have any of the user roles selected it won't let me in. The demo site is live right now. I have you as an admin. Username is pablo and password is pablo123. I have administrator checked for user roles right now. I can't get in with my sign in or yours. When I uncheck the user roles I can with any. See if it works for you. I've tried it on other machines too. https://www.videoguitarlessons.online/index.html
User avatar
Pablo
 
Posts: 23608
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Protected page doesn't work when user roles checked

Post by Pablo »

It looks like you are using a CSV database?
This option does not support user roles.

This is from the help:
Important: User roles are only available when the database type is set to MYSQL, CSV files do not support user roles.
NuWest
 
 
Posts: 8
Joined: Mon Jan 15, 2024 2:34 am

Re: Protected page doesn't work when user roles checked

Post by NuWest »

Thank you. I guess I need to learn about My SQL. Have a great day.
User avatar
Pablo
 
Posts: 23608
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Protected page doesn't work when user roles checked

Post by Pablo »

Alternatively, you can also use the embedded database option.

https://www.wysiwygwebbuilder.com/login_embedded_db.html
Post Reply