Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

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

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

Can't login


Go to End


9 Posts   5019 Views

Avatar
maskiepop

Community Member, 5 Posts

11 July 2008 at 4:52pm

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.

Avatar
maskiepop

Community Member, 5 Posts

12 July 2008 at 4:17am

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

Avatar
Willr

Forum Moderator, 5523 Posts

12 July 2008 at 11:35am

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.

Avatar
maskiepop

Community Member, 5 Posts

13 July 2008 at 4:18pm


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

Avatar
Sam

Administrator, 690 Posts

14 July 2008 at 3:51pm

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?

Avatar
maskiepop

Community Member, 5 Posts

14 July 2008 at 7:08pm


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

Avatar
maskiepop

Community Member, 5 Posts

14 July 2008 at 7:45pm

Edited: 14/07/2008 7:47pm

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

Avatar
Sam

Administrator, 690 Posts

18 July 2008 at 2:59pm

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.

Go to Top