Questions tagged as 'laravel'

1
answer

Laravel Passport - Grant Type Not supported

{ "error": "unsupported_grant_type", "message": "The authorization grant type is not supported by the authorization server.", "hint": "Check the 'grant_type' parameter" } Reply when making the request by post, the grant_type is not supported...
asked by 03.05.2018 / 23:16
1
answer

how to update a table in a mysql database with Angular and Laravel

I am developing an application with Laravel and angular, I am bringing the data with Laravel and I show them with Angular. Controller in laravel: public function ListadoDimensiones(){ $dimensiones = Dimension::with(['categorias' => f...
asked by 25.04.2018 / 00:36
1
answer

can two functions be passed to a single view in laravel?

I am making a query in laravel but I want to solve this question, is it possible to do two functions and then return them to the same view?, if it can be done tell me how to do it please, I will leave the view and the controller so they c...
asked by 24.04.2018 / 22:30
0
answers

Download multiple files from laravel php?

Cordial greeting colleagues, I have the following question, I am developing an application in laravel php, which should export a word file and excel after performing certain processes, my problem is when downloading these files, as I need them t...
asked by 04.05.2018 / 20:45
0
answers

How can I upload a pdf document to the server in laravel 5.5?

$ adjunto = new Attachment; $adjunto->titulo = $request->Transparencia_id; $adjunto->Enlace = $request->Enlace; //obtener archivo por medio de el campo file declarado en el formulario $archivo = $request->file('Adjunto');...
asked by 26.04.2018 / 03:29
1
answer

Select distinct () with Join in Laravel 5.5

I've been working on an sql query that I want to replicate in Laravel 5.5 with eloquent, but I can not get it to work. I explain, this is my query in SQL: SELECT empresas.companyname_cny, empresas.ruc_cny, municipios.municipality_mty, ciudads...
asked by 28.04.2018 / 04:38
0
answers

Load database records from a Select with Ajax, Laravel

I am making a small form where I request that you select a user's name by means of a Select: <select class="form-control dynamic" id="tipopersona" name="tipopersona" data-dependent="empresa"> <option value="" selected="true" disabl...
asked by 30.04.2018 / 04:08
0
answers

Laravel: Project in Laravel does not load

Days ago with this problem when loading my project in laravel the first thing is that by using PHP ARTISAN SERVE the server.php is deleted and I miss its error, I copy it and when I boot it is erased again. Now when executing the PHP ARTISAN SER...
asked by 28.04.2018 / 18:27
1
answer

FatalThrowableError when using DatabaseSeeder, to populate

I'm doing a test, to populate the bd, using DatabaseSeeder. I have an individual VehiculosSeeder file, a Vehiculo model, linked to the vehicles table, and when I try to run from phisic artisan db: seed console, I get this: Symfony\Componen...
asked by 17.04.2018 / 17:50
1
answer

Error creating a new project in Laravel

hello I'm looking for help with the following problem is that when creating a new project in laravel 5.6 it gives me this error previously I had already created other projects but now I do not understand the why of this error     
asked by 17.04.2018 / 04:39