Questions tagged as 'laravel-5.3'

1
answer

Error in counting data numbers of a table using JOIN in laravel 5.3 [closed]

I'm doing a query that will list users with data from multiple tables so I'm using JOIN . I've already been able to list user data, what I'm trying to do now is count the number of players that belong to that user I'm listing. I've done...
asked by 25.01.2017 / 10:34
2
answers

Problem with logout in laravel system 5.3

I have an admin that is already logging in correctly, I have the logout function done but it gives the following error: when I log out it says that there is no column remember_token in my table. How can I resolve this? Because I create...
asked by 19.01.2017 / 16:40
2
answers

Problem with login in laravel 5.3

I have a project that consists of an administration. What I'm doing is login, I already created the table and entered a user with password in the Hash mode of Laravel. I have the system that apparently works, what happens is that wh...
asked by 19.01.2017 / 15:14
1
answer

Value of checkbox is nil, Column 'situation' can not be null

I have a $table->enum('situacao', ['ativo', 'exonerado']); field. I created a checkbox to do the registration, but it returns the following error:    1048 Column 'situation' can not be null. How can I resolve? The checkb...
asked by 22.12.2017 / 15:56
1
answer

APP_URL of .env register entire URL (beyond the domain) of the application

I have a server with a domain where there are several applications Laravel, for example, the path of the application1 looks like this: link p> The problem is that when I push APP_URL = link app_url only generates routes with the domain, f...
asked by 20.09.2017 / 19:07
1
answer

How to do pagination in a table that is related Laravel 5.4

There are 2 tables and a pivot where it makes the ManyToMany relationship between 2 tables . A table is called Postagems and the other table is named Departamentos , so I'm trying to do a related search by depart...
asked by 01.10.2017 / 00:00
1
answer

Saving an Array in the MySQL database - Laravel

I am a beginner in the Laravel framework and am in need of some help. I need to save an array in the MySQL database, however it is generating the following message.    ErrorException in DiarioController.php line 334:   Illegal string offset '...
asked by 25.07.2017 / 16:12
1
answer

Grid with Laravel 5.3 looking for foreign keys

Hello. I have an application where I need to mount a grid with all the data in the produtos table. This table has foreign keys for two other tables, grupo and subgrupo . To mount my grid, I need the array with the products to...
asked by 01.03.2017 / 20:13
0
answers

Laravel does not decrypt the refresh_token by sending the request with angular 2

When I perform the request to retrieve the token it works, but when I send the grant type request refresh_token laravel can not decrypt the refresh token. Angular 2 let params = { client_id: this.params['client_id'], client_...
asked by 06.03.2017 / 13:31
0
answers

Laravel request class rules validate delete

In Laravel 5.3 is there any way to use rules of classes request to not leave a record of the bank that has a relationship being deleted? Similar to the rule that does not let a record be inserted duplicate.     
asked by 10.01.2017 / 19:32