Questions tagged as 'laravel'

1
answer

Laravel 5.6: When I upload an image, it saves a path but not an image

When I upload an image, it perfectly keeps the image's path in the database, whose field is "image", but it does not save the image as such in the public folder as specified in the code. In the create view of my project I use Form, so I read...
asked by 02.07.2018 / 02:47
1
answer

Put variables in plain text

Hello good afternoon, sorry, I can put a Laravel variable of some model in a plain text, for example: $mensaje->cuerpomensaje has this message by default Hola [usuario] te damos la bienvenida. How can I do so that in the [usuario...
asked by 27.06.2018 / 00:34
0
answers

Problems with datatable when displaying data

function vistas_due_listasedes(Request $request) { $estable = $request->get('estable'); $anio = $request->get('anio_corte'); $mes = $request->get('mes_corte'); $sedes = HistoricoSede::select(...
asked by 27.06.2018 / 16:48
0
answers

Error compiling reflect-metadata

I try to compile an application on android and I get this message:    Error: can not find module 'reflect-metadata' In other forums I found that you have to add the metadata in the package.json but not specifically where     
asked by 05.07.2018 / 20:00
0
answers

The page you are looking for can not be displayed (Error 405 Method PUT AND PATCH) Azure

Hello guys who can help I have a service in azure and I have an application made in laravel, it turns out that I have problems with the data updates stored in the database when updating any data inserted I get this error The page you are lookin...
asked by 23.06.2018 / 13:13
1
answer

How to relate from many to many in Eloquent (Laravel)

I am using MySQL as a database and Eloquent as ORM. I have been creating a page that is of food or dishes, in which I already have related the meals with the chef that prepare it, so I have them : Table foods (meals) publi...
asked by 16.07.2018 / 21:55
0
answers

API route does not work after adding middleware

500 server error:    POST link 500 (Internal Server Error) The route and the controller work perfectly without middleware (although this is without extra logic) Route::post('sessiondata2', 'sessionController@consularSessionYActividad'...
asked by 21.06.2018 / 16:29
0
answers

How to handle form data in Laravel

I am new using Laravel and I need help to understand better and in a simple way how to handle data from Laravel forms, for example load, modify, consult and edit data using GET and POST methods, if you had a simple example of a project in Larave...
asked by 22.06.2018 / 23:22
1
answer

Error uploading to local hosting.ERROR: Can not end to section without first starting one

Dear I am trying to upload my app from laravel to a hosting with cpanel, but when verifying that the page is displayed correctly I get an error internal server 500, when reviewing the host's log it tells me the next thing local.ERROR: Can not en...
asked by 20.06.2018 / 20:42
0
answers

Foreach de Laravel at JS, Google Charts

Hello, I need help with a foreach inside code js, I try to list from my database but I can not make it work. <script type="text/javascript"> google.charts.load('current', {'packages':['corechart']}); google.charts.setOnLoadCallback(drawC...
asked by 04.07.2018 / 00:21