Questions tagged as 'laravel-5'

2
answers

ErrorException Array to string conversion - Error sending an array to a url

I'm trying to send some data to an API service that I am consuming the service route type resource and I send data to that route. I get the following error: (1/1) ErrorException Array to string conversion in beneficiosController.php (l...
asked by 02.08.2017 / 19:31
1
answer

Validation for file upload does not work in Laravel 5.0

In my app in Laravel 5.0 I have a section (One of many) to upload documents that I want limited to only pdf, doc or docx and have a maximum weight of 5MB. In my form I have two inputs of the date type and my input of the file type. If I do not p...
asked by 19.07.2017 / 19:06
1
answer

Problem with Login and Routas Laravel 5.4

I am authenticating a user with ADLDAP using the package: link The authentication works correctly, at least I think so, the problem that is giving me is that once logged in, when I click on a menu button, it sends me directly to the login a...
asked by 14.08.2017 / 13:19
0
answers

How can I send an email with php and laravel 5.4?

Good afternoon colleagues, I find myself making a form to send emails, the detail that I have is that when I send the email, if I am in my localhost if I send the email successfully, when uploading it to a server it throws me an error and theref...
asked by 26.07.2017 / 00:13
1
answer

Scope ajax does not work laravel 5.4

It turns out that the query scope does not work, I'm using ajax to capture the data, the following happens to me when in the controller I load the pager, the table shows me the records $dataInsumo = Insumo::orderBy('descripcionIn...
asked by 12.07.2017 / 03:46
2
answers

Check that there is a request in a route post

I have a form on the localhost page: 8000 / package that is sent to the url localhost: 8000 / book using the post method, everything works perfect, but if in the address bar I type localhost: 8000 / book and I give enter throws me the following...
asked by 23.06.2017 / 18:38
1
answer

Error trying to install elibyy / tcpdf-laravel by composer

I want to install the tcpdf-laravel package, for them I execute the command composer require elibyy/tcpdf-laravel this throws me the following error: NOTE: What appears before executing the command is to run composer up...
asked by 22.06.2017 / 21:43
0
answers

Trying to get property of non-object - Middleware - laravel 5.4

Dear, I have a project in Laravel 5.4 and I have 3 types of users (Administrator, staff and client) With the Administrator I have no problems, but when I assign some methods of some controllers to the personnel middleware and try to access them,...
asked by 22.06.2017 / 22:38
1
answer

Trait 'Illuminate \ Console \ AppNamespaceDetectorTrait' not found Laravel 5.3 to 5.4

I used adminlte 3 with laravel 5.3 update laravel to 5.4 and I get this error when trying to enter the system: Trait 'Illuminate\Console\AppNamespaceDetectorTrait' not found .     
asked by 23.06.2017 / 06:19
2
answers

Error executing a query. I need to show how many alarms per operator

This is my code: public function alarmaAtendidaO() { $data = \DB::select('SELECT operadors.nombre AS Nombre, operadors.apellido AS Apellido, (SELECT COUNT(ala.id) FROM alarmas ala INNER JOIN operadors op ON op.id = ala...
asked by 21.06.2017 / 21:05