Jump to:

23490 Posts in 18996 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » V 2.3.3 admin errors

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1
Go to End
Author Topic: 990 Views
  • vivilanco
    Avatar
    Community Member
    19 Posts

    V 2.3.3 admin errors Link to this post

    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/LoginForm

    Line 175 in /home/vndcgfmq/clients/healthcareestate.co.uk/sapphire/core/SSViewer.php
    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: 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.php

    also getting this with 2.3.2 for somereason within the template im designing... hmm

    just as an FYI. thanks

  • Aram
    Avatar
    Community Member
    598 Posts

    Re: V 2.3.3 admin errors Link to this post

    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!

  • dendeffe
    Avatar
    Community Member
    135 Posts

    Re: V 2.3.3 admin errors Link to this post

    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

    990 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.