Questions tagged as 'laravel'

0
answers

Using laravel in firefox

When using firefox browser, at the moment of initiating section, and being in the home, if we go back, the login will appear, even if the auth has been validated, if you use igaul > @if(Auth::check()) > <div> > Esta l...
asked by 19.05.2017 / 03:32
0
answers

why laravel when uploading a file redirects me to login?

you want to upload a file and bring me the data of the same but when pressing the upload button I redirected to the login and review the middleware session but there is not the problem, but not only is there, when I try to access to a route by p...
asked by 01.06.2017 / 17:02
1
answer

Records not associated with a user?

I need to get all Services that are not associated with the requests which are associated with a user . So basically the models are <?php namespace App; use Illuminate\Notifications\Notifiable; use Illuminate\Foundation\Auth\User...
asked by 08.06.2017 / 17:08
1
answer

Problem with has () inside a whereHas ()

Good afternoon, I have a small problem with a query, The table lapses is assigned many OffersUba, in which many EnrolledUba enroll, once those registered are validated the notes (ie, the record is put in the table of notes) that offer (or sectio...
asked by 21.05.2017 / 23:46
1
answer

Add grades to several laravel students

I have the following view that shows all the students of a subject and its corresponding notes, how can I do to edit said fields? This is my driver who receives the id of the subject as such and calls the students with their grades with...
asked by 08.05.2017 / 22:36
1
answer

How do I save an XML file with Laravel?

I'm trying to save the xml file with laravel but I can not do it $xml = new \DomDocument('1.0', 'UTF-8'); $raiz = $xml->createElement('raiz'); $raiz = $xml->appendChild($raiz); $nodo = $xml->createEle...
asked by 17.05.2017 / 22:35
0
answers

scope for laravel of a relationship

I have a registration table and a student-related table, one to many, and I want to make a scope in the enrollment model in such a way that I look for the student's routine, at the moment I have a scope by date. How could I make that scope? this...
asked by 26.05.2017 / 00:10
0
answers

Perform a Vue2 component in admin lte

I installed admin lte using composer for laravel 5.4 , because this template comes with Vue installed. However when making a component I get the following error: This is my code: <div id="app">...
asked by 25.04.2017 / 15:18
1
answer

Error sending mail from heroku-laravel 5.4

I have a problem when sending an account confirmation email, I try it on the localhost and it works correctly, but when I deploy the application to heroku it does not send the email, this is my register method: protected function register(Requ...
asked by 21.04.2017 / 05:03
1
answer

Accents in session flash de laravel 5.2

It turns out that I am sending messages to the views, through the class Session and its method flash documentation: Session-> Flash But at the moment of sending an accent, in the view it brings me the code as if it did not hav...
asked by 13.04.2017 / 16:40