Questions tagged as 'laravel-5.6'

1
answer

Validate password using Laravel

I have the following form Mypasswordfieldslooklikethis:<divclass="form-group {{ $errors->has('senha') ? ' has-error' : '' }}"> <label for="senha">Senha</label> <input type="password" class="form-control" id="se...
asked by 27.02.2018 / 16:20
0
answers

Return status 302 on form submit

I made the migration of my project laravel 5.4 pro 5.6, but in a new form I am having the 302 return when giving the submit in the form, it is a normal form like the others in my system, however this one in particular is with this return ......
asked by 26.11.2018 / 18:57
0
answers

Find file that generated error CSRF TOKEN

I have set up the handler file for every time an error occurs on the server, I receive an email with the details. So today I received an email with the following error:    array (3) {["message"] = > string (0) "" ["file"] = >...
asked by 29.09.2018 / 02:22
0
answers

Problem using Route :: resource on production server

I'm making a system using Laravel 5.6 Upload to a server I have and access it externally But I'm having problems when the route uses resouce, for example: Route::resource('materiais', 'MaterialController'); The routes that I created...
asked by 22.06.2018 / 21:32
0
answers

Laravel: Access relationship attributes

I have the products , images tables, image_products tables.  The image_products table has a foreign key to the products and images table. When I list the products and names of the images that are in the images table with the comm...
asked by 07.07.2018 / 06:17
0
answers

Cross-orgin with laravel and vuejs

In my dilemma to publish my application I am facing some problems. I'm making the front separated from the back. The frontend is in vuejs and the backend in Laravel (being only an API) On the server it looks like this: public_html...
asked by 20.03.2018 / 16:43
0
answers

Radio Button back with the old value

Hello I have the following code: <div class="resposta"> <label class="radio-inline" style="padding-right: 20px;"> <input type="radio" name="1" value="S" {{ old('resposta1') == "S" ? 'checked' : '' }}&...
asked by 08.03.2018 / 20:11
1
answer

Laravel Mail, Error: Variable undefined

Good evening, friends, I'm having a problem, when I try to pass the variables from one control to another, it ends up accusing the variable "not defined": (Undefined variable: schedule) I do not know what I'm doing wrong, could anyone...
asked by 21.09.2018 / 05:43
1
answer

Return form with data after validator fails

I have a user registration form in Laravel <form class="form-horizontal" method="post" action="{{url('/usuarios')}}"> @csrf @if(session()->has('message')) <div class="callout callout-danger">...
asked by 18.04.2018 / 20:40
1
answer

MassAssignmentException in Model.php line 444: users_id

I'm doing a listerner to save when the user logs, and prints the title error in User's models. public function accesses() { // Não esqueça de usar a classe Access: use App\Models\Access; return $this->hasMany(Access::cla...
asked by 04.09.2018 / 22:03