Jump to:

1160 Posts in 2632 Topics by 409 members

Upgrading SilverStripe

SilverStripe Forums » Upgrading SilverStripe » How to upgrade to the latest version?

Ask questions about upgrading SilverStripe to the latest version.

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

Page: 1
Go to End
Author Topic: 1799 Views
  • Rube_25
    Avatar
    Community Member
    36 Posts

    How to upgrade to the latest version? Link to this post

    hello,

    V2.2.2 and I want to upgrade to V2.3.2;

    my question is:
    I have to go step by step with the updates, example:

    V2.2.2 -> V2.3.0 -> V2.3.1 -> V2.3.2

    Or simplemete direct to the latest version?

    thanks
    Rube

  • Willr
    Avatar
    Forum Moderator
    5508 Posts

    Re: How to upgrade to the latest version? Link to this post

    You should be able to go straight to the latest version without any issues.

  • Rube_25
    Avatar
    Community Member
    36 Posts

    Re: How to upgrade to the latest version? Link to this post

    thanks Willr,

       
    I did all steps tutorial http://doc.silverstripe.org/doku.php?id=upgrading,    
    but I get the following error:

    ..
    ..
    ..
    ..
    GET /

    Line 400 in /home/silverstripe/trunk/sapphire/core/model/MySQLDatabase.php
    Source

    391    }
    392    
    393    function databaseError($msg, $errorLevel = E_USER_ERROR) {
    394       // try to extract and format query
    395       if(preg_match('/Couldn\'t run query: ([^\|]*)\|\s*(.*)/', $msg, $matches)) {
    396          $formatter = new SQLFormatter();
    397          $msg = "Couldn't run query: \n" . $formatter->formatPlain($matches[1]) . "\n\n" . $matches[2];
    398       }
    399       
    400       user_error($msg, $errorLevel);
    401    }
    402 }
    403
    404 /**
    405 * A result-set from a MySQL database.
    406 * @package sapphire
    ..
    ..
    ..

    search the forum, I saw many similar problems but I saw no solutions

       
    I hope you can help me ...

    ahhh I forgot , thanks for the reply

    Rube

       
    I feel sorry for my bad English

  • Willr
    Avatar
    Forum Moderator
    5508 Posts

    Re: How to upgrade to the latest version? Link to this post

    Could you post the full error in pastie.org or something similar. The backtraces aren't always useful (as in this case) as it doesn't tell you want query it failed on. If it is a DB thing make sure you have tried doing a site.com/dev/build to rebuild the database

    1799 Views
Page: 1
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.