search

Home  >  Q&A  >  body text

Login problem

No error is reported when logging in and the submission is not redirected, just on the original webpage

사장님사장님2563 days ago1520

reply all(13)I'll reply

  • 唐达明

    唐达明2018-05-08 14:22:32

    How did you solve the login problem


    reply
    0
  • ◎ _黑夜遮住眼’’

    ◎ _黑夜遮住眼’’2018-04-18 10:20:59

    How to solve this problem...Brother please solve

    reply
    0
  • 사장님

    window.open()

    사장님 · 2018-04-18 12:05:07
  • 回不去的昨天

    回不去的昨天2018-01-24 22:20:12

    This is also the case for me, has it been resolved?

    reply
    0
  • 丑牛小轩

    Have you solved it?

    丑牛小轩 · 2018-02-06 13:50:16
  • 华先生º

    华先生º2018-01-10 20:01:09

    This depends on whether you have set the error level and the error mechanism of TP5. If setting errors, please add error_reporting(E_ERROR | E_WARNING | E_PARSE);

    in admin/common.php

    reply
    0
  • 老悦要发达

    老悦要发达2017-11-28 22:52:48

    123.png

    Comment out the part written to the database and use the ajax of the login template

    if (data.status == 1) {
    alert(data.message );
    window.location.href = "{:url('index/index')}";
    } else {
    alert(data.message);
    window.location.href = "{:url('login/index')}";
    }

    reply
    0
  • Frank

    If this is commented out, the session cannot be stored.

    Frank · 2018-04-25 11:20:28
    Frank

    Solved: Change the session namespace to use think\facade\Session;

    Frank · 2018-04-25 11:56:42
  • 사장님

    사장님2017-11-23 01:02:28

    Server 500 error.

    reply
    0
  • 老悦要发达

    Solve it? Me too

    老悦要发达 · 2017-11-28 22:35:41
  • phpcn_u37517

    phpcn_u375172017-11-22 17:58:21

    Test print out

    reply
    0
  • 韦小宝

    韦小宝2017-11-22 17:37:25

    Post the code

    reply
    0
  • 电动小老虎

    电动小老虎2017-11-21 14:53:44

    Print the $post data. . See what it is.

    reply
    0
  • Cancelreply