Still experimenting with our install of SilverStripe 3.0. Now when I try to update a page I get the following message:
Error at Line 568 Framework/Model/MySQLDatabase.php
When I look at the relevant code I see:
function databaseError($msg, $errorLevel = E_USER_ERROR) {
// try to extract and format query
if(preg_match('/Couldn\'t run query: ([^\|]*)\|\s*(.*)/', $msg, $matches)) {
$formatter = new SQLFormatter();
$msg = "Couldn't run query: \n" . $formatter->formatPlain($matches[1]) . "\n\n" . $matches[2];
}
user_error($msg, $errorLevel);
}
Pretty generic error stuff. What gives? Anybody got any pointers for me?