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

Admin not logging in


Go to End


35 Posts   16176 Views

Avatar
Phalkunz

Community Member, 69 Posts

26 July 2008 at 4:06pm

put this http://peds.org/_devsite/admin (if silverstripe is in _devsite folder on your web server) in browser address bar and hit enter

Avatar
sherman

Community Member, 48 Posts

27 July 2008 at 2:16am

I deleted the original member from the members table in phpmyadmin.
Tried to login again using the correct login "Security::setDefaultAdmin("admin", "password");"
Then tried to add the url manually after the login attempt.
Nothing.

Avatar
sherman

Community Member, 48 Posts

27 July 2008 at 3:29am

Edited: 27/07/2008 3:29am

This project is now a week overdue and I'm getting desperate to solve this problem. If anyone who thinks they can help and get me going again I want to pay you for your time.

Please contact me at jamiemccue @ gmail.com

thanks

Avatar
sherman

Community Member, 48 Posts

29 July 2008 at 6:15am

Edited: 29/07/2008 6:22am

I have to say I feel a little silly. Today I had an issue logging into my invoicing program. Right away I knew this was a Firefox 3 issue and storing sessions. Took me multiple tries to get FF3 to login to the site.

This got me thinking about my login issue with SS and how ive tried over and over again to get it working. I decided to try using Safari because I was running out of ideas as to why logging in wouldnt work despite following your instructions.

So be warned that FireFox 3 has issues with logging into SS.

Sorry for all the stress. :)

Avatar
sherman

Community Member, 48 Posts

29 July 2008 at 6:31am

** update **

Safari is now having the same issue after multiple login/logouts. I can no longer login properly using Safari.

This leads me to believe the problem is with the session. Can someone explain what happens when a user logs in? Does it set a cookie? what would make the admin login not work after multiple successful logins?

Avatar
Phalkunz

Community Member, 69 Posts

29 July 2008 at 8:53am

Of course, it sets some cookie values. What i can think of right now is you should install a fresh new copy of silverstripe using the same web server and the same web browser and we'll see how it goes.

Avatar
sherman

Community Member, 48 Posts

29 July 2008 at 10:32am

Well after a full reinstallation, new passwords, username ect I try to login and I get a blank page with this url:

http://peds.org/_devsite/Security/login#MemberLoginForm_LoginForm_tab

I had a successful login after installation using blackcandy. Quite possibly its my template? Im calling the correct $Form variable.

Avatar
Phalkunz

Community Member, 69 Posts

29 July 2008 at 10:44am

Yeah I'm quite suspicious about your template as well but on the other hand template shouldn't affect the login process as long as the $Form is included

try to rebuild the database (http://peds.org/_devsite/db/build?flush=1) and flush (http://peds.org/_devsite/Security/login?flush=1)

also try Object::set_dev_servers('http://peds.org/_devsite') in mysite/_config.php