Questions tagged as 'laravel'

1
answer

Why is my DataTables table not sorted or filtered?

here the code of my table var table = $('#table').DataTable({ "destroy": true, "responsive": true, "processing": true, "serverSide": true, "sAjaxSource...
asked by 21.11.2016 / 03:52
0
answers

How to save the info in Mysql from laravel that I bring from Api ceiling

I have an application that hits the rooftop api. Basically they bring the cities of Argentina and their cities / neighborhoods. I would like that to be saved in my DB mysql. How can I do? When I register a property in my application, every...
asked by 03.12.2016 / 21:12
1
answer

Problem of "BindException: Local Error" Laravel Adldap2 / Adldap2

Greetings. I am totally new with laravel and much more with AD authentication. I have been following the tutorial of these and I found the following problem, which I can not find solution, when trying to launch the application. I have the...
asked by 10.10.2016 / 02:15
2
answers

Problem with Validate Rules Laravel

I have a Table Role with the attributes id and Role . I do some of the roles softdelete . Now, when I want to create a new role I have the following rules: public function rules() { return [ 'role' => '...
asked by 26.10.2016 / 14:54
1
answer

Instanciar files in L5 Modular - Laravel 5

Through the "artem-schander / l5-modular" library: "dev-master" [ link installed in the composer json, I am adjusting my project to be modular and not mix everything in it (see folder Modules / Reports in the image). Everything works correctl...
asked by 17.08.2016 / 00:24
1
answer

Generate Select Options based on the value obtained after clicking on the row of table made with Bootstrap-table and display it in a Modal

I'm doing a web application "for" an airline, using Laravel, I need to create tables, so I use Bootstrap-table. These tables have content, and have an event that is activated every time a row is clicked. By clicking I pass the data that I have i...
asked by 10.07.2016 / 05:34
1
answer

Insert Post and images in a single record

I have a post table that has an image field, and I have a problem, when I try to insert the field, I have to check previously that the user has posted an image, and if so insert it. This worked perfectly for me when the image was in a separate t...
asked by 18.10.2016 / 12:32
1
answer

How to solve error 403 when uploading file using Ajax? (Name with quotation mark)

I have the following problem, I have developed a module for uploading files using ajax + jquery + laravel 5.1, the problem I have is when I try to upload a file with a single quote inside its name, example: name of my mexico file' s.pdf When run...
asked by 07.07.2016 / 18:18
4
answers

Delete by id - Laravel ORM

I want to do a delete by id with the ORM of Laravel , and from what I've read it's not possible, and it should be done a way similar to this one. File::find($code)->delete(); or $file = File::find($code); $file->delete(); in...
asked by 29.07.2016 / 10:23
1
answer

Error deploy App Laravel 5 in Heroku

When executing the $git push heroku master command it throws me the following error: [Symfony\Component\Debug\Exception\FatalThrowableError] Class 'Way\Generators\GeneratorsServiceProvider' not found I followed all the steps of insta...
asked by 09.09.2016 / 22:36