No error is reported when logging in and the submission is not redirected, just on the original webpage
How did you solve the login problem
How to solve this problem...Brother please solve
This is also the case for me, has it been resolved?
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);
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')}"; }
Server 500 error.
Test print out
Post the code
Print the $post data. . See what it is.
How did you solve the login problem
How to solve this problem...Brother please solve
This is also the case for me, has it been resolved?
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.phpComment 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')}";
}
Server 500 error.
Test print out
Post the code
Print the $post data. . See what it is.