Questions tagged as 'laravel'

1
answer

Error Running Laravel downloaded from Git, warning bootstrap

Greetings, I have downloaded a Laravel project from a repository which I am a contributor and at the time of executing it (previously I put it in htdocs and changed the execution path in Netbeans) the following error occurs: Warning: require(C...
asked by 22.01.2018 / 09:24
1
answer

how can I send data from a class radio input to laravel without touching the names

I would like to send parameters by means of a class in the radio type inputs to the laravel driver without touching the property name <div class="form-group col-lg-6 col-xs-12"> <label class="control-label">Sexo:</label>...
asked by 17.01.2018 / 16:35
1
answer

Like traversing an array inside another array

I try to get the values of the "brother" array, the key is dinamic and try with for but it does not recognize me for($l=0;$l<count($pru);$l++) { for ($h=0; $h <count($pru[$l]) ; $h++) { dd($pr...
asked by 16.01.2018 / 09:41
1
answer

NotFoundHttpException in RouteCollection.php line 161

Greetings, I'm working on laravel 5.3 and none of my routes work, the only one that works is the root path '/' , I do not understand why. web.php <?php Route::get('/',function(){ return view("certificado.index"); }); /*Route:...
asked by 23.09.2017 / 19:41
2
answers

update () and destroy () methods do not work in Laravel API RestFul

I'm doing a RestFul API with Laravel, and everything goes well with the methods, except the method update() and the method destroy() , ( PUT and DELETE respectively), it's not a problem of CORS , if it enters th...
asked by 14.01.2018 / 06:22
2
answers

Delete element from a session array in Laravel?

I'm going crazy and I can not find a solution to the problem. I've been seeing forums in English and the answers they propose do not work for me. Would anyone know how to do it?     
asked by 11.01.2018 / 00:13
1
answer

Is there any way to save a variable somewhere other than in the BD in Laravel 5.5?

I'm trying something half crazy. The use case is that every 2 years the Board of Directors changes, so this year it will change to the XXXVII Council (It is currently in the XXXVI). It made me absurd to create a table just to save the number of...
asked by 06.01.2018 / 04:40
1
answer

laravel 5 error in migration

Friends. I am creating a project in laravel 5.5 using windows, but when creating the migrations "php artisan migrate", I get this error:    In Connection.php line 664:       could not find driver (SQL: select * from information_schema.tables...
asked by 05.01.2018 / 16:48
0
answers

How to show all the articles of a sale? Laravel

I have a question to make a query where I show the sale with your items sold. I currently have this query: $query=trim($request->get('serachText')); $ventas=DB::table('venta as v') ->join('persona as p', 'v.cliente','=','p.i...
asked by 05.01.2018 / 19:50
2
answers

Shows id and not the value of name that it has in table, laravel 5.5

Good, I have a table called departaments (id, name) and a table called users (id, name, departament_id) that have a one-to-many relationship (The foreign key is in user), that is, a department has many users. When a user is created, the id is sa...
asked by 02.01.2018 / 04:36