Page 1 of 1

Fatal error: Call to a member function Name()

Posted: Fri Jul 17, 2009 3:27 am
by lex2000
Hi,

My client is getting the following error when clicking the page edit icon in Content > Pages:

Fatal error: Call to a member function Name() on a non-object in /path/to/cmsms/admin/editcontent.php in line 179

I have their user permissions restricted to Editor so they are locked out of all layout and admin privileges. However, when I grant them full perrmissions the error does not occur...the editor opens the page just fine. It's only when their access is restricted that the error happens. I also tried granting them Editor and Designer access but the error still happens. It only works when they have full permissions.

I don't want them to be able to access the Layout or Global Content sections because they've already blown the template out once by pasting content into the template editor area. Now the site is live and attracting clients, so they (and I) cannot afford for some numbskull to inadvertently overwrite the template again.

Has anyone seen this error, and, if so, do you know the solution?

Thanks in advance.

lex

Re: Fatal error: Call to a member function Name()

Posted: Fri Jul 17, 2009 4:30 am
by viebig
cmsms version? system information?

Re: Fatal error: Call to a member function Name()

Posted: Fri Jul 17, 2009 7:29 am
by lex2000
CMSMS version 1.6

When you say "system information" what exactly are you looking for? Local machine info or server info?

Re: Fatal error: Call to a member function Name()

Posted: Fri Jul 17, 2009 3:14 pm
by alby
lex2000 wrote: When you say "system information" what exactly are you looking for? Local machine info or server info?
You have a "View Text Report ..." link

What permissions are checked in that restricted group?

Alby