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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Themes /

Discuss SilverStripe Themes.

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

Trouble to install new theme

Go to End

2 Posts   1309 Views


Community Member, 1 Post

23 February 2014 at 4:17am


Thanks for such a great free script for mobile phone

I have upload and installed through the web browser the SilverStripe-cms-v3.1.2

Working fine

I have tried to change the theme to

I followed the instructions

1. After unzipping your theme download, put the contents of the zip file into your /themes directory in your silverstripe project.


2. To get your theme up and running, you’ll need to change one line of code in the _config.php file. You’ll find the config file in: ./mysite/_config.php:

This would be the code to add SSViewer::set_theme('woody')

this is what i have there


global $project;
$project = 'mysite';

global $databaseConfig;
$databaseConfig = array(
"type" => 'MySQLDatabase',
"server" => 'localhost',
"username" => 'xxxxxxxxxxxx',
"password" => 'xxxxxxxxxxxxx',
"database" => 'xxxxxxxxxxxx',
"path" => '',

// Set the site locale

when i try to make any changes i get this error

Parse error: syntax error, unexpected '(' in /home/usdaso/public_html/jim/mysite/_config.php on line 17

Can you please advise on install or have I missed something

Cheers in advance


Tim Snadden

Community Member, 32 Posts

15 May 2014 at 7:51am

What you have there doesn't have any syntax errors that I can see. However, the error is pretty clear so maybe in the process of putting it into the forum and removing passwords it got changed somehow. In your post you didn't have a semi-colon at the end of the line. Try this:

SSViewer::set_theme('woody'); // <-- note that it ends with a semi-colon