Questions tagged as 'laravel-5'

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

Send mail by Amazon SES without checking

I would like to know how mass mails are sent by amazon SES but without verifying each email, I am using laravel and I have already managed to send emails using smtp but both were verified The problem is not in laravel but in amazon, which I h...
asked by 19.06.2017 / 21:12
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
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
2
answers

Laravel error Primary Key

Good, I'm introducing myself a bit in Laravel and I'm passing a code that I have in pdo, I'm with the creation of tables and tells me this error: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; che...
asked by 01.06.2017 / 23:59
1
answer

Load DataTable with Jquery

I am trying to load a DataTable dynamically, I have tried to follow a few tutorials and adapt it to what I have but it does not work, I hope you can help me. In a view I ask for a range of dates and a warehouse that is chosen from a select, t...
asked by 10.04.2017 / 08:29
1
answer

How to transform the route shown in Laravel?

I'm new using Laravel and my question is this: How can I do so when this route is requested: miproyecto.com/user/23 is transformed to: miproyecto.com/victor-hugo I just need to do that, and I managed to get the data thrown depending...
asked by 04.05.2017 / 05:30
1
answer

Laravel 5.1 -Eager Loader gets me the last element of sub-fix

This is the code .. public function create() { $data = ComponenteFormacion::with(['campo_disciplinar']) ->get(); return $data; } I only get the last element of "field_disciplinary"...
asked by 15.03.2017 / 04:07