Jump to:

1131 Posts in 1965 Topics by 402 members

Upgrading SilverStripe

SilverStripe Forums » Upgrading SilverStripe » Upgrade from 2.3.x to 2.4.0

Ask questions about upgrading SilverStripe to the latest version.

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

Page: 1 2
Go to End
Author Topic: 3699 Views
  • ajshort
    Avatar
    Community Member
    244 Posts

    Re: Upgrade from 2.3.x to 2.4.0 Link to this post

    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.

  • drobinson
    Avatar
    Community Member
    2 Posts

    Re: Upgrade from 2.3.x to 2.4.0 Link to this post

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

  • Mario...
    Avatar
    Community Member
    14 Posts

    Re: Upgrade from 2.3.x to 2.4.0 Link to this post

    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.

    3699 Views
Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.