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.

Archive /

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

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

Missing Login Form


Go to End
Reply


12 Posts   3320 Views

Avatar
qhoxie

Google Summer of Code Hacker, 39 Posts

16 June 2007 at 7:19am

Edited: 16/06/2007 7:39am

latest svn seems to be missing the login form template, security.ss

Update: I've spoken with Elijah on irc, and he cannot reproduce this. I did a full reinstall and removed cache and still no change.

FATAL ERROR: None of these templates can be found: Security.ss
At line 53 in /ss/sapphire/core/SSViewer.php

Notice: Array to string conversion in /ss/sapphire/core/Debug.php on line 221

Notice: Array to string conversion in /ss/sapphire/core/Debug.php on line 221

Notice: Array to string conversion in /ss/sapphire/core/Debug.php on line 221

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

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

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

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

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

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

Avatar
elijahlofgren

Google Summer of Code Hacker, 222 Posts

16 June 2007 at 8:34am

In addition to being unable to reproduce on Apache that is part of Ubuntu Feisty, I have been unable to reproduce this error on WAMP5 on Windows XP.

However, for some unknown reason, SilverStripe no longer runs on my XAMPP install on Windows XP. I've been unable to find any errors, I just get a blank screen.

Hopefully, someone here can reproduce and fix the problem. :)

I Hope everyone has a great weekend,

Elijah

Avatar
qhoxie

Google Summer of Code Hacker, 39 Posts

16 June 2007 at 9:42am

well, after a bunch of fooling around with it it is showing up now

it took deleting /tmp/silverstripe-cache for some reason, even though i had tried rm -rf /tmp/silverstripe-cache/* before and it did not help

Avatar
qhoxie

Google Summer of Code Hacker, 39 Posts

16 June 2007 at 10:58am

now that the form shows up, i cannot login

i have added in showvariable debug statements for email, password, and the member db result in memberauthenticator
i also added a breakpoint to stop execution after that

the relevant information with showqueries on follows

also, it should be noted that i ran the exact member lookup query on the db and got the correct result
the $member object should be printed below the last line of the output, but it is blank

---Debug Output---
Debug (MemberAuthenticator->authenticate() in line 31 of MemberAuthenticator.php)

admin

Debug (MemberAuthenticator->authenticate() in line 32 of MemberAuthenticator.php)

password

Debug (line 51 of MySQLDatabase.php):
SELECT `Member`.*, `Member`.ID, if(`Member`.ClassName,`Member`.ClassName,'Member') AS RecordClassName FROM `Member` WHERE (Email = 'admin' AND Password = 'password') ORDER BY Surname, FirstName LIMIT 1

Debug (line 59 of MySQLDatabase.php):
0.000590085983276
Debug (MemberAuthenticator->authenticate() in line 44 of MemberAuthenticator.php)

Avatar
Andy

230 Posts

16 June 2007 at 1:36pm

Is this on the gsoc branch?

Avatar
qhoxie

Google Summer of Code Hacker, 39 Posts

16 June 2007 at 2:27pm

yes

Avatar
Andy

230 Posts

16 June 2007 at 2:53pm

Ok, there are a bunch of change to do with OpenID authentification involving login. Our trac installation is down at the moment, so I can't find out what exactly is wrong, but you should try asking Markus, who I believe is working on it.

Avatar
qhoxie

Google Summer of Code Hacker, 39 Posts

16 June 2007 at 3:44pm

yeah, i figure its the security or the db stuff, especially strange that the query works properly

Go to Top