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

Upgrading to 3.0 beta - Guide


Reply


2 Posts   783 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
simon_w

Forum Moderator, 474 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.