Jump to:

4873 Posts in 7127 Topics by 1471 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Cant log in to admin

Getting SilverStripe up and running on your computer and on your web server.

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

Page: 1
Go to End
Author Topic: 1919 Views
  • tapscola
    Avatar
    Community Member
    10 Posts

    Cant log in to admin Link to this post

    hey please help am new i cant login to my admin, no error message is ahowing except a blank white screen

  • Pigeon
    Avatar
    Community Member
    243 Posts

    Re: Cant log in to admin Link to this post

    Ok, what exactly is the problem?

    Does the log-in form work, but then when you enter your details it goes to a blank screen?

    Is it just a blank screen when you try to log in at /admin/?

    Are you using the standard black candy theme?

    Does the rest of the site show a blank screen?

    Is there any source being sent or is it blank too?

  • tapscola
    Avatar
    Community Member
    10 Posts

    Re: Cant log in to admin Link to this post

    Pigeon: The log in form works perfectly but the problem is when i have put my log in details to access the backend everything disappear and a blank white screen appears. I am using the black candy theme. The rest of the site is showing everything fine and the links are all perfect. And the other problem is after i have re-installed i get this:

    [Warning] None of these templates can be found: Page.ss, ContentController.ss
    GET /mungo/
    Line 175 in D:\wamp\www\bob\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: Page.ss, ContentController.ss
    Line 175 of SSViewer.php
    SSViewer->__construct(Array)
    Line 308 of Controller.php
    Controller->getViewer(index)
    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 29 of ModelAsController.php
    ModelAsController->handleRequest(HTTPRequest)
    Line 44 of RootURLController.php
    RootURLController->handleRequest(HTTPRequest)
    Line 277 of Director.php
    Director::handleRequest(HTTPRequest,Session)
    Line 121 of Director.php
    Director::direct(/)
    Line 118 of main.php

  • Pigeon
    Avatar
    Community Member
    243 Posts

    Re: Cant log in to admin Link to this post

    Ok, what customisations have you made to the SS install? Have you created your own Page types or modifiden Page.php?

    What about the templates, have you made any changes to them? Is it a completely standard SS install?

    You said the problem has started after you 're-installed', what did you do? Try to upgrade your SS version? Have you run a dev/build and done ?flush on a page?

  • tapscola
    Avatar
    Community Member
    10 Posts

    Re: Cant log in to admin Link to this post

    Hey got it thanks there are two things that i picked up, one is that i had done my site on my localhost using blackcandy theme with version 2.3.3. then the headache is on when i was uploading it to my web server u know what i used version 2.3.4. The other problem was on this tag <% base_tag %> i didnt know it should have been there just after the title in the Page SS so i did put it on and this is not in the tutorial thats why i got lost. Now everything seems to be working fine, when am stuck i will get back to you. One more thing is the search form, how can i change it its too big am using balckcandy template and also on images i want every page to have different image manners it seems it is showing only one, am using one Page SS tell how to solve this am new remember!!!

    1919 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.