Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Can't login

Our old forums are still available as a read-only archive.

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

Page: 1 2
Go to End
Author Topic: 3804 Views
  • maskiepop
    Avatar
    Community Member
    5 Posts

    Can't login Link to this post

    Hi,

    I have just installed SS 2.2.2 on my pc, a winxp pro sp2. The problem is i can't logon to cms to edit the home page. I get a logon screen, i enter "admin" and "password" on the logon screen, then nothing. I think it rejected my logon, then sends me back the screen. Maybe.

    The apache log folder has no error log. Only an install log and an http.pid.

    I'd appreciate very much any pointers/suggestions on how to fix the problem.

    Thanks.

  • maskiepop
    Avatar
    Community Member
    5 Posts

    Re: Can't login Link to this post

    I am attaching the access and the apache error logs from c:\wamp\log. Hope these help.

  • Willr
    Avatar
    Forum Moderator
    5489 Posts

    Re: Can't login Link to this post

    Well first we can check that a member actually exists in the DB! So Since your using WAMP which comes bundled with phpmyadmin log into that by visiting localhost/phpmyadmin and click your silverstripe DB on the left. Then click the little table icon next to the 'Member' Table to view the contents.

    Is there any rows? If there isnt you can run a command to recreate a user, visit http://localhost/yoursite/db/build?username=admin&password=password this will create a member with the username admin and the password - password. But it only works if you have no rows in the member table.

    If there is a member in the Members table try remove it then run the command above which will reset it.

  • maskiepop
    Avatar
    Community Member
    5 Posts

    Re: Can't login Link to this post

    Hi willr.

    Thank you for replying to my post. After reading that, I decided to re-install ss2.2.2 on my pc. I thought I may have overlooked something, an error message perhaps, or a step, etc.

    It seems I have. I have found these errors (see below). These seems new.

    FATAL ERROR: None of these templates can be found: Security.ss
    At line 74 in C:\wamp\www\silverstripe-v2.2.2\sapphire\core\SSViewer.php

    user_error(None of these templates can be found: Security.ss,512)
    line 74 of SSViewer.php

    SSViewer->__construct(Array)
    line 329 of Controller.php

    Controller->getViewer(index)
    line 296 of Controller.php

    Controller->defaultAction(index,Array)
    line 267 of Controller.php

    Controller->run(Array)
    line 104 of Director.php

    Director::direct(/Security/)
    line 158 of main.php

  • Sam
    Avatar
    Administrator
    679 Posts

    Re: Can't login Link to this post

    You should visit /Security/login instead of /Security. Try this:

    * Visit /Security/login manually
    * Log in with your admin credentials
    * Visit /db/build?flush=1
    * Visit /admin.

    Then log out and try visiting /admin again. Perhaps this will fix whatever glitched your system?

  • maskiepop
    Avatar
    Community Member
    5 Posts

    Re: Can't login Link to this post

    Ah! No response. Not even a suggestion. Everyone is very busy. Perhaps.

    I am beginning to think that ss2.2.2 is not up to scratch and should probably have not been released. Can I install ss2.2.1 instead? Or should I forget all about this?

    Cheers

  • maskiepop
    Avatar
    Community Member
    5 Posts

    Re: Can't login Link to this post

    Sorry about my last post, Sam. I didn't see your response.

    You may have guessed already, my middle name is noob. and my last.

    I did as you instructed -- I think. I still can't login. Below are the relevant entries from the apache access log.

    127.0.0.1 - - [14/Jul/2008:17:27:54 +1000] "GET /silverstripe-v2.2.2/Security/login HTTP/1.1" 200 6573
    127.0.0.1 - - [14/Jul/2008:17:28:56 +1000] "POST /silverstripe-v2.2.2/Security/?executeForm=LoginForm HTTP/1.1" 302 -
    127.0.0.1 - - [14/Jul/2008:17:28:57 +1000] "GET /silverstripe-v2.2.2/Security/login HTTP/1.1" 200 6573
    127.0.0.1 - - [14/Jul/2008:17:29:27 +1000] "GET /silverstripe-v2.2.2/db/build?flush=1 HTTP/1.1" 200 2177
    127.0.0.1 - - [14/Jul/2008:17:31:01 +1000] "GET /silverstripe-v2.2.2/db/build?flush=1 HTTP/1.1" 200 2177
    127.0.0.1 - - [14/Jul/2008:17:32:18 +1000] "GET /silverstripe-v2.2.2/admin HTTP/1.1" 302 -
    127.0.0.1 - - [14/Jul/2008:17:32:19 +1000] "GET /silverstripe-v2.2.2/Security/login HTTP/1.1" 200 6904
    127.0.0.1 - - [14/Jul/2008:17:32:36 +1000] "POST /silverstripe-v2.2.2/Security/?executeForm=LoginForm HTTP/1.1" 302 -
    127.0.0.1 - - [14/Jul/2008:17:32:37 +1000] "GET /silverstripe-v2.2.2/Security/login HTTP/1.1" 200 6573
    127.0.0.1 - - [14/Jul/2008:17:32:55 +1000] "GET /silverstripe-v2.2.2/admin HTTP/1.1" 302 -
    127.0.0.1 - - [14/Jul/2008:17:32:55 +1000] "GET /silverstripe-v2.2.2/Security/login HTTP/1.1" 200 6904
    127.0.0.1 - - [14/Jul/2008:17:33:01 +1000] "GET /silverstripe-v2.2.2/ HTTP/1.1" 200 2726
    127.0.0.1 - - [14/Jul/2008:17:33:06 +1000] "GET /silverstripe-v2.2.2/admin/ HTTP/1.1" 302 -
    127.0.0.1 - - [14/Jul/2008:17:33:06 +1000] "GET /silverstripe-v2.2.2/Security/login HTTP/1.1" 200 6573
    127.0.0.1 - - [14/Jul/2008:17:33:10 +1000] "GET /silverstripe-v2.2.2/admin/show/-1 HTTP/1.1" 302 -
    127.0.0.1 - - [14/Jul/2008:17:33:11 +1000] "GET /silverstripe-v2.2.2/Security/login HTTP/1.1" 200 6573
    127.0.0.1 - - [14/Jul/2008:17:34:51 +1000] "GET /silverstripe-v2.2.2/admin HTTP/1.1" 302 -
    127.0.0.1 - - [14/Jul/2008:17:34:52 +1000] "GET /silverstripe-v2.2.2/Security/login HTTP/1.1" 200 6904
    127.0.0.1 - - [14/Jul/2008:17:34:59 +1000] "GET /silverstripe-v2.2.2/ HTTP/1.1" 200 2726
    127.0.0.1 - - [14/Jul/2008:17:35:09 +1000] "GET /silverstripe-v2.2.2/admin HTTP/1.1" 302 -
    127.0.0.1 - - [14/Jul/2008:17:35:09 +1000] "GET /silverstripe-v2.2.2/Security/login HTTP/1.1" 200 6904
    127.0.0.1 - - [14/Jul/2008:17:35:24 +1000] "POST /silverstripe-v2.2.2/Security/?executeForm=LoginForm HTTP/1.1" 302 -
    127.0.0.1 - - [14/Jul/2008:17:35:25 +1000] "GET /silverstripe-v2.2.2/Security/login HTTP/1.1" 200 6573
    127.0.0.1 - - [14/Jul/2008:17:35:29 +1000] "GET /silverstripe-v2.2.2/Security/?stage=Stage HTTP/1.1" 500 21578
    127.0.0.1 - - [14/Jul/2008:17:37:52 +1000] "GET /silverstripe-v2.2.2/admin/ HTTP/1.1" 302 -
    127.0.0.1 - - [14/Jul/2008:17:37:53 +1000] "GET /silverstripe-v2.2.2/Security/login HTTP/1.1" 200 6906
    127.0.0.1 - - [14/Jul/2008:17:38:06 +1000] "POST /silverstripe-v2.2.2/Security/?executeForm=LoginForm HTTP/1.1" 302 -
    127.0.0.1 - - [14/Jul/2008:17:38:07 +1000] "GET /silverstripe-v2.2.2/Security/login HTTP/1.1" 200 6573

  • Sam
    Avatar
    Administrator
    679 Posts

    Re: Can't login Link to this post

    I think that you might want to try a re-install. I suspect that it hasn't set up the default log-in account for you properly.

    3804 Views
Page: 1 2
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.