Questions tagged as 'laravel'

1
answer

How to solve this error 'Undefined variable' when accessing a view in laravel 5.1?

My problem is this: I uploaded the data to the view banner, which is included in the view main, which in turn is expanded in the home view, is working well. But when I try to access another view (view create-lemma) in which the view main is a...
asked by 10.10.2017 / 02:30
1
answer

I can not connect the vuejs in Laravel

See page: <!doctype html> <html lang="{{ app()->getLocale() }}"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content=...
asked by 12.10.2017 / 20:05
1
answer

Keep data already filled in the form

When I bring in the form for the user to fill in, I need that if the data already exists in the database, it will bring me the completed form with the possibility of the user "editing", but always creating a new record and not changing the alrea...
asked by 28.09.2017 / 00:04
1
answer

Why does DELETE give error?

I have the following function in jquery that gives the delete in the registry. It even deletes the record but does not go to success , it goes to error . Why? function deletar_cliente(id_cliente) { var mensagem_sucesso = "";...
asked by 04.10.2017 / 22:49
1
answer

Create id field with CheckBox DataTable Jquery

I have the following datatable: function retorna_cliente() { $(".mostra_clientes .table").dataTable({ "bDestroy": true }).fnDestroy(); $('.mostra_clientes .table').DataTable({ "pageLength": 4, "ajax": { "ur...
asked by 06.10.2017 / 20:08
4
answers

How to load a project in Laravel in an old version?

I have a project made in Laravel Framework 5.4 and recently Laravel made an update to 5.5, when I moved my project to another computer, Laravel 5.5 was installed on that PC, now I can not work on this project. When giving the command php ar...
asked by 11.10.2017 / 15:08
1
answer

In this Laravel Validator, what is the correct code with variable?

In this Validator of Laravel , what is the right code with variable? public function salvar() { $n =Request::input('campos'); for($i=1; $i < $n; $i++){ $pontosa =Request::input('pontosa'.$i); $pontosb =Request:...
asked by 27.09.2017 / 20:03
3
answers

I can not pass Methods as Parameter in PHP [duplicate]

I have the following code <?php namespace App\Http\Controllers; use Illuminate\Http\Request; class DatesController extends Controller { //Função que calcula o inicio e o fim da semana a partir do dia public static function get...
asked by 09.10.2017 / 17:28
1
answer

Laravel with error in no composer install

I moved the laravel to the ratification server and when I rolled the composer install, I had this problem. Has anyone ever had anything like this? on my machine that runs under the vagrant smooth wheel. The environment is laravel 5.4, redhat...
asked by 12.09.2017 / 20:00
1
answer

Verify that you are authenticated

I have the authenticate function that verifies that the email and password entered match those of the users table. The code is working, but after verifying that email and password check, I redirect to the logged in view. So far so good. But...
asked by 03.10.2017 / 23:29