-
- 149 Posts
Local Environment
OX 10.6.6
MAMP Pro 1.94
Apache
PHP : 5.2.13
MySQL : 5.1.44
Login : 1.5.2
Modx : Revolution 2.0.7 traditional
loginResourceId : id 19 (protected)
logoutResourceId : id 4 (unprotected )
--------------
Live Environment
Linux
Apache 2.2.17
PHP : 5.2.14
MySQL : 5.0.91-community
Modx : Revolution 2.0.7 traditional
Login : 1.5.2
loginResourceId : id 19 (protected)
logoutResourceId : id 4 (unprotected )
Snippet : [[!Login? &loginResourceId=`19` &logoutResourceId=`4` &tplType=`modChunk` &loginTpl=`loginRdaTpl`]]
I want to redirect the web user to the loginResourceId of the login snippet, but that does not work, it always send the user to the «site_start» page. I tried with a unprotected page for the loginResourceId but the same thing, the web user is send to the «site_start» page.
The permissions is OK, because when I log myself as a web user, first I am redirect to the «site_start» page, but I can access the protected page directly by it’s URL. If I am not log as a web user I can not access the protected page directly by it’s URL.
I read all the posts about this subject, tried all the solutions mentioned, but nothing works.
First is this an official bug?
If not, did someone find a solution to this problem?
Thank for your help.
Quote from: jber at Mar 03, 2011, 06:37 AM
My login version is 1.5.2
My snippet call :
[[!Login? &logoutResourceId=`19` &logoutResourceId=`4` &tplType=`modChunk` &loginTpl=`loginRdaTpl`]
loginRdaTpl chunk is simply a copy lgnLoginTpl chunk that came with Login package
You have 2 logoutRecourceId(s) on that example, but it’s correct on the previous post here, so I guess it’s a typo.
Quote from: jber at Feb 14, 2011, 06:54 PM
loginResourceId : id 19 (protected)
logoutResourceId : id 4 (unprotected )
Have you set your user to the restrictive membergroup?
Rico
Genius is one percent inspiration and ninety-nine percent perspiration.
Thomas A. Edison
MODx is great, but knowing how to use it well makes it perfect!
www.virtudraft.com
Security, security, security! |
Indonesian MODx Forum |
MODx Revo's cheatsheets |
MODx Evo's cheatsheets
Author of
Easy 2 Gallery 1.4.x,
PHPTidy,
spieFeed,
FileDownload R,
Upload To Users CMP,
Inherit Template TV,
LexRating,
ExerPlan,
Lingua,
virtuNewsletter,
Grid Class Key,
SmartTag,
prevNext
Maintainter/contributor of
Babel
Because it's hard to follow all topics on the forum, PING ME ON TWITTER
@_goldsky if you need my help.
-
- 149 Posts
Yes, the user is set to a restrictive membergroup.
Rico
Genius is one percent inspiration and ninety-nine percent perspiration.
Thomas A. Edison
MODx is great, but knowing how to use it well makes it perfect!
www.virtudraft.com
Security, security, security! |
Indonesian MODx Forum |
MODx Revo's cheatsheets |
MODx Evo's cheatsheets
Author of
Easy 2 Gallery 1.4.x,
PHPTidy,
spieFeed,
FileDownload R,
Upload To Users CMP,
Inherit Template TV,
LexRating,
ExerPlan,
Lingua,
virtuNewsletter,
Grid Class Key,
SmartTag,
prevNext
Maintainter/contributor of
Babel
Because it's hard to follow all topics on the forum, PING ME ON TWITTER
@_goldsky if you need my help.
-
- 24,544 Posts
Try clearing the site cache manually by deleting the files in the core/cache directory.
-
- 149 Posts
- Yes, I follow all the steps of the Making Member Only Tutorials. (I will check again)
- I clear the site cache manually by deleting all the files in the core/cache, and this has not solved my problem.
Thank