Questions tagged as 'laravel-5'

1
answer

Docker Compose container in Nginx does not route correctly

I'm getting started on this Docker container and following a tutorial, I created a docker-compose.yml file to have a web application server based on Nginx , PHP7-fpm , MySQL and Laravel (all in their latest versions). It works but no...
asked by 19.03.2017 / 15:13
0
answers

The modal appears and then it is removed

I'm doing my app in Laravel 5.1 and I get the following problem, I'm trying to delete a user, by pressing the delete button I display a modal as a "warning" to know if I want to delete that user and resolved that when I click the button to remov...
asked by 28.09.2016 / 09:03
2
answers

Laravel views does not work Session: :( 'message'), nor the Auth :: user () -

I have a problem with Laravel 5.2. At the moment of authenticating the user and redirecting to the home or login depending, the messages that I create by Session::flash() do not appear and on the home page when I try to show the name o...
asked by 06.03.2016 / 19:08
1
answer

Referential integrity problems and how to restore migrations in Laravel 5

Hi, I had some referential integrity problems making a model. Basically I had an article with a category and tags For tags create another table that has the id of the article and the tag, since it may contain more than one. Here I had the fir...
asked by 15.09.2016 / 19:33
2
answers

How to consume a web service that returns a nameless jsonArray

I am working with android, I want to consume a web service that returns a jsonObject from laravel but the jsonobject has no name as I can receive it with the volley library and print it in a list. The route and the json is: http://localhost/S...
asked by 02.05.2018 / 03:19
2
answers

Problem with routes in Laravel

This is the content of the laravel routes file (web.php) Route::prefix('compra')->group(function () { Route::get('usuario', 'FrontControllerCompras@pideUsuario'); Route::post('consulta-usuario', 'FrontControllerCompras@consultaUsuar...
asked by 13.10.2017 / 16:35
1
answer

CSS Routes Laravel Template

I am following an example of Laravel exercise and I would like to know if I can transform this: <link rel="stylesheet" type="text/css" href="/css/bootstrap.min.css"> <link rel="stylesheet" type="text/css" href="/css/override.cs...
asked by 02.10.2017 / 09:58
3
answers

Migrate my database from mysql to laravel

I am new with Laravel and I am seeing if there is a way to pass the database that I have in mysql, to laravel to be able to work with them. I've already tried: Modify the .env. Modify config/database.php . But what I find is th...
asked by 18.11.2016 / 16:55
3
answers

Insert CSS elements when sending an email using laravel 5.6

Hello good morning companions, my doubt is that as I can send CSS styles by email, I have my images and CSS styles on a server but at the time of sending them, only the images appear and not the styles, somehow to do this? This is the body of t...
asked by 13.07.2018 / 21:36
1
answer

Validate cloned dynamic fields. Parsley and laravel 5.1

I have a form in which I can add, in my case, order lines. This is done with JQuery, cloning the entire line.  I use laravel 5.1 for the backend and for the client side I am occupying a JavaScript library of forms called parsley. At the time of...
asked by 19.10.2016 / 21:46