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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Upgrading SilverStripe /

Ask questions about upgrading SilverStripe to the latest version.

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

Upgrading to 3.0 beta - Guide


Go to End


2 Posts   1779 Views

Avatar
njprrogers

Community Member, 23 Posts

22 March 2012 at 7:24am

Hi,

I'm trying to upgrade my 2.4.2 version of Silverstripe to version 3.0 beta. I'm excited to see how much I need to do to get myself up and running.

I've failed to find any upgrade notes or anything in the changelog to indicate how to go about the upgrade. Is there any information available on how to go about this?

Without guidance, I've just gone ahead and downloaded version 3.0 and replaced the themes folder and my page types etc. (60 of them!). I've taken the config file from 3.0 and added my setup.

Unfortunatlely, I'm getting an error probably caused by a loop.

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 523800 bytes) in /Applications/MAMP/htdocs/SilverStripe3b1/sapphire/dev/Deprecation.php on line 818

I've expanded the memory to a gig, and Deprecation.php only has 180 odd lines so the message is not helping me.

Has anyone gone through this process? Help!

Thanks,

Nick

Avatar
(deleted)

Community Member, 473 Posts

22 March 2012 at 9:30am

This is a known bug caused by using Director::set_dev_servers(), which has been deprecated in favour of _ss_environment.php. It's been deprecated because relying on a user-supplied value for enabling dev mode is somewhat dangerous.