This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
HI! I have a secured page that requires registration for frontend users. I use Rainlab User plugin. And when Frontend user is logged in and goes to that secured page. It shows 404 error. When backend user also logs in that page works correctly. .
Ok. The page that i have to register to see
title = "Create new issue"
url = "/create-issue"
layout = "dev"
is_hidden = 1
[session]
security = "user"
redirect = "user/sign"
[Issue]
slug = "{{ :slug }}"
postsPerPage = 20
==
{% component issue~'::create' %}
When a registered user opens this page, it works only when backend user also is logged in. When backend user logs out, this page showing 404 error
To isolate the problem, try removing the Issue component and just use static content for the page. If the problem doesn't show up, then Issue component is the problem.
I solved this issue!!!
The problem was with
is_hidden = 1
I turned this attribute off and works. But is this good? What actually this attribute do? Does it hide page as it did? And how backend user is related with this?
Last updated
Hidden pages are accessible only by logged-in back-end users.
{% if this.page.hidden %} <p>Note to other admins: We are currently working on this page.</p> {% endif %}
1-7 of 7