Jump to:

23370 Posts in 18160 Topics by 2864 members

General Questions

SilverStripe Forums » General Questions » [Notice] Undefined index: Email

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

Page: 1
Go to End
Author Topic: 843 Views
  • Media Contour
    Avatar
    Community Member
    33 Posts

    [Notice] Undefined index: Email Link to this post

    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

  • sebastiankozub
    Avatar
    Community Member
    40 Posts

    Re: [Notice] Undefined index: Email Link to this post

    have the same problem

  • pouic
    Avatar
    Community Member
    16 Posts

    Re: [Notice] Undefined index: Email Link to this post

    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

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