Questions tagged as 'laravel-5.6'

1
answer

How to display two different tables in the same view?

Using Laravel 5.6 I'm trying to display two different tables in the same view, but it's giving error This is my controller <?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\NossaCasa; use App\NossacasaTitulo;...
asked by 25.05.2018 / 03:59
1
answer

Determine route according to the url that called the request

My situation is as follows, I am using a form of billing that makes the whole system of subscription online, the system when registering a customer and validating the payment of the same, frees the access for 30 days ... But at the end of thi...
asked by 22.11.2018 / 18:21
0
answers

How to solve this error? (Ajax Error)

I use a datatables feature on this system here and every time I refresh the page or after adding a new record, this error appears. I researched a lot, but still no solution. I tested the system on other machines and some I can run without error...
asked by 05.11.2018 / 15:19
1
answer

Page number with DOMPDF and LARAVEL

How do I put the number of each page with domPDF? I use it with laravel. Example: Page 1-4, Page 2-4, Page 3-4, and Page 4-4; My function for fetching bank data: public function print($id) { $budget = Budget::find($id); $...
asked by 17.10.2018 / 01:19
0
answers

Pusher Error - Uncaught ReferenceError: Pusher is not defined

Good morning. I followed this tutorial: link But I get the following error in the browser console: Uncaught ReferenceError: Pusher is not defined at PusherConnector.connect (VM562 app.js:36739) at PusherConnector.Connector (VM562 app.j...
asked by 03.09.2018 / 15:19
1
answer

What do I have to configure in the httpd.conf file, so I do not give 404 more in Laravel 5.6?

What do I have to configure here in the httpd.conf file, so I do not give the error of page not found in laravel 5.6 anymore? <Directory /> AllowOverride none Require all denied </Directory>     
asked by 09.08.2018 / 13:01
1
answer

fopen and fputs for Amazon S3 by Laravel

In php, is it possible to send an image file, obtained through the return of a request by cURL, directly to an S3 bucket using Laravel's methods? If yes, how?     
asked by 13.07.2018 / 16:52
0
answers

Chat with laravel notification

I'm developing a chat with Laravel , and I followed this tutorial . The chat is working fine, but I wanted to know how to make a notification like this:    When a message is sent to a user and the user has not yet read it. Ca...
asked by 04.09.2018 / 00:25
1
answer

How to generate graphs with Laravel 5.6 and Mysql? [closed]

Good afternoon, I'm doing a project that I would like to add some graphics to, but the libraries I found were not very effective ... I would like some indication of some library to use along with Laravel and MySql ... If possible with documentat...
asked by 20.06.2018 / 21:43
0
answers

Transfer data from an input hidden to a route

I have the function score of a control with the following code: public function score($ids, $points) { $score = Team::find($ids)->increment('points', $points) ; The $ ids field will receive several ids that I am writing to an inp...
asked by 07.06.2018 / 12:40