Questions tagged as 'laravel'

2
answers

Error in laravel when recognizing the request of the route

Even after setting the route, when performing a post, the application occurs the "404 not foud" error. However, when accessing the index, I get data from my bank. Theoretically, it was also not to access. I'll post the code for you to review...
asked by 31.10.2017 / 19:01
1
answer

Query for multi-table search

I need to fetch the data from a process table, and from 2 other tables one of process authors and defendants, the question is how to search in a grouped way that I can go through with foreach to fill a report, I'm using Laravel, follows list of...
asked by 31.10.2017 / 17:13
1
answer

how to pass many variables from the controller to the view in laravel

I want to pass these variables, but it seems that quantity prevents me, is there another way? return view('pontuacao')->with('somas', $somas[0]->p)->with('somas1', $somas1[0]->s)->with('palpites', $palpites)->with('co...
asked by 29.10.2017 / 20:37
1
answer

Error updating profile photo laravel

I was making an auth larial system that changed the profile picture of the user and the following error occurred: This is my php code: <?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Auth; use Imag...
asked by 04.11.2017 / 04:24
1
answer

Problem with upload using Laravel's store method

I have a question with uploads of files in Laravel. I created the symbolic link with php artisan storage:link and to upload files I am using the code below according to the Laravel doc link public function updatePhoto(Request $request...
asked by 03.11.2017 / 13:14
0
answers

Fill combobox via JQuery

I have the following combobox html: <div class="form-group col-lg-6 row"> {{ Form::select( 'state',array( 0 => '' ),null, array( 'class' => 'form-control', 'data-placeholder' => 'State','id' => 'state' ) ) }} </div>...
asked by 09.11.2017 / 21:34
1
answer

Pagination in relation to Laravel

Is there a way to do pagination in Laravel in hasMany() method for relationships between models in Laravel?     
asked by 23.10.2017 / 12:33
0
answers

Look for bmp image in the bank and show in the view.

I have a bmp image saved in the database, but this file is already in the database and was not included in the framework, I would just like to know how I can display this image in the view. Note: I've already tried the method: No Controlle...
asked by 21.10.2017 / 22:55
0
answers

Image above 3000px does not load in Wideimage

Good afternoon, I have a function in which you are responsible for taking the image and resizing it, however images with 3000x2000 are not loaded by WideImage WideImage::load($ampliada) ->resize($largura, $altura, 'outside',...
asked by 01.11.2017 / 17:56
0
answers

Updating the database

There is an error in the family composition, which says:    Undefined variable: compositionFamily The family composition code is this: $composicaoFamiliar = DB::table('membro_familiar')->insertGetId([ 'id_identificacao_usuario'...
asked by 19.10.2017 / 14:56