Questions tagged as 'laravel-5'

3
answers

Update related tables laravel

I have been looking at the documentation for a while and I think it is correct, however it does not work as it should, instead of updating me, it creates a record. The theme is as follows. I have a table with sellers and others with products,...
asked by 10.08.2017 / 19:49
2
answers

Laravel 5 - Redirect to HTTPS

Working on my first Laravel 5 project, I'm not sure where or how to translate the logic to force a redirect to the HTTPS protocol in my application. The key point here is that there are many domains pointing to my application and only two of thr...
asked by 02.12.2015 / 07:39
2
answers

Store the original name of an image that was sent in a form

You see, I'm creating a form to store the data of a plant, in which you have to capture an image. The code is this: @extends('layouts.app') @section('content') @Logged() @include('partials.errors') <div align="center" class="panel panel-de...
asked by 14.02.2018 / 21:46
2
answers

View of Laravel does not update changes

I'm doing a view, copied from another, and when I apply changes it does not change, I've put the new route in routes.php I've cleaned the cache, views, routes and settings, and even and rebooted the apache and nothing at all. What could be due...
asked by 02.08.2016 / 09:07
1
answer

I get an error when wanting to make the connection laravel 5.6 with Postgres and I get error

.env file DB_CONNECTION=pgsql DB_HOST=127.0.0.1 DB_PORT=5432 DB_DATABASE=p1 DB_USERNAME=postgres DB_PASSWORD=123456tuyyo file config / database.php 'default' => env('DB_CONNECTION', 'pgsql'), [     
asked by 05.09.2018 / 21:02
2
answers

PDF Generator Dompdf with css styles Bootstrap in Laravel 5.1

I have a problem with DomPDF and Bootstrap. I am using Laravel 5.1 as PHP framework and I added the DomPDF service. It worked very well with CSS styles created by me, but when I include the CSS styles of Bootstrap I get the following error:  ...
asked by 05.02.2016 / 15:24
1
answer

There is a cron in laravel

I would like to know if laravel has a library to perform tasks (in my case sending emails) every N amount of time?     
asked by 13.12.2016 / 01:20
1
answer

Problems uploading files in Laravel 5.5 project in a hosting

I am uploading a Laravel 5.5 project to the free 000webhost hosting. A user can upload images to a post, when I try it on the computer without uploading it to a hosting it works perfectly. The image is uploaded to the public / image folder of th...
asked by 12.04.2018 / 03:26
2
answers

Problems in validating unique values

You see, I have a table Game with the following parameters: Schema::create('juegos', function (Blueprint $table){ $table->increments('id'); $table->integer('numero')->unique(); $table->string('nombre'); $table->u...
asked by 12.07.2018 / 18:14
1
answer

Laravel empty and white page

I have a page in Laravel and the view by id was working but now I only get a blank page and it stops showing the title of the page and only says localhost: 8000 Why is this happening? This is the page that gives you click to appear by id:...
asked by 23.03.2018 / 08:18