Hi there!
Sorry for starting another "theme install problem" thread but my problem doesn't seem to be covered by the existing threads. I am fairly new to Silverstripe and started to run it with MAMP on my Mac. Everything went fine and I was also able to download new themes, put them into the themes folder, change /mysite/_config.php and voila the new theme was shown.
Now I did install Silverstripe on a websever. The installation process went fine and I can use both the tutorial theme and also the blackcandy theme by changing _config.php respectively. If I download another theme though, upload it to the themes folder and change _config.php I will just get a blank site this happens no matter theme I choose apart from 'tutorial' and 'blackcandy'. It even happens if I copy all 'blackcandy' subfolders and files into a new folder calles mytheme in the themes folder and change _config.php respectively. So it is not a problem of the subfolder structure or the .ss files but rather a problem of the server not fiinding the themes in general. This there anything else I need to refresh or change apart from -config.php
Sorry for such a dump question but I am still a newbie in this regard.
Cheers,
Torsten
Just some more information:
I tried to use theme 'BrightSide'
In the themes folder I have the following subfolders as downloaded from the web:
BrightSide1
BrightSide1_blog
BrightSide1_ecommerce
BrightSide1_forum
So I changed /mysite/_config.php to 'BrightSide1' and while Safari just shows a blank site, Firefox returns the following which doesn't mean much to me but hopefully to someone of you:
Source
166 $this->chosenTemplates['main'] = $this->chosenTemplates[$templateFolder];
167 unset($this->chosenTemplates[$templateFolder]);
168 }
169 }
170
171 if(isset($_GET['debug_request'])) Debug::message("Final template selections made: " . var_export($this->chosenTemplates, true));
172
173 }
174
175 if(!$this->chosenTemplates) user_error("None of these templates can be found: ". implode(".ss, ", $templateList) . ".ss", E_USER_WARNING);
176
177 parent::__construct();
178 }
179
180 /**
181 * Returns true if at least one of the listed templates exists
Trace
* None of these templates can be found: Page.ss, ContentController.ss
Line 175 of SSViewer.php
* SSViewer->__construct(Array)
Line 305 of Controller.php
* Controller->getViewer(index)
Line 172 of Controller.php
* Controller->handleAction(HTTPRequest)
Line 129 of RequestHandler.php
* RequestHandler->handleRequest(HTTPRequest)
Line 119 of Controller.php
* Controller->handleRequest(HTTPRequest)
Line 29 of ModelAsController.php
* ModelAsController->handleRequest(HTTPRequest)
Line 44 of RootURLController.php
* RootURLController->handleRequest(HTTPRequest)
Line 280 of Director.php
* Director::handleRequest(HTTPRequest,Session)
Line 121 of Director.php
* Director::direct(/)
Line 118 of main.php