I get the following error when going to a page that is restricted on login using the {if !$ccuser->loggedin()}{redirect_page page='login'}{/if} call.
Fatal error: Call to a member function loggedin() on a non-object in /home3/execdirector/public_html/upgrade/lib/smarty/sysplugins/smarty_internal_templatebase.php(165) : eval()'d code on line 29
When i remove the {if !$ccuser->loggedin()}{redirect_page page='login'}{/if} code from the template page, it loads the page fine... but does not require them to be logged in.
Any help with this?
I am running the newest CMSMS 2.01.1 This was not happening prior to installing the update.
Thanks
Error when using the tag for ccuser for protected content
-
- Forum Members
- Posts: 41
- Joined: Sat Sep 15, 2012 9:12 pm
Re: Error when using the tag for ccuser for protected conten
Read the changelog and release notes of Frontend Users module in the forge (starting from 1.26)
Obviously you should read those before upgrading.
Obviously you should read those before upgrading.
-
- Forum Members
- Posts: 41
- Joined: Sat Sep 15, 2012 9:12 pm
Re: Error when using the tag for ccuser for protected conten
Excellent, thanks... This works beautifully...
I need to remember to read the change log...
I need to remember to read the change log...