Questions tagged as 'laravel'

1
answer

Go from variable to modal

In my view I have a foreach to bring all the results of a query. And two buttons one to open a page related to its id and another button that opens the id in a modal. The first button works well since when you print each foreach the path to the...
asked by 01.12.2016 / 18:23
1
answer

Laravel and Jquery: Help with error NotFoundHttpException in RouteCollection.php line 161:

I am using this jquery plugin, jQuery Plugin For Editable Table Rows - Table Edits , to make editable tables in an application made in Laravel but I have the following problem: When I want to send the data of the record that I want to edit thro...
asked by 29.11.2016 / 21:25
1
answer

Socialite with facebook error when logging in after registering

I was using Socialite for Laravel and I always get an error after trying to log in the newly registered user. If I update the page and I want to log it, it works perfectly. But it fails to register and then log in automatically. User.ph...
asked by 19.11.2016 / 21:16
3
answers

Using Faker in Laravel 5

I have a problem using Faker to migrate data to my table. I want to import 50 fakes names and countrys to my table. When I execute the db:seed command, it does not do a% co_of% of anything. Property model <?php name...
asked by 17.11.2016 / 22:59
3
answers

Bring a value of a model to my view laravel

I am sending from my controller name,app,tlf,cel,fechadeingreso all this goes in my variable $clients . In my view it shows well, now I want to calculate the time that has elapsed since the date that client was entered, for this I c...
asked by 18.10.2016 / 16:40
1
answer

Problem with Input :: Old select laravel

I'm doing a registry, and I have a problem that when validating the selects, if an error occurs and returns to the registration page, I do not have the value when I use a ng-repeat. This case where I have 2 options within the select if it wor...
asked by 24.10.2016 / 22:30
1
answer

Register events in Laravel without using EventServiceProvider

I am developing an application in laravel organized in Modules. Each module has a ServiceProvider that instead of extending from ServiceProvider they extend from a class of their own that adds certain functionality. The problem...
asked by 03.10.2016 / 10:14
1
answer

Validations of the Request type in Laravel

I have a question and I want to know if it can be resolved with the Request validation method. I have a table called condando and another that is called locality. In laravel I am creating a view where once the condando is chosen with a dro...
asked by 13.10.2016 / 19:59
1
answer

htmlentities () expects parameter 1 to be string, given array

This is my first post and I hope you help me and be able to help many of you in the same way. As you saw in the title, it generates that error, and that happens to me now that I'm learning Laravel 5.1 This is the error    htmlentities () e...
asked by 20.09.2016 / 05:41
2
answers

Prevent that when reloading a page recreate the same record

How do I avoid reloading the page to which a user is redirected after adding a record in laravel 5.3, to recreate the same record? the idea is that it does not do it, but in case the user refreshes the screen for some reason the same record is n...
asked by 04.11.2016 / 06:12