Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Upgrading SilverStripe /

Ask questions about upgrading SilverStripe to the latest version.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Currently on 2.4.7 Wanting to Upgrade to 3.1


Reply


8 Posts   957 Views

Avatar
BigD1214

Community Member, 15 Posts

3 December 2013 at 9:47am

Edited: 03/12/2013 9:54am

Hello, I need some help! I was not the one who installed SilverStripe on my server. I am having trouble upgrading for 2.4.7 to 3.1 I read that all i need to do it update the cms folder and maybe the framework folder. I first just tried the cms and got all sorts of errors. I then noticed that my site is missing the framework folder. Any one out there have any ideas of what i can do or where to start? Thanks so much!

Avatar
Nivanka

Community Member, 398 Posts

5 December 2013 at 5:27am

if you are on 2.4.7 the framework folder is now different.

make sure you delete the old sapphire folder etc too.

also check your server requirements as well.

in many cases I only had to use the mysite folder, and the theme only when i upgraded. and from what you have said it is a hard to give you an accurate answer, if you get any errors / warnings please add them to the thread.

[url]http://doc.silverstripe.org/framework/en/topics/debugging[/url]

this will be a help to debug as well.

Avatar
BigD1214

Community Member, 15 Posts

12 December 2013 at 1:55pm

Ahh I see now, thanks for the tip!

Avatar
BigD1214

Community Member, 15 Posts

26 July 2014 at 8:16am

When I Update the old sappbhire dir to the new framework I now get a siteTree class does not exist in Page.php. Any Ideas?

Avatar
Willr

Forum Moderator, 5513 Posts

26 July 2014 at 11:06pm

Make sure you've got the cms module as well. See http://doc.silverstripe.org/framework/en/changelogs/3.0.0 and http://doc.silverstripe.org/framework/en/changelogs/3.1.0 for more things you'll need to be aware of.

Avatar
BigD1214

Community Member, 15 Posts

29 July 2014 at 4:53am

Edited: 29/07/2014 4:54am

I have the CMS module installed, all I did was swap out the shapphire dir with a new framework dir
Im also getting this warning.
Warning: Unknown class passed as parameter in framework/core/Object.php on line 472

Avatar
BigD1214

Community Member, 15 Posts

29 July 2014 at 5:03am

Willr, My site is very customized. I have lots of code files. A update feels like a must. My site has be compromised by hackers a couple of times. I think its because Im on old version. In this case how would you suggest getting my cms up to date? try just an update or basically start from scratch and build on the new version? The latter is obviously not Ideal. Thanks!

Avatar
Willr

Forum Moderator, 5513 Posts

31 July 2014 at 10:06pm

Yes, and we're not supporting 2.4 after March 2015 so you will need to upgrade at some point.

Building on what you have got should be straight forward. After getting the framework and cms folders updated make sure you have new versions of all the modules as well and reference the changelog for any other information on upgrading.