Page 1 of 1

Problem upgrading from 1.12.1 to 2.1.1

Posted: Wed Jan 27, 2016 9:16 am
by mrpowerhouse
I downloaded cmsms-2.1.1-install.zip from the downloads page and installed in on our server. Once I'm on step 9 (Finish), it's telling me to visit our website and the admin page, but I'm encountering errors on both pages.

On the website, I'm getting a "Fatal error: Call to a member function GetConfig() on a non-object in function.stylesheet.php on line 54" error, while accessing the admin page gives me a "Fatal error: Class 'AdminTheme' not found in BrownInkTheme.php on line 19" error.

May I know how I'd be able to fix them? I'm at a loss on how to do so, and I would greatly appreciate all the help I can get.

Thanks in advance.

Re: Problem upgrading from 1.12.1 to 2.1.1

Posted: Wed Jan 27, 2016 9:18 am
by Rolf

Re: Problem upgrading from 1.12.1 to 2.1.1

Posted: Wed Jan 27, 2016 1:36 pm
by mrpowerhouse
Thanks for that.

Is that applicable to the AdminTheme error as well, if I may ask? :)

Re: Problem upgrading from 1.12.1 to 2.1.1

Posted: Wed Jan 27, 2016 4:23 pm
by Rolf
Ohw no I see, you use an third party Admin theme...
Use OneEleven instead!!

Re: Problem upgrading from 1.12.1 to 2.1.1

Posted: Wed Jan 27, 2016 5:09 pm
by mrpowerhouse
Rolf wrote:Ohw no I see, you use an third party Admin theme...
Use OneEleven instead!!
Ohhh, sorry about that. I didn't know.

In any event, I'll figure it out, or I might use OneEleven as you suggested.

Thanks! :)

Re: Problem upgrading from 1.12.1 to 2.1.1

Posted: Thu Jan 28, 2016 2:24 am
by mrpowerhouse
Tried this out and looked for all instances of {stylesheet} on our entire directory and I didn't find any. :(

If it's not much of a hassle, may I know where exactly the theme's template is? That way I can drastically narrow down the files I need to search this text from.

Thanks.

Re: Problem upgrading from 1.12.1 to 2.1.1

Posted: Thu Jan 28, 2016 3:58 pm
by Jo Morg
The templates you need to look for, the ones that might have the {stylesheet} tag, will most likely reside on the database and be accessible through the DesignManager on CMSMS 2.x. They should also be of the Core::Page type, or eventually of the Core::Generic, but less likely. Please read the documentation here.

Re: Problem upgrading from 1.12.1 to 2.1.1

Posted: Thu Jan 28, 2016 6:36 pm
by mrpowerhouse
Jo Morg wrote:The templates you need to look for, the ones that might have the {stylesheet} tag, will most likely reside on the database and be accessible through the DesignManager on CMSMS 2.x. They should also be of the Core::Page type, or eventually of the Core::Generic, but less likely. Please read the documentation here.
Went to design manager and changed the format there to {cms_stylesheet}

You're a lifesaver Jo. Thank you very much! :)