I'm doing a migration. This way php artisan migrate: fresh --seed Could you help me, please?
I get the following error:
InvalidArgumentException : Start date must be anterior to end date.
at C:\miapp\vendor\fzaninotto\faker\src\F...
At the end I put the script of what I want to execute, but it does not send me an error or something.
My index.blade.php :
@extends('adminlte::page')
@section('title', 'AdminLTE')
@section('content')
<section class="con...
According to what I have read, I have a security problem with the token.
I try placing this:
$.ajaxSetup({
headers: {
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
}
});
In my header I find this:
<!--...
I hope you can help me.
I have this query in laravel
$poa = DB::table('poa_formatos')
->join('entities', 'poa_formatos.entity_id', '=', 'entities.id')
->join('acciones_especificas', 'acciones_especifica...
I have 4 tables that relate to each other in my database in PhpMyAdmin; I'm doing a php site with Laravel with Blade. And it turns out that I want to show some fields that in themselves have no relation with a main table that I have, but with ot...
I have this code that was working correctly for me, which basically is a call to an api with a user and a password, to get a TOKEN:
$client1 = new Client(['cookies' => true]);
$headers1 = array('Content-Type: application/x-www-form-URLencod...
Hi, I have the following code with carbon where I want to get an array with the start time until the final hour every 30 min. It does not work for me Any suggestions.
$inicio = $horario[0]->end_date; // 08:00:00
$fin...
Route::get('aspirante','AspiranteController');
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Contracts\Validation\Validator;
class AspiranteController extends Controller
{
public function i...
I am trying to send an email with an attachment when a record is created.
This attachment is in the public directory of the project (public / registers_img)
public function build()
{
$this->subject('Correo de notificación');
return...