Page 1 of 1

Problem with FrontEndUsers module

Posted: Mon Nov 10, 2008 8:14 pm
by dapam
Just installed FrontEndUsers module on CMSMS 1.4.1. I created one user group and added one user. Login seems to be fine, but after login and redirection to secured page, it shows "You are not authorized to view this data". The code fragment is here:

Code: Select all

{if $customcontent_loggedin}
  {content}
{else}
  <h3>You are not authorized to view this data</h3>
{/if}
I have also tried:

Code: Select all

{if $ccuser->loggedin()}
  {content}
{else}
  <h3>You are not authorized to view this data</h3>
{/if}
  
But this shows error "Fatal error: Call to a member function loggedin() on a non-object in /var/www/vhosts..." This is only 2 weeks old install, database created from beginning etc. Does anyone have idea, what could be wrong here and do you need any more information?

Re: Problem with FrontEndUsers module

Posted: Mon Nov 24, 2008 10:12 am
by kevinr
I had the same issue.

My fix was to install the latest version of CustomContent - version 1.5

Hope that works for you.