Hi there,
I am upgrading a site from SS3.1.2 to 3.2.1 and i get the following error code: Fatal error: Class 'SiteConfig' not found in ... /cms/code/model/SiteTree.php on line 1152.
Anybody have a clue where to start looking for a solution to this. I could not find anything obvious. This is what my config file looks like
<?php
global $project;
$project = 'mysite';
global $databaseConfig;
$databaseConfig = array(
"type" => 'MySQLDatabase',
"server" => 'xxxxxx',
"username" => 'xxxxx',
"password" => 'xxxxx',
"database" => 'xxxxx',
"path" => '',
);
// Set the site locale
i18n::set_locale('en_GB');
// Set character type
MySQLDatabase::set_connection_charset('utf8');
// Set development mode //
Director::set_environment_type("dev");
// Set the current theme.
SSViewer::set_theme('ss-bootstrap');
// Enable nested URLs for this site (e.g. page/sub-page/)
if(class_exists('SiteTree')) SiteTree::enable_nested_urls();
//Disable Boostrap items
BootstrapForm::set_bootstrap_included(true);
BootstrapForm::set_jquery_included(false);