21287 Posts in 5733 Topics by 2603 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 850 Views |
-
V 2.3.3 admin errors

5 August 2009 at 4:19am Last edited: 5 August 2009 4:43am
Hi,
working on a new site and usingthe 2.3.3 base install, but i'm having to revert to the 2.3.2 due to admin login not working. each time it has a different responce (cycles through 3 / 4 different modes)
most the time it does nothing and stays on a blank page, but sometimes... i get the following error:
[Warning] None of these templates can be found: Security_Security.ss, Security.ss
POST /Security/Security/LoginFormLine 175 in /home/vndcgfmq/clients/healthcareestate.co.uk/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: Security_Security.ss, Security.ss
Line 175 of SSViewer.php
* SSViewer->__construct(Array)
Line 308 of Controller.php
* Controller->getViewer(Security)
Line 175 of Controller.php
* Controller->handleAction(HTTPRequest)
Line 129 of RequestHandler.php
* RequestHandler->handleRequest(HTTPRequest)
Line 122 of Controller.php
* Controller->handleRequest(HTTPRequest)
Line 277 of Director.php
* Director::handleRequest(HTTPRequest,Session)
Line 121 of Director.php
* Director::direct(/Security/Security/LoginForm)
Line 118 of main.phpalso getting this with 2.3.2 for somereason within the template im designing... hmm
just as an FYI. thanks
-
Re: V 2.3.3 admin errors

29 October 2009 at 6:49am
As I just descovered, this error occurs when you forget the <% base_tag %> in themes/YourTheme/templates/Page.ss
should go just after the <title>.Hope that helps someone!
-
Re: V 2.3.3 admin errors

9 January 2010 at 2:46am
Glad I found this thread
Thanks Aram.
Maybe it's a good idea to stress this in the first tutorial, where there's info about the base tag? http://doc.silverstripe.org/doku.php?id=tutorial:1-building-a-basic-site#templates
| 850 Views | ||
|
Page:
1
|
Go to Top |



