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.

Upgrading SilverStripe /

Ask questions about upgrading SilverStripe to the latest version.

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

Upgrade 2.3.3 to 2.3.6 template problems


2 Posts   850 Views


Community Member, 183 Posts

1 March 2010 at 5:16pm

Edited: 01/03/2010 5:18pm

Hi, hope someone can offer me some advice. I just installed a clean copy of SS 2.3.6 onto a development server. Tested using the Blackcandy theme and then updated and uploaded my _config.php file and the theme that I had designed for my client that HAD been working under SS 2.3.3. Fired the site up and got the following screen:


166                $this->chosenTemplates['main'] = $this->chosenTemplates[$templateFolder];
167                unset($this->chosenTemplates[$templateFolder]);
168             }
169          }
171          if(isset($_GET['debug_request'])) Debug::message("Final template selections made: " . var_export($this->chosenTemplates, true));
173       }
175       if(!$this->chosenTemplates) user_error("None of these templates can be found: ". implode(".ss, ", $templateList) . ".ss", E_USER_WARNING);
177       parent::__construct();
178    }
180    /**
181     * Returns true if at least one of the listed templates exists


* None of these templates can be found:,
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

Apparently it's something to do with line 175 - can anybody tell me what the zark is going on?


Community Member, 183 Posts

1 March 2010 at 8:44pm

Upon re-reading my post one thing's pretty obvious - line 175 generates a list of things that Sapphire wants but can't find. Trouble is, I don't know why it wants them at this stage? Weren't they there under 2.3.3? What are they?

Any assistance appreciated!