1259 Posts in 348 Topics by 484 members
| Go to End | ||
| Author | Topic: | 5573 Views |
-
Re: Problem with installing a new theme

23 March 2010 at 12:08pm
Hi there,
Im new to cms all together, I have installed the 2.3.7 version and downloaded the paddygreen theme to have a play round with.
I have followed silverstripes instructions about going into the mysite/_config.php and changing SSViewer::set_theme('blackcandy'); to the following SSViewer::set_theme('paddygreen'); when i do this i get loads of issuse i use wamp at the moment and dont know if its me or if its that the paddygreen theme dont work on the 2.3.7 version [please look below and if you can help id appreciate it i can be contacted on james_carty@hotmail.co.uk
[Warning] None of these templates can be found: Page.ss, ContentController.ss
GET /silverstripe-v2.3.7/?stage=StageLine 175 in C:\wamp\www\silverstripe-v2.3.7\sapphire\core\SSViewer.php
Source166 $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 existsTrace
* 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.phpRegards
James Carty
-
Re: Problem with installing a new theme

23 March 2010 at 1:11pm
Welcome James to the forums. Have you followed the instructions listed in this forum and trying to refresh the cache by visiting yoursite.com?flush=1
-
Re: Problem with installing a new theme

24 March 2010 at 7:34am Last edited: 24 March 2010 7:35am
Hi willr
I tried that last night and it wouldnt worked but thought id try it again and for some reason it works now but hey never mind these things are here to try us lol.
Cheers ill look at some other stuff now on the website
-
Re: Problem with installing a new theme

22 May 2010 at 12:14am Last edited: 22 May 2010 12:16am
I have the same problem with the Blog-module. (blog 0.3.0)
The:
276 public static function getTemplateContent($identifier) {
277 return file_get_contents(SSViewer::getTemplateFile($identifier));I was wondering what, in the theme, sets of this bug? I'm using a custom theme by another firm and wouldn't really like to patch core files since I'm an external.
Just wondering, they probably won't upgrade to 2.4 until mid-fall.
-
Re: Problem with installing a new theme

22 May 2010 at 10:42am
I think this issue is called by including a file that doesn't exist - go through your theme and remove as much as you can and it should work. By removing / putting back code in the ss files you should be able to track down what lines causing the issue.
| 5573 Views | ||
| Go to Top |



