Error when using the tag for ccuser for protected content
Posted: Wed Oct 07, 2015 7:01 pm
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
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