Questions tagged as 'laravel-5'

1
answer

Auth :: id () using ajax returns null Laravel 5.5

It happens that I am showing a content in a datatable and making the relevant settings so that only the content of the logged in user is shown to me, so I use a method in my controller that returns the records associated to the user that is logg...
asked by 06.09.2018 / 15:27
0
answers

Input that depends on the LARAVEL select

Good I'm trying to get data from a select, for example image we have a select that has the classic of products, such as name, description, price, etc .... The case is that I get that select with the pluck but how could for example when select...
asked by 12.09.2018 / 22:33
1
answer

You see images in the list of a form

As I show in the image of an example that I saw, I want to show an attached image when using a drop-down. This is my table: Schema::create('fotos', function (Blueprint $table){ $table->increments('id'); $table->s...
asked by 05.10.2018 / 10:48
0
answers

Change path of the Vendor folder (of notifications) in laravel

I am working with the personalization of the email to reset the password with Auth de laravel, with the following command: php artisan vendor: publish --tag = laravel-notifications the vendor folder is saved in the following path: resources / vi...
asked by 22.10.2018 / 21:35
1
answer

HTTP Error 500.19 - Internal Server Error / WINDOWS SERVER 2016

I bought a vps server to host a script developed with laravel, I had never used a VPS and when I uploaded the project and tried to open it I threw the following error: HTTP Error 500.19 - Internal Server Error The requested page cannot be acce...
asked by 19.08.2018 / 03:20
1
answer

Help with laravel pager

Good evening to the whole community, I have the following problem with the laravel pager, I am doing a query by means of a controller to a database on sql server, the query is as follows: $ data = VistaAHUMA00017 :: whereBetween ('DateDate',...
asked by 05.09.2018 / 02:41
2
answers

Get data from an array with facade DB in laravel 5.5

Dear, I have the following query made with laravel $datos = DB::table('mandato') ->join('compromiso_pago','mandato.CP_IdCompromisoPago','=','compromiso_pago.IdCompromisoPago') ->join('unidad_recaudadora','compromiso_pago.UR_IdUnidadRecau...
asked by 06.09.2018 / 00:07
0
answers

How to install laravel 5.6 in a subdirectory? [closed]

I need to install laravel in a subfolder having the following structure. Route: http://dominio/subcarpeta/ So I have the following folder structure: private_part_of_laravel public_html |__parte_publica_de_laravel and configure the...
asked by 06.08.2018 / 12:55
0
answers

Problems printing a PDF on 000webhost

You see, I've already got my Laravel project to work on a web server, which is at 000webhost. Now I have a new problem, which I need to print PDF documents: For starters, I have a table Game with these values: Schema::create('juegos', function...
asked by 08.08.2018 / 16:09
0
answers

Use and redirect with laravel 5.6 middleware

Good morning, I have been using laravel 5.6 and I have just applied several middleware to my project in order to protect the routes, in the access to the different user roles, but when making the login it keeps redirecting me to 'home'. That'...
asked by 17.05.2018 / 15:53