mdbootstrap / adminlte-laravel

A Laravel 5 package that switchs default Laravel scaffolding/boilerplate to AdminLTE template and Pratt Landing Page with Bootstrap 3.0
MIT License
1.81k stars 508 forks source link

Show error messages in login an register forms when server return error 500 #263

Open acacha opened 7 years ago

acacha commented 7 years ago

Now only console errors are shown and sigin/Register buttons get freezed/disabled.

acacha commented 7 years ago

For example it happens when miggrations are not executed so no users table is available!

grey4eg commented 7 years ago

Why register form return error 500? migation was executed and users table is exist/ SQL SERVER

MarkGrenville commented 7 years ago

I'm also having a problem when submitting the registration form I get error 500 in the console.

acacha commented 7 years ago

@MarkGrenville @grey4eg please provide no only the error number also the error description you could find in console also

fedeverdi commented 6 years ago

In my case was an acacha/forms error in erros response object. I received an 422 (Unprocessable Entity) when I did a mistake with credentials and my interface froze. But nothing 500.

I temporarily fixed it changing line 267 in node_modules/acacha-forms/Forms.js of submit method. From: _this.onFail(error.response.data);

to _this.onFail(error.response.data.errors);

sornanun commented 6 years ago

I have same problem. image : https://www.picz.in.th/image/BqlSmu