Questions tagged as 'laravel-5'

1
answer

Because I can not see a part of the web page after a domain redirection

I work with a school platform with laravel. But there is a part of the page where I should be able to assign teachers to groups and I no longer appear. I already checked the code and it seems fine. The error started from when I redirected the ro...
asked by 02.10.2017 / 19:05
1
answer

Datatbles js does not detect the displayed data

At the moment of wanting to initialize a table of Datatable js without ajax I can not show the data that the view already showed, I put the following example code <table id="products-table" class="table table-bordered table-striped table-ho...
asked by 18.09.2017 / 19:27
2
answers

Laravel | Id generated automatically

I am doing a news system and I want my url in the following way: http://web.com/noticias/{id_generado}/ The {id_generado} is an id that I generate using the str_random(10) function. The problem of the matter is: What happen...
asked by 08.09.2017 / 01:00
0
answers

How can I implement three recaptcha on an index.php page?

I am having problems when loading three recaptcha in the same file index.blade.php where there are three different forms, these in turn require validation with recaptcha, but it happens that when loading the first one the next two stop work....
asked by 08.09.2017 / 16:48
1
answer

Many-to-many relationship in laravel 5.4

I am doing the assignment of Teachers - Degrees, that is to say I have a Teaching model and a Grade model and their relationship is of many to many so when it comes to making the migration creates a pivot teacher_graduate table. According to I u...
asked by 25.08.2017 / 04:11
0
answers

Does not recognize Requests in Laravel 5.5 project [closed]

I have the following methods in a controller: public function edit2($id) { $post = Post::find($id); $this->authorize('pass', $post); $categories = Category::orderBy('name', 'ASC')->pluck('name', 'id'); $tags...
asked by 24.04.2018 / 03:01
3
answers

error when sending array to vista laravel

I have an error and look for several ways to send the array and in the same error mark me when sending the array view. I'm sending a parameter to the method putEdit ($ id) and this should make me a query to the database and return it to the edit...
asked by 24.08.2017 / 01:54
2
answers

How do I duplicate the records of a table, modifying the data of a column?

I explain: I have a parts table with the fields id, name, dad_id, team_id, status . I capture the data of the parts of the team that I want to copy: $datos_partes = Partes::select(array('nombre', 'id_equipos', 'id_padre', 'status'))...
asked by 10.08.2017 / 11:27
0
answers

A file (input file) field appears without having added it, in laravel 5.4

I am developing a project in Laravel 5.4 , after adding Laravel Excel in the online site (server on-line) a field appears input-file , but in local (server development) this field does not appear. Welcome view (default la...
asked by 11.07.2017 / 15:32
1
answer

What does the point on a laravel route mean?

For example, in this code I see that route is like this: "pedidos3.create" {!!Form::open(['route'=>'pedidos3.create','method'=>'GET','class'=>'form-horizontal form-label-left input_mask','name'=>'sumar']) !!} but the route is on...
asked by 16.07.2017 / 19:29