Questions tagged as 'laravel-5.7'

0
answers

preview a document in laravel

I have a list of files that is in the Mysql database, it is shown as a list and it gives me the names of the files that are in it, for example my view that is a table with the list of all the documents. or txt or pdf or png or jpg that can be up...
asked by 05.12.2018 / 20:01
0
answers

my javascript does not work but it does not throw any errors either

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...
asked by 01.12.2018 / 20:53
0
answers

Error 419 (unknown status) in POST request with Ajax

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: <!--...
asked by 02.12.2018 / 00:31
0
answers

How can I download a full page from php

Someone knows how I could download an external page to mine through its url and save it in a specific directory. I express myself better, what I want to achieve is to do the same function that the browser performs when we are on a page and we gi...
asked by 28.11.2018 / 07:14
0
answers

Doubt of routes when uploading laravel to hosting

Good morning I have a problem of routes, in localhost it works perfect but when uploading it to the hosting it gives me error for example I have tried to change 'public/images/' for asset('images/') or for 'images/' or for...
asked by 11.11.2018 / 18:56
1
answer

Search engine Ajax Laravel

I have a query, how could I implement an ajax method so that the search engine will bring the data in the ID that is given to it (it should be noted that the one that brings the data and the search engine are on the same page, the view that load...
asked by 08.11.2018 / 01:08
1
answer

DataTables warning: table id = table - Ajax error. (Have you solved this?)

I really do not understand why this error occurs and if I load the data someone who can explain to me     
asked by 26.11.2018 / 03:04
0
answers

Do not work popup menu in Bootstrap 4 in Laravel

I'm trying to make a drop-down menu to change the language of the application but I have not succeeded. In this file app.blade.php cargo Bootstrap, jquery and the drop-down menu. <!DOCTYPE html> <html lang="{{ str_replace('_...
asked by 29.10.2018 / 19:51
0
answers

Display a pdf hosted in a blob field

In my MySQL database I have a table where it hosts a pdf file in a blob field (not the file path!). I need to show or preview as in google the pdf in a blade view through a link or button (do not download!). thank you very much!     
asked by 24.10.2018 / 14:07
1
answer

Generate consecutive number of 10 digits as 0000000001 and auto-join with Laravel?

My question is how I can get a consecutive from 0000000001 and go autoincrementando, as it would normally be without additional zeros.     
asked by 11.12.2018 / 15:48