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

Upgrade from 2.3.x to 2.4.0


Go to End
Reply


11 Posts   3952 Views

Avatar
ajshort

Community Member, 244 Posts

17 February 2010 at 10:59pm

Hopefully all you should need to do is add "SiteTree::enable_nested_urls();" to your _config.php file, and visit yoursite.com/dev/tasks/MigrateSiteTreeLinkingTask. If you have custom code relying on unique URLSegment values or using $URLSegment to generate links some things might break.

Avatar
drobinson

Community Member, 2 Posts

19 February 2010 at 10:05am

Thanks, that was all I needed. Nested URLs are working perfectly.

Avatar
Mario...

Community Member, 14 Posts

20 August 2010 at 11:26pm

Edited: 20/08/2010 11:28pm

I upgraded using this:

mysqldump --opt --user=$user -p$password $oldDatabase -r db.sql
mysql --user=$user -p $newDatabase < db.sql

but get bad characters: å and Å
The site is in Norwegian so the bad characters are : øæåØÆÅ

Mysql command:
show variables like 'char%';
+--------------------------+----------------------------+
| Variable_name | Value |
+--------------------------+----------------------------+
| character_set_client | latin1 |
| character_set_connection | latin1 |
| character_set_database | latin1 |
| character_set_filesystem | binary |
| character_set_results | latin1 |
| character_set_server | latin1 |
| character_set_system | utf8 |
| character_sets_dir | /usr/share/mysql/charsets/ |
+--------------------------+----------------------------+

So I can't upgrade the site and it's driving me nuts trying to figure this out.

Go to Top