[solved] Fatal error

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
maryjane
Forum Members
Forum Members
Posts: 29
Joined: Wed Dec 08, 2010 4:56 pm

[solved] Fatal error

Post by maryjane »

I have tried repeatedly to upgrade to the latest CMSMS and I keep going back to my old back up and reloading it. This time, after upgrading, when I go to pages to edit I get this fatal error message:

Fatal error: Call to a member function TemplateId() on a non-object in /home/maryjane/public_html/plugins/function.stylesheet.php on line 56

I contacted my web server and they said it was a problem with the script. I am not familiar with the inner workings of CMSMS so I do not know how to go into the php to change things. Can you help or should I just go back to the old version of CMSMS.

My web site is maryjaneparkerart.com. It looks fine from the public side but from the admin side, I can't edit anything.

Thanks,
Mary Jane
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1973
Joined: Mon Jan 29, 2007 4:47 pm

Re: Fatal error

Post by Jo Morg »

That error means that you need to go to each and every template used by your pages and replace the {stylesheet} tag by {cms_stylesheet}. Check the documentation http://docs.cmsmadesimple.org/.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Fatal error

Post by Rolf »

- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
maryjane
Forum Members
Forum Members
Posts: 29
Joined: Wed Dec 08, 2010 4:56 pm

SOLVED Re: Fatal error

Post by maryjane »

Thanks, that was it.
Mary Jane
Locked

Return to “[locked] Installation, Setup and Upgrade”