I've recently begun tooling around with SilverStripe and I like its potential. I've encountered one issue that I can't seem to track down through my own troubleshooting and my forum/net searches haven't turned up any similar problems either. Any insight is greatly appreciated.
The issue is that my site doesn't seem to do anything when I modify the SSViewer::set_theme('tutorial'); line in mysite/_config.php. When I change it to blackcandy or another theme I downloaded to test and run ?flush=1 absolutely nothing happens. The site just chugs along with the default tutorial theme. In addition to flushing the cache I also ran dev/build?flush=1 to rebuild the DB and the same thing happens. I even manually deleted the contents of silverstripe-cache folder and bounced the server, walked away and came back an hour later and still receive the template theme.
I know SilverStripe is picking up changes to mysite/_config.php because if I type in bogus DB info I'll get the expected errors but for some reason it just seems to chug along as if nothing changed when I attempt to modify the set_theme() setting.
Here's a snippet of my mysite/_config.php just to make sure I'm not crazy:
MySQLDatabase::set_connection_charset('utf8'); // This line set's the current theme. More themes can be // downloaded from http://www.silverstripe.org/themes/ SSViewer::set_theme('blackcandy'); // Set the site locale i18n::set_locale('en_US');
Again, any help is much appreciated, thanks!