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.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

[Notice] Undefined index: Email


Reply


3 Posts   912 Views

Avatar
Media Contour

Community Member, 33 Posts

18 November 2011 at 7:42am

Didn't do anything to the site and tried to log in when I got this Error Message.

[Notice] Undefined index: Email
GET /Security/LoginForm/

Line 33 in /home/mysite/public_html/sapphire/security/MemberAuthenticator.php

Source

24 * @param array $RAW_data Raw data to authenticate the user
25 * @param Form $form Optional: If passed, better error messages can be
26 * produced by using
27 * {@link Form::sessionMessage()}
28 * @return bool|Member Returns FALSE if authentication fails, otherwise
29 * the member object
30 * @see Security::setDefaultAdmin()
31 */
32 public static function authenticate($RAW_data, Form $form = null) {
33 $SQL_user = Convert::raw2sql($RAW_data['Email']);
34    $isLockedOut = false;
35    $result = null;
36
37    // Default login (see Security::setDefaultAdmin())
38    if(Security::check_default_admin($RAW_data['Email'], $RAW_data['Password'])) {
39       $member = Security::findAnAdministrator();
Trace

MemberAuthenticator::authenticate(Array,MemberLoginForm)
call_user_func_array(Array,Array)
Line 203 of MemberLoginForm.php
MemberLoginForm->performLogin(Array)
Line 120 of MemberLoginForm.php
MemberLoginForm->dologin(Array,MemberLoginForm,SS_HTTPRequest)
Line 301 of Form.php
Form->httpSubmission(SS_HTTPRequest)
Line 134 of RequestHandler.php
RequestHandler->handleRequest(SS_HTTPRequest)
Line 152 of RequestHandler.php
RequestHandler->handleRequest(SS_HTTPRequest)
Line 147 of Controller.php
Controller->handleRequest(SS_HTTPRequest)
Line 283 of Director.php
Director::handleRequest(SS_HTTPRequest,Session)
Line 127 of Director.php
Director::direct(/Security/LoginForm/)
Line 127 of main.php

Avatar
sebastiankozub

Community Member, 40 Posts

1 December 2011 at 11:54am

have the same problem

Avatar
pouic

Community Member, 16 Posts

21 January 2012 at 7:34am

I had the same problem. upgrading the php from 5.3.1 to 5.3.8 and the problem solved

Usgin SStripe v. 2.4.6