Questions tagged as 'laravel-5'

0
answers

Does laravel 5.4 give me this error? Undefined property: Illuminate \ Database \ Eloquent \ Relations \ HasOne :: $ valoracion_rbc_id

<?php if($valoracion_rbc->valoracionRbcContextoSocialFamiliar()->valoracion_rbc_id != null): ?> <?php endif; ?> public function rbc($cliente_id){ $cliente=Cliente::where('id',$cliente_id)->first(); $valoracion_...
asked by 27.07.2018 / 18:09
1
answer

Error because I do not recognize the Mail file

You see, I have in my project to send a message to a user. This is the code for sending the message: Mail::to($usuario->email)->send(new Dispulpa($usuario->name.' '.$usuario->second_name, $oferta->titulo)); This is the fil...
asked by 02.05.2018 / 23:02
0
answers

Configuration problem of my phpStorm to use Laravel

Configure laravel 5.5 to use vue.js in a project and everything turned out perfect; but when I install a new project laravel 5.5 I try to configure vue.js I miss errors as I show in the image: How can I solve this? Greetings     
asked by 30.04.2018 / 14:17
0
answers

I can not get my email to be accepted when sending emails

You see, I'm trying to send email messages to users. To do that, I must configure the .env file: MAIL_DRIVER=smtp MAIL_HOST=smtp.gmail.com MAIL_PORT=587 [email protected] MAIL_PASSWORD=************** MAIL_ENCRYPTION=tls...
asked by 01.05.2018 / 18:00
0
answers

Integrate js in laravel

I have a table with data and I want to make crud from it to the DB using a modal. I tried to do it through VUE and it does not do anything, so I wrote js code, directly in a file and I make the call but nothing happens either. blade @extends (...
asked by 27.04.2018 / 16:53
0
answers

That a form shows old values if it is to modify

You see, I have a table called Formacion: Schema::create('formacions', function (Blueprint $table) { $table->increments('id'); $table->string('titulo'); $table->string('grado'); $table->string('centr...
asked by 04.05.2018 / 00:27
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

How to get the user logged in from an API in laravel?

There is something I do not quite understand in order to start designing my API in laravel. I wish that only users who are logged into the application are able to consume the resources of the API. I understand that I must send a token that id...
asked by 28.04.2018 / 07:40
1
answer

I can not load the image in the store

You see, I have a form in which I ask for the data of a new user, having among its variables a so-called "photo", in which I store an image of the user. User migration: <?php use Illuminate\Support\Facades\Schema; use Illuminate\Databas...
asked by 30.04.2018 / 00:31
1
answer

error when using factory faker

Hi, I'm trying to use faker, to feed my bd, but it throws me the following error:    ReflectionException: Class CarnetSeeder does not exist I show you below how I have the files My table <?php use Illuminate\Support\Facades\Schema;...
asked by 22.04.2018 / 14:18