After upgrading from CMSMS 2.1.6 to 2.2.2 a member page shows up with no stylesheets attached.
This page is for members to sign in and to show protected content if the member is signed in.
The FrontEndUser module is version 2.4.4.
After signing in, the page is updated with the Welcome message, the link for changing the settings and the link for signing out, but the protected content stays hidden, all that without any styles.
The content block contains de following:
{FrontEndUsers action="default" nocaptcha="1"}
{feu_protect groups="zleden,mleden,bleden"}
Some content to show to the member.
{/feu_protect}
When i remove the protect tags everything shows up with the styles.
The content type for the page is Content.
I very much would appreciate a solution to this problem?
Page with protected content shows up without styles.
Re: Page with protected content shows up without styles.
Enable debug in config file and see if you get an error message
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: Page with protected content shows up without styles.
Opening the page with debug mode on does not give any debug information.
After then signing in the debug is on, with redirecting disabled and no error messages.
After then selecting to redirect to the page this comes up with the Welcome message, the link for changing the settings and the link for signing out, but the protected content stays hidden, all that without any styles.
When the signing in of the member does not pass authentication the page refreshes with only the login form containing the message that the signing in failed because of an invalid user name or password, with the stylesheets applied and with the debug lines without any error messages.
When signing in where the member is already signed in the page refreshes with only the login form containing the message that the user is already logged in, with the stylesheets applied and with the debug lines without any error messages.
After then signing in the debug is on, with redirecting disabled and no error messages.
After then selecting to redirect to the page this comes up with the Welcome message, the link for changing the settings and the link for signing out, but the protected content stays hidden, all that without any styles.
When the signing in of the member does not pass authentication the page refreshes with only the login form containing the message that the signing in failed because of an invalid user name or password, with the stylesheets applied and with the debug lines without any error messages.
When signing in where the member is already signed in the page refreshes with only the login form containing the message that the user is already logged in, with the stylesheets applied and with the debug lines without any error messages.
Re: Page with protected content shows up without styles.
It looks like there's a Smarty issue with this, a fix will be out but in the meantime I used:
as a workaround method.
Code: Select all
{if feu_smarty::is_user_memberof('group1,group2')} [protected content] {/if}
Not getting the answer you need? CMSMS support options
Re: Page with protected content shows up without styles.
Thank you, that solved the problem.