Questions tagged as 'laravel-5'

1
answer

MethodNotAllowedHttpException path without CSRF

I put a route in laravel which is called by a function in JS and I do not have control of it because it is external, this route is a post method since I need it to be that way but it generates a MethodNotAllowedHttpException as I do to exclude c...
asked by 01.03.2018 / 01:21
1
answer

View no found, laravel 5

Good evening. Friends I see an error in Laravel, I have drivers and routes linked correctly, from my Index view, in a tag: (<a href="/admin/agregar"</a>) That way I'm calling the view (add) that is inside the folder (admin). Thi...
asked by 16.12.2017 / 04:43
1
answer

How to return a compound array

I'm trying to put in a variable all the data I need to make a table, I mean, I have a database with a table of equipment, a table area, and a classification table, I need an area marked with an X the months in which the equipment carries mainten...
asked by 27.03.2018 / 17:52
1
answer

Laravel 5, DB :: raw, date format?

DB::raw("(SELECT TO_CHAR(CT_CONTRATO_SERVICIO_ESTADO.D_FECHA,'dd/mm/yyyy') FROM ct_contrato_servicio_estado WHERE N_ID_CONTRATO_SERVICIO = ct_contrato_servicio.n_id ORDER BY CT_CONTRATO_SERVICIO_ES...
asked by 04.06.2018 / 18:28
2
answers

Laravel PDF Bootstrap

I've been trying for a couple of days to generate a code html plus css helping me bootstrap to make a consolidated facutra that looks like a company but I'm not capable. I found and found that with Barrydvh in L...
asked by 27.09.2017 / 10:16
1
answer

related tables and change data in laravel view

I have three tables: Schema::create('comp', function (Blueprint $table) { $table->increments('id'); $table->string('nombre'); $table->string('direccion'); $table->string('n_com'); $table->...
asked by 06.10.2017 / 20:41
1
answer

Enable POST method in Laravel Folklore \ GraphQL or enable GET method in react-apollo

I'm trying to connect React with Folklore \ GraphQL from Laravel. In ReactJS I have the following code in index.js : import React from 'react'; import ReactDOM from 'react-dom'; import registerServiceWorker from './registerServiceWork...
asked by 08.10.2017 / 22:33
2
answers

I can not log in with manual authentication of laravel 5.4

<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use Illuminate\Foundation\Auth\AuthenticatesUsers; use Illuminate\Support\Facades\Redirect; use Illuminate\Support\Facades\Auth; use Illuminate\Http\Request; cla...
asked by 30.08.2017 / 00:46
1
answer

I update all pivot records

In Laravel 5.4 I'm trying to save the contents of an N: M relationship in a pivot, the problem I have is that it updates all the records that are related to that id, it's like I did an update with the where of the id of the student. The code:...
asked by 25.08.2017 / 17:17
1
answer

Error migrating in Laravel 5.3

I get this error when wanting to migrate the tables that Laravel gives us by default. I'm occupying Linux; [Illuminate\Database\QueryException] could not find driver (SQL: select * from informat...
asked by 22.12.2016 / 23:42