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

How to upgrade to the latest version?


Reply

4 Posts   1807 Views

Avatar
Rube_25

23 July 2009 at 1:47am Community Member, 36 Posts

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

Avatar
Willr

23 July 2009 at 2:57pm Forum Moderator, 5511 Posts

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

Avatar
Rube_25

24 July 2009 at 2:39am (Last edited: 24 July 2009 2:41am), Community Member, 36 Posts

thanks Willr,

   
I did all steps tutorial [url]http://doc.silverstripe.org/doku.php?id=upgrading[/url],    
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

Avatar
Willr

24 July 2009 at 8:55am Forum Moderator, 5511 Posts

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