Questions tagged as 'laravel'

0
answers

Why is the session closed in laravel?

I have a problem with the use of sessions in laravel. In Session.php in lifetime I put so that the session lasted 24 hours and worked well, what happens is that I added two div to be updated every second and now at any ti...
asked by 16.04.2017 / 00:50
1
answer

Laravel 5 Eloquent Model error

Hello Stackoverflow community, I have this error while I try to use query between models and relationships in Laravel 5.3: BadMethodCallException in Builder.php line 2450: Call to undefined method Illuminate \ Database \ Query \ Builder :: ad...
asked by 06.04.2017 / 22:11
2
answers

Table with DataTables and Editor does not work for me

I'm doing an inventory application of computer equipment in PHP with Laravel. At the moment I want to show a table with all the data about the models, but I can not find the solution. My index for this view is: <!DOCTYPE html> <htm...
asked by 24.04.2017 / 18:29
1
answer

How to pass a url on full calendar?

In my url variable I want to pass all the fields of a query last name paternal and maternal but in the navigation bar shows & "amp;" There will be a way to remove it I leave the code @section('javascript') <script> $(document)....
asked by 18.04.2017 / 21:39
0
answers

Solve error 502 Bad Gateway in NGINX

Good morning How can I solve the following error in NGINX    502 Bad Gateway The following appears in the logs:    [error] 15839 # 0: * 3615 recv () failed (104: Connection reset by peer)   while reading response header from upstr...
asked by 10.03.2017 / 22:57
2
answers

I can not include a form in laravel

I try to include a form external to my page with the following code and I do not get it. <?php include('resources/views/cuentas/clientes/form_natural.php'); ?> I get the following error:    ErrorException in e142493e739d809fa1fc8b9...
asked by 11.03.2017 / 06:31
1
answer

Seeding a Json in Laravel

Laravel 5.3 allows migrations with json $ table-> json ('links_normal'); But in the seed DB::table('courses')->insert([ 'name' => 'Curso Nuevo', "links_normales": { "Opcion 1": "xd", "Opcion...
asked by 08.03.2017 / 06:21
2
answers

Error using Laravel

I'm working on a project with Laravel and this function gives me an error. What I want to get is the name of the trainer who gives the course. <span class="title">{{ $course->owner->specialization->getName() }}</span> T...
asked by 23.02.2017 / 14:22
1
answer

Laravel authentication

I have a question which I could not solve throughout the day, it turns out that for my system (which is for a school) create a special login for teachers. When trying to login with professor I put email password all ok, but when I log in,...
asked by 21.02.2017 / 02:58
1
answer

how to make a simple view of a column in laravel?

good I am currently doing an application of a library in laravel in which I use a foreach to show the values of the books table in the following way: @foreach($libros as $libro) <img src="libreria/app/{{$libro->path}}" alt="" /> <...
asked by 28.01.2017 / 20:12