Questions tagged as 'laravel'

0
answers

Micro Framework Lumen - Security Token

I have created an api rest in Lumen , I have already uploaded it to my hosting and everything works perfectly. The issue is that it has no security, I mean it does not have a "session" so to speak when they log in, I've been researching and I f...
asked by 18.08.2017 / 06:36
1
answer

What does the point on a laravel route mean?

For example, in this code I see that route is like this: "pedidos3.create" {!!Form::open(['route'=>'pedidos3.create','method'=>'GET','class'=>'form-horizontal form-label-left input_mask','name'=>'sumar']) !!} but the route is on...
asked by 16.07.2017 / 19:29
1
answer

laravel pluck square brackets and double quotes

I have the following function that shows a student's course public function show($id) { $alumno = Alumno::find($id); $curso = Matricula::where('id_alumno',$id)->get()->pluck('curso_alumno'); dd($curso); return view('alumn...
asked by 15.06.2017 / 01:26
2
answers

'updated_at' in field list is ambiguous in Laravel

I have the following error in a laravel query, the query that I execute is the following one. $usuarioE->roles()->update(['kaseya_rol_user.state'=>0]); and the error thrown at me is [Illuminate\Database\QueryException] SQLSTATE...
asked by 22.06.2017 / 00:13
1
answer

I can not create a record from a view in laravel

Good friends, I have the following problem in laravel. I want to create a record in a table called movies that is related to a category table by means of a foreign key. Going to the view new.blade.php shows me the following error:    (1/1) Re...
asked by 25.06.2017 / 02:22
1
answer

Retrieve the values of the fields when going back to laravel

I am using laravel 5.4 I am validating the form with the Valitador:make , what I want to know is that when a failure occurs and I go back I could show the value that the fields had before to reload the page, instead of empty input...
asked by 06.06.2017 / 17:27
2
answers

.preventDefault () does not work

I am creating an online store as a school project in Laravel. Everything is fine until I want to prevent a button from executing its "submit" action. {!! Form::open(['url' => '/in_cursos_carts', 'method' => 'POST', 'class' => "addtoca...
asked by 07.06.2017 / 22:48
1
answer

Differences between input and get

I have a question about Laravel, what is the difference between Laravel's input and the get: Input public function fooFunction (Request $request){ $request->input("foo"); } Get public function fooFunction (Request $request){...
asked by 08.06.2017 / 21:08
1
answer

Laravel driver syntax error

I get the null fields, because it is not an "input" what I am receiving, but an "option" but I do not know how to declare it so that it grabs the value of the option for my record. Form: <form class="form-horizontal" action="{{url('/orde...
asked by 24.05.2017 / 04:19
0
answers

Laravel Passport login api

When I try to log in with a user created from my API control, it does not allow me, however, if I try to login with a user created from my website, I have no problem. To create the user I am using $input['password'] = bcrypt($request->passw...
asked by 29.07.2018 / 06:01