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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Upgrading SilverStripe /

Ask questions about upgrading SilverStripe to the latest version.

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

How to upgrade to the latest version?


Go to End


4 Posts   3282 Views

Avatar
Rube_25

Community Member, 36 Posts

23 July 2009 at 1:47am

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

Forum Moderator, 5523 Posts

23 July 2009 at 2:57pm

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

Avatar
Rube_25

Community Member, 36 Posts

24 July 2009 at 2:39am

Edited: 24/07/2009 2:41am

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

Avatar
Willr

Forum Moderator, 5523 Posts

24 July 2009 at 8:55am

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