Questions tagged as 'laravel-5.4'

1
answer

Error sending form with if: else condition in laravel

I'm making a small form with the option to upload files with laravel and I ran into a problem at the time of submitting. The following problem occurs: When sending the form with upload it sends and saves normally in the bank, but without upload...
asked by 06.11.2018 / 15:27
1
answer

Laravel 5.4 (1/1) TokenMismatchException

Locally all forms work, but when I put them online you are giving erro as if you did not have _token assigned to forms . APP_NAME=MonkStudio APP_ENV=production APP_KEY=base64:KV/4jmhU507Kse+PSbsBJPUwKd1vG2bFsLmN0lDCQoQ= APP...
asked by 09.04.2018 / 04:43
2
answers

Retrieving multiple items in a relationship - Laravel

I'm having a little problem, I have a course and student relationship in the system. I created a show function in the controller and wanted to make clicking on the details show all students enrolled in a course. show on CourseController pub...
asked by 26.03.2018 / 20:36
2
answers

How to return the page in LARAVEL 5.4

I have a problem, I have 4 table, Courses, subjects, teachers and templates, each with a page for you, when I change or delete something in disciplines, teachers I return to page courses, I want to return to the page itself. I'm using laravel...
asked by 03.04.2018 / 15:02
2
answers

Project Deploy in Laravel 5.4 in Umbler

Hello, I saw the Brazilian community of Laravel commenting on Umbler a good BR server for deploys of projects in Laravel. I've been testing the deploy of a project, but I have not been able to make it work in the PRO website service. First he...
asked by 18.04.2017 / 18:40
1
answer

Confirm deletion in Laravel 5.4

I have the form below, in which a button deletes the record of the current line. <form class="form-inline" method="POST" action="/servidores/{{ $serve->id }}"> {{ method_field('DELETE') }} <input type="hidden" name="_t...
asked by 06.02.2017 / 14:16
0
answers

Corrupted file dompdf / laravel

Good evening, next, I'm going through a PDF printing problem, I made a system in Laravel where I need to print a list of a specific template, and I'm using lib: link All right until then. The problem is when I'm asking to save the sav...
asked by 29.11.2018 / 02:10
1
answer

How to pick specific item On the laravel blade

How do I get a specific item in Laravel blade ? Example: $(document).ready(function(){ var id = 1; $('body').append('{{ $projeto->'+id+'->name}}' }) <body> Deve Aparecer aqui o nome do projeto </body>     
asked by 12.11.2018 / 12:49
1
answer

Route of api in Laravel 5.4

Through the composer, I started a project with the command: composer create-project --prefer-dist laravel/laravel api After the installation of the dependencies, I was able to see the "welcome" of the application (through the default wheel...
asked by 21.05.2018 / 04:16
1
answer

PDF in Laravel returning View selected

Hello, I'm using DomPDF to try to return a report in pdf, but every time I call the view it loads like it's in an infinite loop and nothing happens. Follow my code CourseController.php public function downloadPDF($id) { $curso = Curs...
asked by 27.03.2018 / 13:18